Web Tests: 'Check Text' Test fails [message #1759052] |
Wed, 05 April 2017 11:20  |
Eclipse User |
|
|
|
Hi all,
I'm using the Web Testing with Firefox - Jubula 8.4.1.123
There's a button in my application that doubles as 'Edit' and 'Save'. When the page first loads, the text in the button is 'Edit' and all the fields are read-only. When you click the button, the text changes to 'Save' and all the fields can be edited. When you click 'Save' the results are saved and the button text reverts to 'Edit'
Now, in my test where I have
Button Component/Click
Button Component/Check Text/equals 'Save' (timeout=2000)
it works fine, I get a check mark against both steps. Later, after changing some values, I have
Button Component/Click
Button Component/Check Text/equals 'Edit' (timeout=10000)
This second Check Text steps comes back ( after about 0.4 seconds ) as 'Check Failed'. In the browser the action has completed successfully; the button text has changed.
Am I doing something wrong here, or is it a bug? The heuristic match on the component is 90%
Cheers,
KEv.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03956 seconds