| waitForElementPresent |
link=Document Library Test Page |
|
| clickAndWait |
link=Document Library Test Page |
|
| clickAndWait |
//b |
|
| clickAndWait |
//b |
|
| click |
//td[5]/ul/li/strong/span |
|
| waitForElementPresent |
link=Edit |
|
| clickAndWait |
link=Edit |
|
| store |
eval(selenium.isElementPresent('link=Delete')) |
DocumentsPresentA |
| gotoIf |
!${DocumentsPresentA} |
No Documents PresentA |
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| assertTextPresent |
Your request processed successfully. |
|
| label |
No Documents PresentA |
|
| store |
eval(selenium.isElementPresent('link=Delete')) |
DocumentsPresentB |
| gotoIf |
!${DocumentsPresentB} |
No Documents PresentB |
| waitForElementPresent |
link=Delete |
|
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| assertTextPresent |
Your request processed successfully. |
|
| label |
No Documents PresentB |
|
| assertElementNotPresent |
link=1.0 |
|
| assertElementNotPresent |
link=1.1 |
|