| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
|
| clickAtAndWait |
link=Control Panel |
|
| waitForElementPresent |
link=Communities |
|
| clickAtAndWait |
link=Communities |
|
| clickAt |
//tr[4]/td[6]/span/ul/li/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/div/div[1]/div |
CommunityID |
| waitForElementPresent |
link=Users |
|
| clickAtAndWait |
link=Users |
|
| clickAtAndWait |
link=Add |
|
| type |
_125_screenName |
${CommunityID} |
| 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. |