Ken Mizell wrote:
I can't be the only one trying to solve this problem... is there anyway
to create optional actions?
There's no support for conditional commands (or looping, or branching,
or anything else you'd expect from a "real" language) in Selenium's
table-driven mode.
In RPC-driven mode, you can do whatever you want.
what i really want it to do
is to look for the checkbox and if it sees the check box is checked then
uncheck it, but if it is not checked then do nothing and go to the next
step in the test.
I've been planning to add "check" and "uncheck" commands, which could be
used to control a check-box regards of it's initial state.
http://jira.public.thoughtworks.org/browse/SEL-155
Would that solve your problem?
--
cheers, MikeW http://www.dogbiscuit.org/mdub/
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users