开发者

Selenium RC:How to launch Interactive testing with Multiple browsers

I want to automate this scenario. UserA assign an item to UserB, who gets an alert m开发者_开发技巧essage. In order to do this I want to have two different browsers launched with different accounts to test this interaction. Is is possible to do this? If yes, how?


Looks like that question is already answered in my example code: http://stackoverflow.com/questions/213430/selenium-rc-run-tests-in-multiple-browsers-automatically.

firefox = Selenium::SeleniumDriver.new("localhost", 4444, '*firefox', "http://localhost:3000", 10000)
ie = Selenium::SeleniumDriver.new("localhost", 4444, '*iexpore', "http://localhost:3000", 10000)

Then run the commands one the separate browsers how ever you'd like.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜