Hi, Use webdriver of selenium and give thread.sleep(5000) 5000 is mileseconds.It works fine for me.
Regards Suresh Babu G On Mon, Sep 27, 2010 at 11:46 AM, András Csányi <[email protected]>wrote: > On 26 September 2010 03:32, Hilco Wijbenga <[email protected]> > 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. > > Hi Hilco, > > May I suggest put your question to selenium list? Maybe they can help you. > > András > > -- > - - > -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- > http://facebook.com/andras.csanyi > -- ""Trust in God and keep your gunpowder dry!" - Cromwell > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Regards Suresh Babu G -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
