| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| 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 |
Where we are |
| verifyTextPresent |
Where we are |
|
| echo |
-- Edit CLV |
|
| waitForElementPresent |
EditingOptions |
|
| select |
EditingOptions |
label=Edit |
| echo |
-- Choose Documents part |
|
| waitForElementPresent |
//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div/div/div/div/div/div[1]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| mouseOver |
//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div/div/div/div/div/div[1]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| click |
//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div/div/div/div/div/div[1]/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 |
|
| echo |
-- Verify data is changed. |
|
| waitForTextPresent |
ACME News 1 |
|
| verifyTextPresent |
ACME News 1 |
|
| waitForTextPresent |
ACME News 2 |
|
| verifyTextPresent |
ACME News 2 |
|
| waitForTextPresent |
ACME News 3 |
|
| verifyTextPresent |
ACME News 3 |
|
| waitForTextPresent |
ACME News 4 |
|
| verifyTextPresent |
ACME News 4 |
|
| waitForElementPresent |
//div[@id='UICLVPresentation']/div/div[1]/div[1]/div/div |
|
| click |
//div[@id='UICLVPresentation']/div/div[1]/div[1]/div/div |
|
| waitForElementPresent |
//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div/div/div/div/div/div[1]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| mouseOver |
//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div/div/div/div/div/div[1]/div/div/div[1]/div[1]/div/div/div/div/div[1]/a |
|
| click |
//div[3]/div/div/div[1]/div/div/div/div/div/div/div/div/div/div/table/tbody/tr/td[2]/div/div/div/div/div/div/div/div[1]/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='/ecmdemo/rest-ecmdemo/jcr/repository/collaboration/sites content/live/acme/documents'] |
|
| click |
//a[@url='/ecmdemo/rest-ecmdemo/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=Sign out |
|
| clickAndWait |
link=Sign out |
|