createCookie |
token=25d35467c91f0f8bbcc9a4f22bb359170643ccfdf38851599a03a8ffc0756666 |
|
open |
main.html |
|
waitForPageToLoad |
|
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
1000 |
storeXpathCount |
//tr |
rows |
click |
xpath=(//a[contains(text(),'Delete')])[last()] |
|
assertConfirmation |
Está a punto de eliminar a una persona. ¿Está seguro de que desea continuar? |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().jQuery.active == 0 |
1000 |
storeXpathCount |
//tr |
rowsAfterDeletion |
storeEval |
storedVars['rows']-storedVars['rowsAfterDeletion'] |
rowsDeleted |
verifyExpression |
${rowsDeleted} |
1 |
deleteCookie |
token |
|