{"id":2520,"date":"2015-08-21T11:23:00","date_gmt":"2015-08-21T11:23:00","guid":{"rendered":"http:\/\/www.gallop.net\/blog\/?p=636"},"modified":"2018-10-03T14:31:30","modified_gmt":"2018-10-03T09:01:30","slug":"leveraging-selenium-grid-in-public-private-cloud","status":"publish","type":"post","link":"https:\/\/www.cigniti.com\/blog\/leveraging-selenium-grid-in-public-private-cloud\/","title":{"rendered":"Leveraging Selenium Grid in Public\/Private Cloud"},"content":{"rendered":"
Selenium-Grid<\/strong> is a method of testing using Selenium that enables simultaneous testing on different devices running different operating systems and browsers; basically a number of machines running multiple tests in parallel. Selenium Grid has two versions at the moment – Grid 1 and Grid 2 – but the newer Grid 2 is now more widely used. It has been designed to follow a hub<\/strong> and node<\/strong> fashion, where a single device known as the hub<\/strong> runs the test, and the nodes<\/strong> are constituted of various other machines that do the execution. Selenium-Grid supports distributed test execution.<\/p>\n Usually, there are two reasons for using Selenium-Grid.<\/p>\n A Selenium-Grid is extremely useful for reducing time on large and long-running test suites by executing the test pass on multiple machines at the same time, thereby dividing the time consumed by the number of machines used. This allows teams using Agile software development to receive test feedback faster. As mentioned earlier, another feature is being able to run tests on multiple environments (browsers, browser versions, machines, operating systems) at the same time.<\/p>\n Since the core idea is to run automated tests with Selenium, the ability to scale your testing is paramount. Therefore, organizations look to build a local infrastructure that can help scale their testing or be able to test against more browsers or operating system platforms. The infrastructure, however, comes at a significant cost, and so becomes cumbersome to maintain. A large organization can afford to run such a setup, which offers its own benefits, such as control over the system, and greater efficiency. But the downsides are high setup costs and getting fault positives because of infrastructure malfunctions.<\/p>\n The alternative is to implement a public\/private cloud service to help scale up test suites.<\/p>\n <\/p>\n Using a public\/private cloud enables the use of Selenium-Grid on the cloud, thereby entirely eradicating the need for any infrastructure and ensuing maintenance costs. A cloud-based testing bed is much more convenient to implement as depending on the cloud service provider one can immediately gain access to a large number of browser and operating system platforms to be able to test one\u2019s mobile and web applications. Clouds are available for use throughout the day and help substantially increase developer productivity. Also, the use of a cloud provides various feedback mechanisms such as logging, screenshots and video support, thereby appreciably reducing debugging times.<\/p>\n The only downside to using a cloud is that since one has to use the internet the use of a cloud is usually much slower as compared to a local grid, because the test has to travel to and from the cloud via a network that might not always be reliable. This issue can be worked around by running many parallel test runs, which shortens the overall testing time.<\/p>\n * On June 1, 2015, SeleniumHQ labeled Gallop Solutions as an Silver\u00a0Level Sponsor on their official website, www.seleniumhq.org<\/a>. This recognition confirms Gallop\u2019s position as a specialized software testing service provider, committed to making sure clients get value from their QA investments. Contact Gallop for you Selenium Test Automation<\/a> needs.<\/p>\n","protected":false},"excerpt":{"rendered":" Selenium-Grid is a method of testing using Selenium that enables simultaneous testing on different devices running different operating systems and browsers; basically a number of machines running multiple tests in parallel. Selenium Grid has two versions at the moment – Grid 1 and Grid 2 – but the newer Grid 2 is now more widely […]<\/p>\n","protected":false},"author":2,"featured_media":12980,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[1493,1501,1502,1510,1512,1521,1488],"ppma_author":[3736],"authors":[{"term_id":3736,"user_id":2,"is_guest":0,"slug":"admin","display_name":"Cigniti Technologies","avatar_url":{"url":"https:\/\/www.cigniti.com\/blog\/wp-content\/uploads\/120X120-1.png","url2x":"https:\/\/www.cigniti.com\/blog\/wp-content\/uploads\/120X120-1.png"},"user_url":"http:\/\/www.cigniti.com\/","last_name":"Technologies","first_name":"Cigniti","job_title":"","description":"Cigniti is the world\u2019s leading AI & IP-led Digital Assurance and Digital Engineering services company with offices in India, the USA, Canada, the UK, the UAE, Australia, South Africa, the Czech Republic, and Singapore. We help companies accelerate their digital transformation journey across various stages of digital adoption and help them achieve market leadership."}],"_links":{"self":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/2520"}],"collection":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/comments?post=2520"}],"version-history":[{"count":0,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/posts\/2520\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media\/12980"}],"wp:attachment":[{"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/media?parent=2520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/categories?post=2520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/tags?post=2520"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.cigniti.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}When should one use Selenium-Grid?<\/h4>\n
\n
Clouds and Selenium-Grid<\/strong><\/h4>\n
Some of the benefits of using the cloud are:<\/strong><\/h4>\n
\n