Back to Browse

How to Setup Docker Selenium Grid 4 for Parallel Test Execution |Access VNC & noVNC from HOST

4.1K views
Oct 29, 2021
25:47

▶️ This is 7th Session in "Selenium Grid with Docker Series" and in this video, we will learn- How to Setup docker Selenium Grid 4 in Docker for Parallel Testcase Execution by configuring the Selenium Hub and Node Containers and exposing the ports to access VNC and noVNC services from the host machine. We will see how to do Selenium grid parallel execution. ▶️ First Docker Desktop should be installed on your system and then we can run docker commands for pulling the docker images and then we will run the containers. ⚡️ 1] Pull Images [ Selenium Hub- selenium/hub:4.0.0-rc-2-20210930, node-firefox:4.0.0-rc-2-20210930 and node-edge:4.0.0-rc-2-20210930 ] ⚡️ 2] Start the Network ⚡️ 3] Create and Run the Containers and Link nodes to Selenium Hub ⚡️ 4] You can expose the port for external connectivity and monitor flow by connecting nodes through the VNC Viewer. ⚡️ 5] You can map 7900 port of docker container to a port of the host machine to access noVNC service from browser from the Host machine itself. ⚡️ 6] You can check same with docker exec -it command and curl localhost:7900 and check CPU and memory with docker stats command ▶️ Once grid is up and running then we can run Selenium Testcases in parallel , sequentially, and same Testcase on multiple browsers chrome , Firefox , edge simultaneously. ✅ Selenium Grid With Docker:== https://www.youtube.com/playlist?list=PLlc_LrU50tliN8PZ7Xk41NwrnelPHchSk ====================================== ****************AJ AUTOMATION************** ====================================== 🔔 Learn automation from basic !! 🔔 ✅ Let's Learn the Concept in 5 To 10 Mins := https://www.youtube.com/playlist?list=PLlc_LrU50tljSA5wcIpKSYRDrGX3iLQQQ ✅ Selenium series videos Playlist := https://www.youtube.com/playlist?list=PLlc_LrU50tliMZrnSa0a9geljzCijPDfq ✅ Maven Tool videos playlist := https://www.youtube.com/playlist?list=PLlc_LrU50tlgWOrybr-Ppffg6T_1cXeUb ✅ Selenium WebDriver Exceptions Playlist := https://www.youtube.com/playlist?list=PLlc_LrU50tlisWfvF3qXmFTaTKDYkib_p ✅ Selenium Grid With Docker:== https://www.youtube.com/playlist?list=PLlc_LrU50tliN8PZ7Xk41NwrnelPHchSk ✅ Upload and Download Files in Selenium := https://www.youtube.com/playlist?list=PLlc_LrU50tlhD9ezHt9O-mlWjiu3XyS3U ✅ Excel and CSV files operations := https://www.youtube.com/playlist?list=PLlc_LrU50tlifVlnHI4ph5XuY1_pNusBy ✅ Java Language Concepts := https://youtube.com/playlist?list=PLlc_LrU50tliq2RV-1Yhr2IjJ5RqXCQjU ✅TestNG Framework Videos:= https://www.youtube.com/watch?v=-KEg20O6Mxs&list=PLlc_LrU50tlgMVcdTBSZXt34JavaOEY8G ✅ Become Master in Xpath:= https://www.youtube.com/watch?v=Wv1hHLhtnzw&list=PLlc_LrU50tlhzCzcfnY2S2vXnkFWorlT- ✅ Protractor series videos playlist := https://www.youtube.com/playlist?list=PLlc_LrU50tlim53VdVwAmCnBr8M2x38y8 ✅ Recent Uploads := https://youtube.com/playlist?list=PLlc_LrU50tljOnB-LUofJpBkeSMskcQVd ✅ GitHub Repo:= https://github.com/ajautomation ⚡️ Thanks for your support !! ⚡️ ====================================== **************** Thanks for watching !!************** ====================================== ⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️ #LearnSeleniumInEasyWay #SeleniumWebDriver

Download

0 formats

No download links available.

How to Setup Docker Selenium Grid 4 for Parallel Test Execution |Access VNC & noVNC from HOST | NatokHD