| AddScopeTest | ||
| clickAtAndWait | link=Users | |
| waitForVisible | link=Add | |
| clickAtAndWait | link=Add | |
| waitForVisible | _125_screenName | |
| typeKeys | _125_screenName | Scope |
| type | _125_screenName | Scope |
| type | _125_emailAddress | Scope@liferay.com |
| select | _125_prefixId | label=Mr. |
| typeKeys | _125_firstName | Scope |
| type | _125_firstName | Scope |
| typeKeys | _125_lastName | Lifera |
| type | _125_lastName | Liferay |
| select | _125_suffixId | label=IV |
| select | _125_birthdayMonth | label=May |
| select | _125_birthdayDay | label=31 |
| select | _125_birthdayYear | label=1986 |
| select | _125_male | label=Male |
| clickAtAndWait | //input[@value='Save'] | |
| clickAt | passwordLink | |
| waitForElementPresent | _125_password1 | |
| type | _125_password1 | test |
| type | _125_password2 | test |
| clickAtAndWait | //input[@value='Save'] | |
| clickAt | rolesLink | |
| waitForVisible | //div[6]/span/a/span | |
| clickAt | //div[6]/span/a/span | |
| pause | 5000 | |
| waitForPopUp | role | 30000 |
| selectWindow | name=role | |
| waitForElementPresent | link=Scope | |
| click | link=Scope | |
| selectWindow | null | |
| clickAtAndWait | //input[@value='Save'] | |
| assertTextPresent | Your request processed successfully. | |
| assertTextPresent | Scope | |