How to run Selenium C# Automation Testing in Docker

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มี.ค. 2024
  • Join us in this detailed walkthrough where we dive into the world of Selenium C# automation testing within Docker environments. This tutorial is designed for beginners and experienced testers alike, offering insights into setting up, writing, and executing your Selenium tests in a Docker container. Whether you're looking to integrate testing into your CI/CD pipeline or just wanting to learn about Docker's capabilities with Selenium, this video has something for everyone.
    This structured approach to the video description and tagging should help your content be more discoverable to those interested in Selenium C# testing within Docker environments, while also providing a clear and concise summary of what viewers can expect to learn.
    Download and Install Docker: www.docker.com/products/docke...
    Some commands for Docker:
    Pull Images:
    docker pull selenium/standalone-chrome
    docker pull selenium/standalone-firefox
    docker pull selenium/standalone-edge
    docker pull selenium/node-firefox-debug
    docker pull selenium/node-chrome
    docker pull selenium/node-firefox
    docker pull selenium/hub
    docker pull selenium/node-chrome-debug
    Start standalone:
    docker run -d -p 9999:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome
    Start hub and nodes:
    docker network create grid
    docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub
    docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub --shm-size="2g" -e
    SE_EVENT_BUS_PUBLISH_PORT=4442 -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443
    selenium/node-chrome
    Testing URLs:
    admlucid.com/Home/WebElements
    admlucid.com/Golf

ความคิดเห็น • 4

  • @MasterNeoRNCP
    @MasterNeoRNCP 13 วันที่ผ่านมา

    Can u share those links in ur description to the sites.. It is really helpful.

    • @testautomation2243
      @testautomation2243  12 วันที่ผ่านมา +1

      Hi @MasterNeoRNCP: Thank you very much for great suggestion, I updated the video description with URL and docker commands.