| open |
/web/guest/home/ |
|
| waitForVisible |
link=Asset Publisher Test Page |
|
| clickAtAndWait |
link=Asset Publisher Test Page |
|
| clickAt |
//strong/a/img |
|
| waitForVisible |
//div[@class='lfr-component lfr-menu-list']/ul/li[4]/a |
|
| assertText |
//div[@class='lfr-component lfr-menu-list']/ul/li[4]/a |
Document Library Document |
| clickAndWait |
//div[@class='lfr-component lfr-menu-list']/ul/li[4]/a |
|
| clickAt |
//input[@value='Select'] |
|
| waitForPopUp |
folder |
30000 |
| selectWindow |
name=folder |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('//td[4]/input')) |
choose1Present |
| gotoIf |
${choose1Present} |
Choose1NotPresent |
| close |
|
|
| selectWindow |
null |
|
| label |
Choose1NotPresent |
|
| store |
eval(selenium.isElementPresent('//td[4]/input')) |
choose2Present |
| gotoIf |
!${choose2Present} |
Choose2NotPresent |
| waitForVisible |
//input[@value='Choose'] |
|
| click |
//input[@value='Choose'] |
|
| label |
Choose2NotPresent |
|
| selectWindow |
null |
|
| pause |
5000 |
|
| type |
_20_file |
L:\portal\build\portal-web\test\com\liferay\portalweb\portlet\assetpublisher\dldocument\viewdldocumentabstracts\dependencies\AP_test_document.txt |
| type |
_20_title |
AP DL Document Title |
| clickAtAndWait |
//input[@value='Save'] |
|
| waitForText |
//div[1]/h3/a |
AP DL Document Title |
| assertText |
//div[1]/h3/a |
AP DL Document Title |
| waitForText |
//div[2]/div[1]/div/a |
AP DL Document Title |
| assertText |
//div[2]/div[1]/div/a |
AP DL Document Title |