tags:

views:

25

answers:

1

I am getting a Unexpected error in some of the Selenium RC code. Some time it works fine but sometimes it gives the Unexpected error and the scripts stop at that line only.

Example:

There is script for "Login" than it click on the link than fills some form than press some button.

Sometimes its run till Login, sometimes till click of a link sometimes it executes full.

Please give me some solution for this its urgent.

A: 

try selenium.setTimeout(String.valueOf(1000 * 180));

01