| open |
/portal/public/classic/ |
|
| echo |
-- Create new account with Password/Confirm Password less than 6 characters -- |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
-- Go to New Staff-- |
|
| clickAndWait |
link=New Staff |
|
| waitForElementPresent |
username |
|
| type |
username |
Test_PRL_01_013 |
| type |
password |
test |
| type |
Confirmpassword |
test |
| type |
firstName |
Test_PRL_01_013 |
| type |
lastName |
Test_PRL_01_013 |
| type |
email |
Test_PRL_01_013@gmail.com |
| echo |
-- Choose user profile-- |
|
| click |
//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
| waitForElementPresent |
user.language |
|
| select |
user.language |
label=German |
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Show message alert-- |
|
| verifyTextPresent |
The length of the text in field "Password:" must be between "6" and "30" characters. |
|
| verifyTextPresent |
The length of the text in field "Password:" must be between "6" and "30" characters. |
|
| waitForElementPresent |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
| click |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
| clickAndWait |
link=Sign out |
|