开发者

Getting Jenkins to run like the Selenium IDE

开发者 https://www.devze.com 2023-04-06 10:55 出处:网络
I\'ve been usi开发者_StackOverflow中文版ng Selenium IDE for regression tests, but as the number of test cases increases, I\'ve moved it over to Jenkins to run.

I've been usi开发者_StackOverflow中文版ng Selenium IDE for regression tests, but as the number of test cases increases, I've moved it over to Jenkins to run.

However, some tests that run perfectly in Selenium IDE fail in Jenkins. Simple commands like verifying text presence.

Is it just me? Has someone else encountered the same problem?


Trying adding the command waitForElementPresent and maybe a small pause (like 1000 ms) before you verify the text is present.

We ran into similar issues; the tests would run fine locally, but break on Jenkins. Slowing it down seemed to do the trick for us. Add more details to what your failing tests look like if this doesn't help.

0

精彩评论

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

关注公众号