| AddUserScreenNameDuplicateTest | ||
| open | /web/guest/home/ | |
| waitForElementPresent | link=Control Panel | |
| clickAtAndWait | link=Control Panel | |
| clickAtAndWait | link=Users | |
| clickAtAndWait | link=Add | |
| type | _125_screenName | joebloggs |
| type | _125_emailAddress | testA@selenium.com |
| type | _125_firstName | testA |
| type | _125_lastName | testA |
| clickAtAndWait | //input[@value='Save'] | |
| assertText | //span[@class='portlet-msg-error'] | You have entered invalid data. Please try again. |
| assertText | xPath=(//span[@class='portlet-msg-error'])[2] | The screen name you requested is already taken. |