Selenium Automation Framework Tutorial - Setup Selenium Grid on Docker with Cross Browser Testing

Publié le: 19 juillet 2020
sur la chaîne: QASCRIPT
1,927
29

Learn how to setup Selenium Grid with Docker Containers and run parallel Selenium tests across multiple browsers and Operating Systems. Following will be covered in this video:
What is Selenium Grid?
When to use Grid?
What are the different components of Selenium Grid?
How to setup Selenium Grid in Docker
View test execution on remote machines using Vnc Viewer

Github Repository:
https://github.com/patebija/selenium-...

Docker Commands:
//Pull Selenium-hub image using command
docker pull selenium/hub

//Pull FireFox Debug image using command
docker pull selenium/node-firefox-debug

//Pull Chrome Debug image using below command
docker pull selenium/node-chrome-debug

//Check all the images are downloaded
docker images

//Running Selenium-hub inside Docker
docker run -d -p 4446:4444 --name selenium-hub -P selenium/hub

//Browser Configuration
localhost:4446/grid/console

//Check Selenium Hub container has started
docker ps -a

//Linking chrome image to Selenium-hub
docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug

//Linking FireFox image to Selenium-hub
docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug

//Verify Selenium Hub and node are running
docker logs "Selenium-hub ContainerId"

VNC Viewer Password: "secret"


Sur cette page du site, vous pouvez voir la vidéo en ligne Selenium Automation Framework Tutorial - Setup Selenium Grid on Docker with Cross Browser Testing durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur QASCRIPT 19 juillet 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,927 fois et il a aimé 29 téléspectateurs. Bon visionnage!