Test Pause And Resume
|
in normal case the AUT test should fail |
open |
../core/TestRunner.html?test=../tests/dogfood/aut/PauseTestSuite.html |
|
waitForText |
//tr[@class="title"] |
Dogfood AUT: Pause |
click |
runSuite |
|
waitForText |
testFailures |
1 |
verifyText |
//tr[@class='title status_failed']//td[1] |
Dogfood AUT: Pause |
click pause to make the test pass |
open |
../core/TestRunner.html?test=../tests/dogfood/aut/PauseTestSuite.html |
|
waitForText |
//tr[@class="title"] |
Dogfood AUT: Pause |
click |
runSuite |
|
waitForText |
content |
Loading text... |
click |
pauseTest |
|
waitForText |
content |
This is final text |
click |
pauseTest |
|
waitForText |
commandPasses |
2 |
verifyElementPresent |
//tr[contains(@class, 'status_passed')]//*[contains(text(), 'Dogfood AUT: Pause')] |
|