开发者

Unexpected Error in Selenium

开发者 https://www.devze.com 2022-12-31 07:21 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消