Sunday, September 26, 2010

Re: How to slow down JavaScript execution (in Firefox)?

Not sure if this helps but you can ask selenium to wait at the
required places.

this would work only if there are external interactions available at
that point.

On Sep 26, 6:32 am, Hilco Wijbenga <hilco.wijbe...@gmail.com> wrote:
> Hi all,
>
> I'm trying to run integration tests and one of the things I'm trying
> to test is that various status messages are displayed in the right
> order. The problem is that everything runs so fast that certain
> messages are not displayed long enough for Selenium to pick up. :-)
> That makes the test fail because it thinks steps were skipped. Another
> example is disabling a button after clicking on it and enabling it
> after some action has been executed. Again, JavaScript runs so fast
> that the disabling of the button is never noticed by Selenium.
>
> Does anyone know of a way to slow down JavaScript execution? I'm using
> Firefox for the integration tests so feel free to list Firefox
> specific solutions.
>
> Cheers,
> Hilco

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment