| open |
/portal/classic/ |
|
| echo |
-- Search User-- |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
root |
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
| echo |
-- Go to Users and group management -- |
|
| clickAndWait |
link=Users and groups management |
|
| echo |
-- Search by user name-- |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
john |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=User Name |
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| waitForTextPresent |
john |
|
| verifyTextPresent |
john |
|
| echo |
-- Return to Users list-- |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
|
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| echo |
-- Search by Last Name-- |
|
| waitForElementPresent |
searchTerm |
Anthony |
| type |
searchTerm |
Anthony |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=Last Name |
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| waitForTextPresent |
Anthony |
|
| verifyTextPresent |
Anthony |
|
| echo |
-- Return to Users list-- |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
|
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| echo |
-- Search by First Name-- |
|
| waitForElementPresent |
searchTerm |
John |
| type |
searchTerm |
John |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=First Name |
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| waitForTextPresent |
John |
|
| verifyTextPresent |
John |
|
| echo |
-- Return to Users list -- |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
|
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| echo |
-- Search by email-- |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
john@localhost |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=Email |
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
|
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=User Name |
| waitForElementPresent |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| click |
//form[@id='UISearchForm']//a[@title="Quick Search"] |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|