This test ensures we can work with reset/submit buttons that have no explicit text/value.
script | mock xml server setup |
add response | <html> <body> <input name="a" type="submit"> <input name="z" type="reset"> </body> </html> |
add response | <html> <body> <input name="b" type="submit" value="Reload"> <input name="y" type="reset" value="Herstel"> </body> </html> |
$url<-[http://127.0.0.1:8000/FitNesseMock] | get mock server url |
script | browser test |
seconds before timeout | 1 |
First we check page using inputs without values.
script | |
open | $url->[http://127.0.0.1:8000/FitNesseMock] |
is enabled | Submit |
is enabled | Reset |
Then we check page using inputs with values.
script | |
open | $url->[http://127.0.0.1:8000/FitNesseMock] |
is enabled | Reload |
is enabled | Herstel |
script | mock xml server setup |
stop |