Test_SNF_ECMS_05_EditCLV_ecmdemo
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
pause 3000
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']
pause 3000
waitForElementPresent Generaldrives_
click Generaldrives_
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']
waitForElementPresent Generaldrives_
click Generaldrives_
waitForElementPresent Generaldrives_ManagedSites_
click Generaldrives_ManagedSites_
waitForElementPresent Generaldrives_ManagedSites__acme
click Generaldrives_ManagedSites__acme
waitForElementPresent //table[@id='ListRecords']/thead/tr[5]/td/a
click //table[@id='ListRecords']/thead/tr[5]/td/a
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
select EditingOptions label=Published
echo -- Log out
waitForElementPresent link=Sign out
clickAndWait link=Sign out