Tests for expectError and expectFailure commands |
||
open | ../tests/html/test_click_page1.html | |
verifyFailureOnNext | The next command actually succeeds so this verify is wrong | |
verifyText | link | Click here for next page |
verifyErrorOnNext | The next command is an action that succeeds (instead of an accessor) | |
echo | foo | |
verifyFailureOnNext | The next command does fail, but this is the wrong message | |
verifyText | link | foo |
verifyErrorOnNext | The next command actually succeeds so this verify is wrong | |
verifyText | link | Click here for next page |
verifyErrorOnNext | The next command has a failure, not an error | |
verifyText | link | foo |
verifyErrorOnNext | The next command does error, but this is the wrong message | |
verifyText | notAlink | foo |