| open |
/portal/public/classic/ |
|
| echo |
-- Check Reset function while creating new account-- |
|
| 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_025 |
| type |
password |
Test_PRL_01_025 |
| type |
Confirmpassword |
Test_PRL_01_025 |
| type |
firstName |
Test_PRL_01_025 |
| type |
lastName |
Test_PRL_01_025 |
| type |
email |
Test_PRL_01_025@gmail.com |
| echo |
-- Choose user Profile tab-- |
|
| waitForElementPresent |
//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
| 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=Italian |
| echo |
-- Return to Account Setting tab-- |
|
| waitForElementPresent |
//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[1]/div/div/div/div |
|
| click |
//div[@id='UIAccountPortlet']/div[1]/div/div/div/div/div/div/div/div/div[1]/div/div/div/div |
|
| echo |
-- Click Reset-- |
|
| waitForElementPresent |
link=Reset |
|
| click |
link=Reset |
|
| verifyValue |
password |
|
| verifyValue |
Confirmpassword |
|
| verifyValue |
firstName |
|
| verifyValue |
lastName |
|
| verifyValue |
email |
|
| verifyValue |
username |
|
| clickAndWait |
link=Sign out |
|
| close |
|
|