Hot answers tagged ruby
Have you seen these? I did a search in google for: "rest testing with ruby" How to test a JSON REST API REST API test cucumber steps best practise On the other hand, if you have Ruby skills, then you can write your own library to deal with REST responses or you can use something from RubyGems.
I was facing a similar issue, and found a solution in this article: http://swdandruby.wordpress.com/2013/05/11/headless-gem-causes-errnoeconnrefused/ You have to specify a different display number for each browser headless instances you need. So if you want to run at the same time chrome and firefox in separate headless mode, you can do something like: ...
You could use next algorithm Get all links from page. Implement ruby script to check all links First steps are implemented in two ways Open page by webdriver, and get all links by tag , for example Get page by http request and parse html code by regex Second step: Implement script for request sending Use this link for implemention script. Good ...
Would recommend a CI like environment. You could setup the scripts to run either on a per job basis, or allow the job to accept a parameter that your client specifies to run the script he wants to run. The output will be displayed in the CI console, so he can check it on his own. Ruby and the scripts would only have to be installed on the CI server. Check ...
Chapter 12 of The Cucumber Book deals with testing REST Web Services, as well as a wealth of useful advice on getting started with Cucumber in general. The chapter walks through two different approaches. Whether you decide to use the same tools or not, I think the techniques are useful. The team I work in decided to write our own library, but as SayusiAndo ...
There were a few possible solutions to this over on Stackoverflow on Stop browser load from selenium webdriver. This included: Installing an extension in Chrome called Stop load using the built in pageLoadTimeout() method in Selenium using Sikuli or Autoit to access the browser's native controls
Only top voted, non community-wiki answers of a minimum length are eligible