{"id":2994,"date":"2020-07-08T22:50:08","date_gmt":"2020-07-08T17:20:08","guid":{"rendered":"https:\/\/scrolltest.com\/?p=2994"},"modified":"2020-07-08T22:51:23","modified_gmt":"2020-07-08T17:21:23","slug":"selenium-grid-tutorial-for-beginners","status":"publish","type":"post","link":"https:\/\/scrolltest.com\/selenium-grid-tutorial-for-beginners\/","title":{"rendered":"Selenium Grid Tutorial For Beginners (Step By Step)"},"content":{"rendered":"<p>In this video, We are going to learn about the Selenium Grid, What is is and How to run Selenium Grid in less than 5 min with step by step.<\/p>\n<p>\ud83d\ude80 Day 30 Task : JavaScript Executor in Selenium\ud83d\ude80 All Task List : <a href=\"https:\/\/scrolltest.com\/automation\/task\" target=\"_blank\" style=\"outline: none;\" rel=\"nofollow\" class=\"shortlink shortlink-36\">https:\/\/scrolltest.com\/automation\/task<\/a>\ud83d\ude80 Watch Full Playlist : <a href=\"https:\/\/apitesting.co\/30days\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener noreferrer\">https:\/\/apitesting.co\/30days<\/a><\/p>\n<h2 style=\"text-align: center;\"><strong>What is Selenium Grid?<\/strong><\/h2>\n<p>&#8211; It is Part of Selenium Suite.- It Provides running multiple tests across different browsers, operating systems, and machines in parallel.- It has a concept of Hub and Node.Hub : Where you run the Test.Hub Passes Execution to NodesNode : Where Execution Happens<\/p>\n<p><span><img decoding=\"async\" alt=\"Selenium Grid Explained\" data-id=\"3001\" width=\"667\" data-init-width=\"940\" height=\"559\" data-init-height=\"788\" title=\"Selenium Grid Explained\" loading=\"lazy\" src=\"https:\/\/scrolltest.com\/wp-content\/uploads\/2020\/07\/Selenium-Grid-Explained.png\" data-width=\"667\" data-height=\"559\" style=\"\"><\/span><\/p>\n<h2 style=\"text-align: center;\"><strong>Why we need Selenium Grid?<\/strong><\/h2>\n<p>1. Multiple tests across different browsers2. Parallel Testing3. Speed and Decrease Execution Time<\/p>\n<h2 style=\"text-align: center;\"><strong>How to Setup Selenium Grid?<\/strong><\/h2>\n<p>\ud83d\udfe2 Step 1 &#8211; Download the Selenium Server. &#8211;<a href=\"http:\/\/selenium.dev\/downloads\" style=\"outline: none;\" target=\"_blank\" rel=\"noopener\">http:\/\/selenium.dev\/downloads<\/a>\ud83d\udfe2 Step 2 &#8211; Run Server as Hub Rolejava -jar selenium-server-standalone-3.4.0.jar -role hubhttp:\/\/192.168.1.2:4444\/grid\/consolehttp:\/\/localhost:4444\/grid\/console\ud83d\udfe2 Step 3 &#8211; Connect Node in Same Network.java -jar selenium-server-standalone-3.141.59.jar -role node -hub http:\/\/192.168.1.106:4444\/grid\/register\ud83d\udfe2 Step 4 : Verify the http:\/\/192.168.1.2:4444\/grid\/console<\/p>\n<p>\ud83d\ude80 Tools and services I recommend:Some of the courses that I recommend to become better Automation Tester \ud83d\ude4c\ud83d\ude4c<\/p>\n<p>\u2705Learn Jenkins for QA &#8211;<a href=\"https:\/\/bit.ly\/learnjenkins-p1\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/bit.ly\/learnjenkins-p1<\/a>\u2705Programming Java &#8211;<a href=\"https:\/\/bit.ly\/learnjava2020-p1\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/bit.ly\/learnjava2020-p1<\/a>\u2705Test Automation &#8211; <a href=\"https:\/\/bit.ly\/learnautomation2020\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener noreferrer\">https:\/\/bit.ly\/learnautomation2020<\/a>\u2705API Testing &#8211; <a href=\"https:\/\/www.learnapitesting.com\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener noreferrer\">https:\/\/www.learnapitesting.com<\/a>\u2705Cypress Tutorial with LIVE Projects &#8211;<a href=\"https:\/\/cypresstutorial.com\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/cypresstutorial.com<\/a><\/p>\n<p>\u200b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this video, We are going to learn about the Selenium Grid, What is is and How to run Selenium Grid in less than 5 min with step by step. \ud83d\ude80 Day 30 Task : JavaScript Executor in Selenium\ud83d\ude80 All Task List : https:\/\/scrolltest.com\/automation\/task\ud83d\ude80 Watch Full Playlist : https:\/\/apitesting.co\/30days What is Selenium Grid? &#8211; It&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2999,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[26],"tags":[],"class_list":["post-2994","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-testing"],"taxonomy_info":{"category":[{"value":26,"label":"Testing"}]},"featured_image_src_large":["https:\/\/scrolltest.com\/wp-content\/uploads\/2020\/07\/Selenium-Grid-Tutorial-For-Beginners-1024x576.png",1024,576,true],"author_info":{"display_name":"Promode","author_link":"https:\/\/scrolltest.com\/author\/admin\/"},"comment_info":0,"category_info":[{"term_id":26,"name":"Testing","slug":"testing","term_group":0,"term_taxonomy_id":26,"taxonomy":"category","description":"","parent":0,"count":457,"filter":"raw","cat_ID":26,"category_count":457,"category_description":"","cat_name":"Testing","category_nicename":"testing","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/posts\/2994","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/comments?post=2994"}],"version-history":[{"count":0,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/posts\/2994\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/media\/2999"}],"wp:attachment":[{"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/media?parent=2994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/categories?post=2994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scrolltest.com\/wp-json\/wp\/v2\/tags?post=2994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}