| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Directory |
|
| click |
link=Directory |
|
| echo |
-- Search with Invalid value |
|
| waitForElementPresent |
Search |
|
| type |
Search |
Blank |
| waitForElementPresent |
//form[@id='UIProfileUserSearch']/div[2]/div/div[2]/div |
|
| click |
//form[@id='UIProfileUserSearch']/div[2]/div/div[2]/div |
|
| waitForTextPresent |
No person found. |
|
| verifyTextPresent |
No person found. |
|
| echo |
-- Search with Valid value |
|
| waitForElementPresent |
Search |
|
| type |
Search |
Mary |
| waitForElementPresent |
//form[@id='UIProfileUserSearch']/div[2]/div/div[2]/div |
|
| click |
//form[@id='UIProfileUserSearch']/div[2]/div/div[2]/div |
|
| waitForElementPresent |
link=Mary Kelly |
|
| verifyElementPresent |
link=Mary Kelly |
|
| echo |
-- Search with Invalid directory value |
|
| click |
link=A |
|
| waitForTextPresent |
No person found. |
|
| verifyTextPresent |
No person found. |
|
| echo |
-- Search with Valid directory value |
|
| click |
link=J |
|
| waitForElementPresent |
link=John Anthony |
|
| verifyElementPresent |
link=John Anthony |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|