Friday, November 21, 2008

How to Increase pause for ‘clickAndWait’ command in Selenium IDE

Hi All,

Now we can Increase the pause of clickAndWait command in the Selenium IDE.

setTimeout(timeout)

Arguments:
  • timeout - a timeout in milliseconds, after which the action will return with an error


Specifies the amount of time that Selenium will wait for actions to complete.

Actions that require waiting include "open" and the "waitFor*" actions.

The default timeout is 30 seconds.

e.g. setTimeout | 3600 will make the time out as 3600 millisec

2 comments:

Akshay said...

Boss it works but to be on safer side set timeout value to 120000 ms.

Do we have to set each and every time before we call clickandwait or open command?

ANBARASI said...

hello , were do i want to place the wait seconds , i do see the command line having clickandwait ,do iwant to place my waiting seconds under the value property or wer????