| waitForElementPresent |
link=Image Gallery Permissions Test Page |
|
| clickAtAndWait |
link=Image Gallery Permissions Test Page |
|
| store |
eval(selenium.isElementPresent('//span[3]/a/img')) |
PortletPresent |
| gotoIf |
!${PortletPresent} |
PortletNotPresent |
| store |
eval(selenium.isElementPresent('//td[4]/ul/li/strong')) |
Folder1Present |
| gotoIf |
!${Folder1Present} |
Folder1NotPresent |
| clickAt |
//td[4]/ul/li/strong |
|
| waitForElementPresent |
//div[5]/ul/li[3]/a |
|
| clickAndWait |
//div[5]/ul/li[3]/a |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
Folder1NotPresent |
|
| store |
eval(selenium.isElementPresent('//td[4]/ul/li/strong')) |
Folder2Present |
| gotoIf |
!${Folder2Present} |
Folder2NotPresent |
| clickAt |
//td[4]/ul/li/strong |
|
| waitForElementPresent |
//div[5]/ul/li[3]/a |
|
| clickAndWait |
//div[5]/ul/li[3]/a |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
Folder2NotPresent |
|
| click |
//img[@alt='Remove'] |
|
| assertConfirmation |
Are you sure you want to remove this component? |
|
| label |
PortletNotPresent |
|
| clickAt |
link=Application |
|
| waitForElementPresent |
//div[@id='ContentManagement-ImageGallery']/p/a |
|
| clickAt |
//div[@id='ContentManagement-ImageGallery']/p/a |
|
| waitForElementPresent |
//td[1]/div/div[1]/div |
|
| assertElementPresent |
//td[1]/div/div[1]/div |
|