Ken Mizell a écrit :
Hi All
I can't be the only one trying to solve this problem... is there
anyway to create optional actions?
I'm having trouble when i run a script and then re-run it and the
cookies on my machine make certain checkboxes "checked" the second
time through.
There is an input field ( a checkbox) that has a different value after
the script has been run once [EMAIL PROTECTED]'CBB_info' and @value='1'
or [EMAIL PROTECTED]'CBB_info' and @value='0'
and the second time through the test the script fails because it can't
find this checkbox with the checked value. 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.
Personally, I would think the problem is the cookie as a test shall
always run with the same starting assertions.
You could use the eraseCookie extension from Marco Bizzarri, see
http://marc.theaimsgroup.com/?l=selenium-users&m=112561367603370&w=2
Hope it helps.
Alex
Ce message est protégé par les règles relatives au secret des correspondances.
Il est donc établi à destination exclusive de son destinataire. Celui-ci peut
donc contenir des informations confidentielles. La divulgation de ces
informations est à ce titre rigoureusement interdite. Si vous avez reçu ce
message par erreur, merci de le renvoyer à l'expéditeur dont l'adresse e-mail
figure ci-dessus et de détruire le message ainsi que toute pièce jointe.
This message is protected by the secrecy of correspondence rules. Therefore,
this message is intended solely for the attention of the addressee. This
message may contain privileged or confidential information, as such the
disclosure of these informations is strictly forbidden. If, by mistake, you
have received this message, please return this message to the addressser whose
e-mail address is written above and destroy this message and all files attached.
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users