open |
/portal/public/classic/ |
|
echo |
-- Create new account with user name starts with digit, underscore, dot, dash-- |
|
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 Sgtaff-- |
|
waitForElementPresent |
link=New Staff |
|
clickAndWait |
link=New Staff |
|
waitForElementPresent |
username |
|
type |
username |
----- |
type |
password |
Test_PRL_01_007 |
type |
Confirmpassword |
Test_PRL_01_007 |
type |
firstName |
Test_PRL_01_007 |
type |
lastName |
Test_PRL_01_007 |
type |
email |
Test_PRL_01_007@gmail.com |
echo |
-- Choose User Profile tab-- |
|
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=Russian |
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
waitForTextPresent |
The "User Name:" field must start with a character. |
|
verifyTextPresent |
The "User Name:" field must start with a character. |
|
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 |
|