繁体   English   中英

Chrome上的Selenium IDE测试用例

[英]Selenium IDE test cases on Chrome

我使用Selenium IDE在Firefox上进行测试,但现在我想在Chrome,IE9和Safari等其他浏览器上使用相同的测试用例。 我该怎么办呢?

要将selenium IDE生成的脚本运行到另一个浏览器,您需要将所有测试脚本存储在测试套件下。 然后,您可以使用selenium RC服务器运行该测试套件。

java -jar selenium-server.jar -htmlSuite "insert_browser_name_here"
"insert_root_domain_here" "insert_full_path_to_suite_here"
"insert_a_full_path_to_store_reports_here"

在上面的命令中,您需要传递套件位置,浏览器名称,基本URL和结果的位置。

对于selenium支持浏览器,您可以参考
http://radical-qa.blogspot.in/2012/03/selenium-supported-browsers.html

Selenium IDE是Firefox的扩展。 要在其他浏览器上运行测试,您需要另一个工具,例如Selenium WebDriver

PS我认为Webdriver实际上是QA自动化的下一个发展步骤,IDE缺乏灵活性

我找到了与上面相同的解决方案,但在此仅详细解释: http//www.qafriend.com/selenium/running-selenium-script-on-internet-explorer-and-chrome

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM