I am getting a Unexpected error in some of the Selenium RC code. Some time it w开发者_运维知识库orks 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.
You need to setspeed(timeout). After you declare your selenium Hash variable, for it to take at least "timeout" miliseconds between each selenium test case
精彩评论