预配置的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

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.