| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| waitForElementPresent |
link=Organizations |
|
| clickAtAndWait |
link=Organizations |
|
| type |
_126_keywords |
Test Organization |
| clickAtAndWait |
//input[@value='Search'] |
|
| assertText |
//td[2]/a |
Test Organization |
| clickAt |
//strong/a |
Actions |
| waitForVisible |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
Edit |
| assertText |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
Edit |
| clickAndWait |
//div[@class='lfr-component lfr-menu-list']/ul/li[1]/a |
Edit |
| storeFirstNumber |
//fieldset[1]/div/div[3]/div |
OrganizationID |
| waitForElementPresent |
link=Users |
|
| clickAtAndWait |
link=Users |
|
| clickAtAndWait |
link=Add |
|
| type |
_125_screenName |
${OrganizationID} |
| type |
_125_emailAddress |
testA@selenium.com |
| type |
_125_firstName |
testA |
| type |
_125_lastName |
testA |
| clickAtAndWait |
//input[@value='Save'] |
|
| assertText |
//div[@class='portlet-msg-error'] |
You have entered invalid data. Please try again. |
| assertText |
xPath=(//div[@class='portlet-msg-error'])[2] |
Please enter a valid screen name. |