| open |
/portal/public/default/ |
|
| windowMaximize |
|
|
| clickAndWait |
link=Visit the Acme Website |
|
| echo |
-- Log in |
|
| waitForElementPresent |
link=Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
-- Old information |
|
| waitForTextPresent |
Conditions and Requirements |
|
| verifyTextPresent |
Conditions and Requirements |
|
| waitForTextPresent |
How to join us |
|
| verifyTextPresent |
How to join us |
|
| waitForTextPresent |
Where we are |
|
| verifyTextPresent |
Where we are |
|
| echo |
-- Edit CLV |
|
| waitForElementPresent |
EditingOptions |
|
| select |
EditingOptions |
label=Edit |
| echo |
-- Choose Documents part |
|
| waitForElementPresent |
//td[2]/div/div/div/div/div/div/div/div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| mouseOver |
//td[2]/div/div/div/div/div/div/div/div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| click |
//td[2]/div/div/div/div/div/div/div/div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| echo |
-- Select folder path |
|
| waitForElementPresent |
//img[@alt='Select folder path'] |
|
| click |
//img[@alt='Select folder path'] |
|
| echo |
-- General Drives |
|
| waitForElementPresent |
//a[text()='General Drives'] |
|
| click |
//a[text()='General Drives'] |
|
| echo |
-- Choose ecms |
|
| waitForElementPresent |
//table[@id='ListRecords']/thead/tr[2]/td/a |
|
| click |
//table[@id='ListRecords']/thead/tr[2]/td/a |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| pause |
5000 |
|
| echo |
-- Verify data is changed. |
|
| waitForTextPresent |
Upcoming Power 1 |
|
| verifyTextPresent |
Upcoming Power 1 |
|
| waitForTextPresent |
Upcoming Power 2 |
|
| verifyTextPresent |
Upcoming Power 2 |
|
| waitForTextPresent |
Power Pack 1 |
|
| verifyTextPresent |
Power Pack 1 |
|
| waitForElementPresent |
//div[@id='UICLVPresentation']/div/div[1]/div[1]/div/div |
|
| click |
//div[@id='UICLVPresentation']/div/div[1]/div[1]/div/div |
|
| waitForElementPresent |
//td[2]/div/div/div/div/div/div/div/div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| mouseOver |
//td[2]/div/div/div/div/div/div/div/div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| click |
//td[2]/div/div/div/div/div/div/div/div[2]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| waitForElementPresent |
//img[@alt='Select folder path'] |
|
| click |
//img[@alt='Select folder path'] |
|
| echo |
-- Select General Drives |
|
| waitForElementPresent |
//a[text()='Managed Sites'] |
|
| click |
//a[text()='Managed Sites'] |
|
| echo |
-- Select acme |
|
| waitForElementPresent |
//a[@isupload='true' and @name='acme'] |
|
| click |
//a[@isupload='true' and @name='acme'] |
|
| echo |
-- choose document folder on right |
|
| waitForElementPresent |
//a[@url='/portal/rest/jcr/repository/collaboration/sites content/live/acme/documents'] |
|
| click |
//a[@url='/portal/rest/jcr/repository/collaboration/sites content/live/acme/documents'] |
|
| echo |
-- verify value in Folder path |
|
| waitForValue |
UICLVConfigItemPathFormStringInput |
documents |
| verifyValue |
UICLVConfigItemPathFormStringInput |
documents |
| echo |
-- Save |
|
| waitForElementPresent |
//a[contains(text(),'Save')] |
|
| click |
//a[contains(text(),'Save')] |
|
| echo |
-- Restore information |
|
| waitForTextPresent |
Conditions and Requirements |
|
| verifyTextPresent |
Conditions and Requirements |
|
| waitForTextPresent |
How to join us |
|
| verifyTextPresent |
How to join us |
|
| waitForTextPresent |
Where we are |
|
| verifyTextPresent |
Where we are |
|
| echo |
-- Log out |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|