open |
/portal/public/classic/ |
|
echo |
-- Create new account with Password and Confirm Password fields are not the same -- |
|
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_011 |
type |
password |
Test_PRL_01_011 |
type |
Confirmpassword |
●●●●●●●●●●●●●●● |
type |
firstName |
Test_PRL_01_011 |
type |
lastName |
Test_PRL_01_011 |
type |
email |
Test_PRL_01_011@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=Ukrainian |
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
-- Show message alert -- |
|
waitForTextPresent |
Password and Confirm Password must be the same. |
|
verifyTextPresent |
Password and Confirm Password must be the same. |
|
echo |
-- Close message-- |
|
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 |
|