{"id":86,"date":"2009-10-15T20:56:56","date_gmt":"2009-10-16T01:56:56","guid":{"rendered":"http:\/\/scottcsims.com\/wordpress\/?p=86"},"modified":"2016-11-27T09:21:46","modified_gmt":"2016-11-27T15:21:46","slug":"essentials-of-getting-started-with-selenium-grid-and-ruby","status":"publish","type":"post","link":"http:\/\/scottcsims.com\/wordpress\/?p=86","title":{"rendered":"Essentials of getting started with Selenium Grid and Ruby."},"content":{"rendered":"<p>I have been running test\/unit scripts on the grid for a while now and I was trying to remember where I got my test\/unit syntax from.\u00a0 I was looking to create a live template to create new test scripts in Rubymine. You actually have to make sure that you create the Selenium Driver object in a specific way or your scripts will not run on the Selenium Grid or they will not run in parallel correctly.\u00a0 Your test class must also always have a setup and tear down, even if you call a method out side of the class to setup the driver.<\/p>\n<p>There are 2 sources of information that you must understand and monitor for updates.\u00a0 First is the<a title=\"Selenium Grid \" href=\"http:\/\/selenium-grid.seleniumhq.org\/\" target=\"_blank\"> Selenium Grid <\/a>home page.\u00a0 Recently when Firefox 3.5 became available, I needed to update the version of the grid software I was using.\u00a0 The other site is the site for the <a title=\"selenium client\" href=\"http:\/\/github.com\/ph7\/selenium-client\" target=\"_blank\">selenium client <\/a>gem. You can find documentation here on how to structure your spec and test\/unit scripts so that they run on the grid.\u00a0 The gem and the grid\u00a0 are both maintained by the same person.\u00a0 I revisit the sites often to pick up tips on how to structure rake files and get tips for running scripts in parallel. In working with this software, I have become very familiar with the files in the rspec, deeptest, and selenium-client gems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been running test\/unit scripts on the grid for a while now and I was trying to remember where I got my test\/unit syntax from.\u00a0 I was looking to create a live template to create new test scripts in Rubymine. You actually have to make sure that you create the Selenium Driver object in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,7,9],"tags":[],"class_list":["post-86","post","type-post","status-publish","format-standard","hentry","category-automated-tests","category-ruby","category-selenium-grid"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86"}],"version-history":[{"count":3,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions"}],"predecessor-version":[{"id":89,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/86\/revisions\/89"}],"wp:attachment":[{"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/scottcsims.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}