| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[2]/div[2]/div[1]/div/div/div[1] |
|
| click |
//div[2]/div[2]/div[1]/div/div/div[1] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div[@class='ButtonMiddle']/a |
|
| echo |
-Edit Category allowing to view user profile- |
|
| open |
/portal/private/intranet/answers |
|
| waitForElementPresent |
FAQCategroManager |
|
| click |
//div[@onclick="eXo.faq.UIAnswersPortlet.viewTitle('FAQCategroManager');"] |
|
| waitForElementPresent |
//div[@id='FAQCategroManager']//div[@class='MenuItem'] |
|
| clickAt |
//div[@id='FAQCategroManager']//div[@class='MenuItem'] |
|
| waitForElementPresent |
ViewAuthorInfor |
|
| click |
ViewAuthorInfor |
|
| waitForElementPresent |
//form[@id='UICategoryForm']//table[@class='ActionContainer']//div[@class='ActionButton LightBlueStyle'] |
|
| click |
//form[@id='UICategoryForm']//table[@class='ActionContainer']//div[@class='ActionButton LightBlueStyle'] |
|
| echo |
-Add question which contains profile to view- |
|
| waitForElementPresent |
link=Submit question |
|
| click |
link=Submit question |
|
| waitForElementPresent |
QuestionTitle |
|
| type |
QuestionTitle |
Question for View Profile |
| pause |
1000 |
|
| selectFrame |
//iframe[@id='Question___Frame'] |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
English Description |
| selectFrame |
relative=top |
|
| 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'] |
|
| echo |
-View user profile- |
|
| waitForElementPresent |
link=Question for View Profile |
|
| click |
link=Question for View Profile |
|
| waitForElementPresent |
//div[@class='FAQContent']//div[@class='ProfileContainer']//a |
|
| verifyElementPresent |
//div[@class='FAQContent']//div[@class='ProfileContainer']//a |
|
| waitForElementPresent |
//div[@class='FAQContent']//div[@class='ProfileContainer']//a |
|
| click |
//div[@class='FAQContent']//div[@class='ProfileContainer']//a |
|
| waitForTextPresent |
User Profile |
|
| verifyTextPresent |
User Profile |
|
| waitForElementPresent |
UIViewUserProfile |
|
| click |
//form[@id='UIViewUserProfile']/div[3]/table/tbody/tr/td/div/div/div/div/a |
|
| echo |
-Delete Question- |
|
| 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 |
|
| waitForTextNotPresent |
Question for View Profile |
|
| verifyTextNotPresent |
Question for View Profile |
|
| echo |
--Uncheck View Question Author |
|
| waitForElementPresent |
FAQCategroManager |
|
| click |
//div[@onclick="eXo.faq.UIAnswersPortlet.viewTitle('FAQCategroManager');"] |
|
| waitForElementPresent |
//div[@id='FAQCategroManager']//div[@class='MenuItem'] |
|
| clickAt |
//div[@id='FAQCategroManager']//div[@class='MenuItem'] |
|
| waitForElementPresent |
ViewAuthorInfor |
|
| click |
ViewAuthorInfor |
|
| waitForElementPresent |
//form[@id='UICategoryForm']//table[@class='ActionContainer']//div[@class='ActionButton LightBlueStyle'] |
|
| click |
//form[@id='UICategoryForm']//table[@class='ActionContainer']//div[@class='ActionButton LightBlueStyle'] |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|