| open |
/portal/public/classic/ |
|
| echo |
-- Create new account with blank required fields-- |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
root |
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| clickAndWait |
link=New Staff |
|
| waitForElementPresent |
username |
|
| type |
username |
Test_PRL_01_004 |
| type |
password |
Test_PRL_01_004 |
| type |
Confirmpassword |
Test_PRL_01_004 |
| 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 |
link=Save |
|
| click |
link=Save |
|
| echo |
--Show message alert The field "First Name:" is required.-- |
|
| waitForText |
//div[2]/div[2]/div/div/div/div[1]/div[2] |
The field "First Name:" is required. |
| verifyText |
//div[2]/div[2]/div/div/div/div[1]/div[2] |
The field "First Name:" is required. |
| echo |
-- Show message alert The field "Last Name:" is required.-- |
|
| waitForText |
//div[2]/div/div/div/div[2]/div[2] |
The field "Last Name:" is required. |
| verifyText |
//div[2]/div/div/div/div[2]/div[2] |
The field "Last Name:" is required. |
| echo |
-- Show message alert The field "Email Address:" is required-- |
|
| waitForTextPresent |
The field "Email Address:" is required. |
|
| verifyTextPresent |
The field "Email Address:" is required. |
|
| 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 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|