open |
/portal/public/classic/ |
|
echo |
-- Create new account with Password/Confirm Password over 30 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-- |
|
waitForElementPresent |
link=New Staff |
|
clickAndWait |
link=New Staff |
|
waitForElementPresent |
username |
|
type |
username |
Test_PRL_01_014 |
type |
password |
Test_PRL_01_014Test_PRL_01_014Test_PRL_01_014 |
type |
Confirmpassword |
Test_PRL_01_014Test_PRL_01_014Test_PRL_01_014 |
type |
firstName |
Test_PRL_01_014 |
type |
lastName |
Test_PRL_01_014 |
type |
email |
Test_PRL_01_014@gmail.com |
echo |
-- Choose User Profile-- |
|
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 |
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForElementPresent |
//div[2]/div[2]/div/div/div/div[1]/div[2] |
The length of the text in field "Password:" must be between "6" and "30" characters. |
verifyText |
//div[2]/div[2]/div/div/div/div[1]/div[2] |
The length of the text in field "Password:" must be between "6" and "30" characters. |
waitForElementPresent |
//div[2]/div/div/div/div[2]/div[2] |
The length of the text in field "Confirm Password:" must be between "6" and "30" characters. |
verifyText |
//div[2]/div/div/div/div[2]/div[2] |
The length of the text in field "Confirm 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 |
|
click |
//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div |
|
clickAndWait |
link=Sign out |
|