| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
link=Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| 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- |
|
| waitForTextPresent |
Submit question |
|
| click |
link=Submit question |
|
| waitForElementPresent |
QuestionTitle |
|
| type |
QuestionTitle |
Ques_SNF_KS_21 |
| type |
EmailAddress |
root@localhost.vn |
| waitForElementPresent |
//div[@id="AddQuestion"]//div[@class="UIAction"]//div[@class="ButtonMiddle"] |
|
| clickAt |
//div[@id="AddQuestion"]//div[@class="UIAction"]//div[@class="ButtonMiddle"] |
|
| 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']/div/div/div/div/div/div/div |
|
| mouseOver |
//div[@id='UIPage']/div/div/div/div/div/div/div |
|
| waitForElementPresent |
//div/div/div[2]/div/div/div/div/div/div/a[1] |
|
| click |
//div/div/div[2]/div/div/div/div/div/div/a[1] |
|
| waitForElementPresent |
enableVotComment |
|
| click |
enableVotComment |
|
| waitForElementPresent |
enableRSS |
|
| click |
enableRSS |
|
| waitForElementPresent |
enableViewAvatar |
|
| click |
enableViewAvatar |
|
| waitForElementPresent |
//form[@id='FAQPortletSetting']/div[3]/table/tbody/tr/td/div/div/div/div |
|
| click |
//form[@id='FAQPortletSetting']/div[3]/table/tbody/tr/td/div/div/div/div |
|
| waitForElementPresent |
UIAnswersPortlet |
|
| click |
//div[@id='UIAnswersPortlet']//div[@class='ExoMessageDecorator']//table[@class='ActionContainer']//div |
|
| waitForElementPresent |
//div[2]/table/tbody/tr/td/div[2]/div/div/div |
|
| click |
//div[2]/table/tbody/tr/td/div[2]/div/div/div |
|
| waitForElementPresent |
//div[@id='UIPageEditor']/div[1]/div/div/div/a[2] |
|
| click |
//div[@id='UIPageEditor']/div[1]/div/div/div/a[2] |
|
| 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 |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| 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 |
|
| waitForTextNotPresent |
RSS |
|
| verifyTextNotPresent |
RSS |
|
| waitForElementNotPresent |
//table//div[@class='Comment'] |
|
| verifyElementNotPresent |
//table//div[@class='Comment'] |
|
| waitForElementNotPresent |
//table//img[@class='FAQAvatar'] |
|
| verifyElementNotPresent |
//table//img[@class='FAQAvatar'] |
|
| waitForElementNotPresent |
//table//div[@class='RatedVote'] |
|
| verifyElementNotPresent |
//table//div[@class='RatedVote'] |
|
| 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 |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/ksdemo/private/classic/answers |
|
| echo |
-Disable RSS Comment Avatar- |
|
| waitForElementPresent |
link=Edit Page |
|
| click |
link=Edit Page |
|
| waitForElementPresent |
//div[@id='UIPage']/div/div/div/div/div/div/div |
|
| mouseOver |
//div[@id='UIPage']/div/div/div/div/div/div/div |
|
| waitForElementPresent |
//div/div/div[2]/div/div/div/div/div/div/a[1] |
|
| click |
//div/div/div[2]/div/div/div/div/div/div/a[1] |
|
| waitForElementPresent |
enableVotComment |
|
| click |
enableVotComment |
|
| waitForElementPresent |
enableRSS |
|
| click |
enableRSS |
|
| waitForElementPresent |
enableViewAvatar |
|
| click |
enableViewAvatar |
|
| waitForElementPresent |
//form[@id='FAQPortletSetting']/div[3]/table/tbody/tr/td/div/div/div/div |
|
| click |
//form[@id='FAQPortletSetting']/div[3]/table/tbody/tr/td/div/div/div/div |
|
| waitForElementPresent |
UIAnswersPortlet |
|
| click |
//div[@id='UIAnswersPortlet']//div[@class='ExoMessageDecorator']//table[@class='ActionContainer']//div |
|
| waitForElementPresent |
//div[2]/table/tbody/tr/td/div[2]/div/div/div |
|
| click |
//div[2]/table/tbody/tr/td/div[2]/div/div/div |
|
| waitForElementPresent |
//div[@id='UIPageEditor']/div[1]/div/div/div/a[2] |
|
| click |
//div[@id='UIPageEditor']/div[1]/div/div/div/a[2] |
|
| 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 |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| 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 |
|
| waitForElementPresent |
//table//div[@class='Comment'] |
|
| verifyElementPresent |
//table//div[@class='Comment'] |
|
| waitForElementPresent |
//table//img[@class='FAQAvatar'] |
|
| verifyElementPresent |
//table//img[@class='FAQAvatar'] |
|
| waitForElementPresent |
//table//div[@class='RatedVote'] |
|
| verifyElementPresent |
//table//div[@class='RatedVote'] |
|
| waitForTextPresent |
RSS |
|
| verifyTextPresent |
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 |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| open |
/ksdemo/private/classic/answers |
|
| waitForElementPresent |
link=Ques_SNF_KS_21 |
|
| click |
link=Ques_SNF_KS_21 |
|
| waitForElementPresent |
//div[@class='DecoratorMC']//table[@class='DisablePrint']//td[4]/a |
|
| click |
//div[@class='DecoratorMC']//table[@class='DisablePrint']//td[4]/a |
|
| waitForElementPresent |
//form[@id='UIDeleteQuestion']//table[@class='ActionContainer']//div |
|
| click |
//form[@id='UIDeleteQuestion']//table[@class='ActionContainer']//div |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| waitForTextPresent |
Sign in |
|