| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| waitForElementPresent |
//div[contains(text(),'Sign in')] |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| waitForElementPresent |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| open |
/portal/private/intranet/answers |
|
| echo |
-Add Category- |
|
| waitForElementPresent |
//div[@onclick="eXo.faq.UIAnswersPortlet.viewTitle('FAQCategroManager');"] |
|
| click |
//div[@onclick="eXo.faq.UIAnswersPortlet.viewTitle('FAQCategroManager');"] |
|
| waitForElementPresent |
link=Add category |
|
| clickAt |
link=Add category |
|
| waitForElementPresent |
eventCategoryName |
|
| type |
eventCategoryName |
SNF_KS_05 |
| waitForElementPresent |
description |
|
| type |
description |
SNF_KS_05 des |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=SNF_KS_05 |
|
| verifyElementPresent |
link=SNF_KS_05 |
|
| echo |
-Watch Category- |
|
| waitForElementPresent |
link=SNF_KS_05 |
|
| contextMenu |
link=SNF_KS_05 |
|
| clickAt |
link=Watch |
|
| waitForText |
//div[2]/div[3]/div/div/div/div/div[2] |
You are watching this category, you will be notified about all changes. |
| verifyText |
//div[2]/div[3]/div/div/div/div/div[2] |
You are watching this category, you will be notified about all changes. |
| waitForElementPresent |
//div[@id='UIAnswersPortlet']//a[text()='OK'] |
|
| click |
//div[@id='UIAnswersPortlet']//a[text()='OK'] |
|
| waitForElementPresent |
//div[@id='AnswersContainer']//a[@class='WatchManager'] |
|
| verifyElementPresent |
//div[@id='AnswersContainer']//a[@class='WatchManager'] |
|
| echo |
-Mange Watch- |
|
| waitForElementPresent |
//div[@class='UICategories']//a[2] |
|
| click |
//div[@class='UICategories']//a[2] |
|
| waitForElementPresent |
UIWatchManager |
|
| click |
//form[@id='UIWatchManager']/div[2]//td[3]/div[2]/div |
|
| waitForElementPresent |
emailAddress0 |
|
| type |
emailAddress0 |
root@localhost.vn |
| click |
link=Save |
|
| waitForTextPresent |
root@localhost.vn |
|
| verifyTextPresent |
root@localhost.vn |
|
| click |
//form[@id='UIWatchManager']/div[2]//td[3]/div[2]/div |
|
| click |
//img[@title='Add Item'] |
|
| waitForElementPresent |
emailAddress1 |
|
| type |
emailAddress1 |
hello@yahoo.com |
| click |
link=Save |
|
| waitForTextPresent |
hello@yahoo.com |
|
| verifyTextPresent |
hello@yahoo.com |
|
| click |
//form[@id='UIWatchManager']/div[2]/div/div/div/table/tbody/tr/td[3]/div[2]/div |
|
| click |
//div[2]/img[1] |
|
| click |
link=Save |
|
| waitForTextNotPresent |
hello@yahoo.com |
|
| verifyTextNotPresent |
hello@yahoo.com |
|
| click |
//form[@id='UIWatchManager']/div[2]//td[3]/div[3]/div |
|
| assertConfirmation |
Are you sure you want to delete this watch? |
|
| waitForTextNotPresent |
root@localhost.vn |
|
| verifyTextNotPresent |
root@localhost.vn |
|
| click |
//form[@id='UIWatchManager']/div[3]//a |
|
| echo |
-Delete Test Data- |
|
| waitForElementPresent |
link=SNF_KS_05 |
|
| contextMenu |
link=SNF_KS_05 |
|
| clickAt |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this category ? |
|
| waitForTextNotPresent |
SNF_KS_05 |
|
| verifyTextNotPresent |
SNF_KS_05 |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|
| waitForTextPresent |
Sign in |
|