dongxiangqian1855 2016-02-22 16:51
浏览 27

预配置的Selenium环境?

An important benefit of selenium is the simplicity of recording test cases via Firefox Selenium-IDE or Selenium Builder. No specific skills needed, it´s almost as easy as clicking "record". Yet somehow running those test cases require the average PHP developer to learn Java and linux administration, among others.

After reading tutorials for the past 5 hours, doing it the hard way seems nowhere withhin budget.

So - is there an easy solution? One of these would be great:

  • An online service to upload your test cases, pay a few bucks, and they run them
  • A prepared VM you just have to start and copy your test cases
  • A bash script you just have to wget & run to set up everything

Thanks

  • 写回答

1条回答 默认 最新

  • duanmu2015 2016-02-22 17:26
    关注

    As what you're describing is getting beyond the simplicity of the Selenium IDE there is Selenium WebDriver which I perceive as a Selenium NG and also this is what's mentioned on the main http://www.seleniumhq.org/ page.

    So for the simplest case you can go with Selenium IDE add-on. And for any more complex cases Selenium people suggest to use Selenium WebDriver - you can then:

    • use prepared selenium docker images (as for the prepared VM) and use simple bash scripts to orchestrate
    • use online services like SauceLabs to upload the tests

    Still it is possible to save Selenium IDE test as java files and benefit from above techniques however it is not possible to read them again into Selenium IDE.

    评论

报告相同问题?

悬赏问题

  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测