views:

586

answers:

0

I'm using Selenium IDE in Firefox and submiting a form. The problem is that the form can be sucesfull or unsuccesfull (random). When it's unsuccesfull it will show and error message (AJAX) and I need to try to submit the form again.

I would like to write a test which will be submiting the form until it will redirect me to success page (text present).

Can someone helps me with this? I didn't play with Selenium this way yet.