| open |
/ecmdemo/public/acme/ |
|
| windowMaximize |
|
|
| echo |
--Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
--Go to Sites Explorer |
|
| waitForElementPresent |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| clickAndWait |
//a[@href='/ecmdemo/groups/:platform:web-contributors/siteExplorer'] |
|
| echo |
--Open driver pane |
|
| waitForElementPresent |
//div[@title='Show Drives'] |
|
| click |
//div[@title='Show Drives'] |
|
| echo |
--Open Public driver |
|
| waitForElementPresent |
link=Public |
|
| click |
link=Public |
|
| echo |
-- Go to Action tab |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| pause |
1000 |
|
| echo |
--Create a Article document |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| waitForElementPresent |
link=Article |
|
| click |
link=Article |
|
| pause |
1000 |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_ECMS_53 |
| waitForElementPresent |
//td[@id='cke_contents_summary']/iframe |
|
| selectFrame |
//td[@id='cke_contents_summary']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_53 |
| selectFrame |
relative=top |
|
| selectFrame |
//td[@id='cke_contents_content']/iframe |
|
| type |
//html/body |
Test_SNF_ECMS_53 |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Save & Close |
|
| click |
link=Save & Close |
|
| pause |
1000 |
|
| echo |
--Go to root path |
|
| waitForElementPresent |
//div[@title='Public'] |
|
| click |
//div[@title='Public'] |
|
| echo |
--create another document |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| pause |
10000 |
|
| waitForElementPresent |
link=Kofax document |
|
| click |
link=Kofax document |
|
| type |
name |
Kofax_SNF_ECMS_53 |
| waitForElementPresent |
link=Save & Close |
|
| click |
link=Save & Close |
|
| pause |
1000 |
|
| echo |
-- Add Relation |
|
| waitForElementPresent |
link=Test_SNF_ECMS_53 |
|
| click |
link=Test_SNF_ECMS_53 |
|
| echo |
--Open Add relation form |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Admin |
|
| click |
link=Admin |
|
| pause |
10000 |
|
| echo |
--Open Manage Relations |
|
| waitForElementPresent |
link=Manage Relations |
|
| click |
link=Manage Relations |
|
| echo |
--Go to "Select relation tab" |
|
| waitForElementPresent |
//div[text()='Select relation'] |
|
| click |
//div[text()='Select relation'] |
|
| echo |
-- Select node to relation : Users |
|
| waitForElementPresent |
//div[@title='Users'] |
|
| click |
//div[@title='Users'] |
|
| echo |
-- Select Users/root |
|
| waitForElementPresent |
//div[text()='r___'] |
|
| click |
//div[text()='r___'] |
|
| waitForElementPresent |
//div[text()='ro___'] |
|
| click |
//div[text()='ro___'] |
|
| waitForElementPresent |
//div[text()='roo___'] |
|
| click |
//div[text()='roo___'] |
|
| waitForElementPresent |
//div[@title='root'] |
|
| click |
//div[@title='root'] |
|
| echo |
-- Select Private |
|
| waitForElementPresent |
//div[@title='Private' and text()='Private'] |
|
| click |
//div[@title='Private' and text()='Private'] |
|
| echo |
-- Select Kofax_SNF_ECMS_53 |
|
| waitForElementPresent |
//div[@id='UISelectPathPanel']//a[contains(@href,"Kofax_SNF_ECMS_53")] |
|
| click |
//div[@id='UISelectPathPanel']//a[contains(@href,"Kofax_SNF_ECMS_53")] |
|
| waitForTextPresent |
/Users/r___/ro___/roo___/root/Private/Kofax_SNF_ECMS_53 |
|
| verifyTextPresent |
/Users/r___/ro___/roo___/root/Private/Kofax_SNF_ECMS_53 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
-- View References of Kofax |
|
| waitForElementPresent |
link=Kofax_SNF_ECMS_53 |
|
| click |
link=Kofax_SNF_ECMS_53 |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Info |
|
| click |
link=Info |
|
| pause |
1000 |
|
| waitForElementPresent |
link=View References |
|
| click |
link=View References |
|
| waitForTextPresent |
/Users/r___/ro___/roo___/root/Private/testsnfecms53 |
|
| verifyTextPresent |
/Users/r___/ro___/roo___/root/Private/testsnfecms53 |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
--Delete Relation |
|
| waitForElementPresent |
link=Test_SNF_ECMS_53 |
|
| click |
link=Test_SNF_ECMS_53 |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Admin |
|
| click |
link=Admin |
|
| pause |
5000 |
|
| waitForElementPresent |
link=Manage Relations |
|
| click |
link=Manage Relations |
|
| waitForElementPresent |
//img[@alt='Delete'] |
|
| click |
//img[@alt='Delete'] |
|
| assertConfirmation |
Do you really want to delete this relation? |
|
| click |
link=Close |
|
| pause |
1000 |
|
| echo |
--Delete article document |
|
| waitForElementPresent |
link=Test_SNF_ECMS_53 |
|
| mouseDownRight |
link=Test_SNF_ECMS_53 |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| click |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| waitForElementNotPresent |
link=Test_SNF_ECMS_53 |
|
| verifyElementNotPresent |
link=Test_SNF_ECMS_53 |
|
| pause |
1000 |
|
| echo |
--Delete Kofax |
|
| waitForElementPresent |
link=Kofax_SNF_ECMS_53 |
|
| mouseDownRight |
link=Kofax_SNF_ECMS_53 |
|
| click |
link=Delete |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| click |
//div[@id='UIPopupWindow']//a[text()="OK"] |
|
| waitForElementNotPresent |
link=Kofax_SNF_ECMS_53 |
|
| verifyElementNotPresent |
link=Kofax_SNF_ECMS_53 |
|
| echo |
--Logout |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|