| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| echo |
-Show/hide Category- |
|
| open |
/ksdemo/private/classic/answers |
|
| waitForElementPresent |
FAQCustomView |
|
| click |
FAQCustomView |
|
| waitForTextNotPresent |
Categories |
|
| verifyTextNotPresent |
Categories |
|
| click |
FAQCustomView |
|
| waitForTextPresent |
Categories |
|
| verifyTextPresent |
Categories |
|
| echo |
-Add Question for Setting test- |
|
| waitForElementPresent |
//div[@id='UIQuestions']//a[text()='Submit Question'] |
|
| click |
//div[@id='UIQuestions']//a[text()='Submit Question'] |
|
| waitForElementPresent |
QuestionTitle |
|
| type |
QuestionTitle |
Ques_SNF_KS_21 |
| type |
EmailAddress |
root@localhost.vn |
| waitForElementPresent |
//form[@id="UIQuestionForm"]//a[text()='Save'] |
|
| clickAt |
//form[@id="UIQuestionForm"]//a[text()='Save'] |
1,1 |
| waitForElementPresent |
//div[@id='UIAnswersPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIAnswersPortlet']//a[text()='OK'] |
|
| waitForTextPresent |
Ques_SNF_KS_21 |
|
| verifyTextPresent |
Ques_SNF_KS_21 |
|
| echo |
-Disable RSS Comment Avatar- |
|
| waitForElementPresent |
link=Edit Page |
|
| click |
link=Edit Page |
|
| waitForElementPresent |
//div[@id='UIPage'] |
|
| mouseOver |
//div[@id='UIPage'] |
|
| waitForElementPresent |
//div[@id='UIPage']//a[@title='Edit Portlet'] |
|
| click |
//div[@id='UIPage']//a[@title='Edit Portlet'] |
|
| waitForElementPresent |
enableVotComment |
|
| click |
enableVotComment |
|
| waitForElementPresent |
enableRSS |
|
| click |
enableRSS |
|
| waitForElementPresent |
enableViewAvatar |
|
| click |
enableViewAvatar |
|
| waitForElementPresent |
//form[@id='FAQPortletSetting']//a[text()='Save'] |
|
| click |
//form[@id='FAQPortletSetting']//a[text()='Save'] |
|
| waitForElementPresent |
UIAnswersPortlet |
|
| waitForElementPresent |
//div[@id='UIPortalApplication']//a[text()='OK'] |
|
| click |
//div[@id='UIPortalApplication']//a[text()='OK'] |
|
| waitForElementPresent |
//div[@id='UIMaskWorkspace']//a[@id='Close'] |
|
| click |
//div[@id='UIMaskWorkspace']//a[@id='Close'] |
|
| echo |
- Save Portlet |
|
| waitForElementPresent |
//div[@id='UIPageEditor']//a[@title='Finish'] |
|
| click |
//div[@id='UIPageEditor']//a[@title='Finish'] |
|
| echo |
-Check Disable Settings- |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/answers |
|
| waitForTextPresent |
Ques_SNF_KS_21 |
|
| verifyTextPresent |
Ques_SNF_KS_21 |
|
| waitForElementPresent |
link=Ques_SNF_KS_21 |
|
| click |
link=Ques_SNF_KS_21 |
|
| echo |
- Check items aren't displayed: Avatar, Rate, RSS, Comment |
|
| waitForElementNotPresent |
//div[@class='ActionButton LightBlueStyle']//a[text()='Comment'] |
|
| verifyElementNotPresent |
//div[@class='ActionButton LightBlueStyle']//a[text()='Comment'] |
|
| waitForElementNotPresent |
//img[@alt='Avatar'] |
|
| verifyElementNotPresent |
//img[@alt='Avatar'] |
|
| waitForElementNotPresent |
//div[@class='RatedVote'] |
|
| verifyElementNotPresent |
//div[@class='RatedVote'] |
|
| waitForTextNotPresent |
//div[@id='UIQuestions']//a[text()='RSS'] |
|
| verifyTextNotPresent |
//div[@id='UIQuestions']//a[text()='RSS'] |
|
| waitForElementPresent |
link=Sign out |
|
| click |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/answers |
|
| echo |
-Disable RSS Comment Avatar- |
|
| waitForElementPresent |
link=Edit Page |
|
| click |
link=Edit Page |
|
| waitForElementPresent |
//div[@id='UIPage'] |
|
| mouseOver |
//div[@id='UIPage'] |
|
| waitForElementPresent |
//div[@id='UIPage']//a[@title='Edit Portlet'] |
|
| click |
//div[@id='UIPage']//a[@title='Edit Portlet'] |
|
| waitForElementPresent |
enableVotComment |
|
| click |
enableVotComment |
|
| waitForElementPresent |
enableRSS |
|
| click |
enableRSS |
|
| waitForElementPresent |
enableViewAvatar |
|
| click |
enableViewAvatar |
|
| waitForElementPresent |
//form[@id='FAQPortletSetting']//a[text()='Save'] |
|
| click |
//form[@id='FAQPortletSetting']//a[text()='Save'] |
|
| waitForElementPresent |
UIAnswersPortlet |
|
| waitForElementPresent |
//div[@id='UIPortalApplication']//a[text()='OK'] |
|
| click |
//div[@id='UIPortalApplication']//a[text()='OK'] |
|
| waitForElementPresent |
//div[@id='UIMaskWorkspace']//a[@id='Close'] |
|
| click |
//div[@id='UIMaskWorkspace']//a[@id='Close'] |
|
| echo |
- Save Portlet |
|
| waitForElementPresent |
//div[@id='UIPageEditor']//a[@title='Finish'] |
|
| click |
//div[@id='UIPageEditor']//a[@title='Finish'] |
|
| waitForElementPresent |
link=Sign out |
|
| click |
link=Sign out |
|
| echo |
-Check Enable Settings- |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/answers |
|
| waitForTextPresent |
Ques_SNF_KS_21 |
|
| verifyTextPresent |
Ques_SNF_KS_21 |
|
| waitForElementPresent |
link=Ques_SNF_KS_21 |
|
| click |
link=Ques_SNF_KS_21 |
|
| echo |
- Check displaying of: Avatar, Rate, RSS, Comment |
|
| waitForElementPresent |
//a[text()='Answer']/following::a[text()='Comment'] |
|
| verifyElementPresent |
//a[text()='Answer']/following::a[text()='Comment'] |
|
| waitForElementPresent |
//img[@alt='Avatar'] |
|
| verifyElementPresent |
//img[@alt='Avatar'] |
|
| waitForElementPresent |
//div[@class='RatedVote'] |
|
| verifyElementPresent |
//div[@class='RatedVote'] |
|
| waitForElementPresent |
//div[@id='UIQuestions']//a[text()='RSS'] |
|
| verifyElementPresent |
//div[@id='UIQuestions']//a[text()='RSS'] |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-Detele Test Data- |
|
| open |
/ksdemo/public/classic/ |
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| open |
/ksdemo/private/classic/answers |
|
| waitForElementPresent |
link=Ques_SNF_KS_21 |
|
| click |
link=Ques_SNF_KS_21 |
|
| waitForElementPresent |
//div[@id='AnswersViewContent']//a[@title='Delete'] |
|
| click |
//div[@id='AnswersViewContent']//a[@title='Delete'] |
|
| waitForElementPresent |
//form[@id='UIDeleteQuestion']//a[text()='OK'] |
|
| click |
//form[@id='UIDeleteQuestion']//a[text()='OK'] |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|