Selenium Framework - Part 51 - Run Cross Browser Tests in Dockerised Selenium Grid - 20 mins

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 20

  • @shadowfrost420
    @shadowfrost420 Před 3 lety +3

    This is the best Docker series i watched ever , Thank you for your time and effort, you made Docker concept cake walk for QA community !

    • @TestingMiniBytes
      @TestingMiniBytes  Před 3 lety

      I am glad you liked the content. Thanks a lot for your feedback.

  • @amansharma-gj7eu
    @amansharma-gj7eu Před 3 lety +2

    Thanks bro for these knowledge videos.its really helping us to grow and learn new tech currently in demand

  • @vhvl3888
    @vhvl3888 Před 3 lety +1

    nice....

  • @lka5968
    @lka5968 Před 3 lety +1

    Excellent knowledge share,
    But, Amuthan, if a test keeps on running, and not stopping. How to approach this issue?
    Eg: Lets say, 2/4 tests were completed and the remaining 2 are running continuously in IDE, - How to know what the problem is? and
    - How to rectify it?

  • @prabhukrishnan6017
    @prabhukrishnan6017 Před 2 lety +1

    Amuthan, I followed this video and create the hub but node is not registered and also in the logs it displayed as " Couldn't register this node: Error sending the registration request: The hub responded with 404"
    As you mentioned in the previous comments, I'll continue this series to learn about the docker compose, incase if you think I made any mistake correct me. Thanks Amuthanm, I,m enjoying this series

    • @prabhukrishnan6017
      @prabhukrishnan6017 Před 2 lety

      Also, hub is active but the nodes alone not getting registered. Checked the hub logs 01:19:57.695 INFO [Hub.execute] - Started Selenium Hub 4.4.0 (revision e5c75ed026a):

    • @TestingMiniBytes
      @TestingMiniBytes  Před 2 lety +1

      With the recent advent of seleniun 4 , this video have become outdated. Please continue watching and start using selenoid instead of selenium grid

  • @maxsudik
    @maxsudik Před 2 lety +1

    Hi Amuthan, Thank you again for the awesome series of the videos. Could you pls share your thoughts regarding resource consumption of the containers? How to understand possibility of the local machine or clound server where images are deployed if it runs normally or it starts lagging because of the number of node containers? Is there any data regarding how many containers can we run in parallel on AWS EC2 or what are some examples of machine configuration and number of containers? Or maybe we can somehow monitor resources at the runtime?
    Thank you again!

    • @TestingMiniBytes
      @TestingMiniBytes  Před 2 lety +1

      Docker stats command can help you to understand how much cpu that each container is consuming.
      There are other way as well but this os the simplest.

  • @Payazee
    @Payazee Před 2 lety +1

    Couldn't register this node: The hub is down or not responding: The hub responded with 404.
    getting this log in node. My hub is up but still not able to register node and hub.
    Using Selenium 4 hub

    • @TestingMiniBytes
      @TestingMiniBytes  Před 2 lety

      Please continue watching the next videos, I will use docker compose file to spin up the containers. You don't have to use these many commands.

  • @Payazee
    @Payazee Před 2 lety +1

    I am trying to run my test parallel in same browser inside docker but not working. I am using dataprovider paraller=true.

    • @TestingMiniBytes
      @TestingMiniBytes  Před 2 lety

      are there two chrome containers? Have you scaled the containers to two. By default it will have only onw chrome container.

  • @kranthikumarkatta9588
    @kranthikumarkatta9588 Před 3 lety

    Following

  • @sagars3332
    @sagars3332 Před 3 lety +1

    Hi bro I am getting below error on running docker command to start chrome node and link with hub ... not finding solutions for it
    docker run -d --link selenium-hub:hub selenium/node-chrome-debug:latest
    docker: Error response from daemon: could not get container for selenium-hub: No such container: selenium-hub.
    See 'docker run --help'.

    • @TestingMiniBytes
      @TestingMiniBytes  Před 3 lety +2

      It is clearly telling that it cannot find the selenium hub container. Please continue watching we will use docker conpose file to spin up all containers.

    • @sagars3332
      @sagars3332 Před 3 lety +1

      @@TestingMiniBytes actually instead of using selenium-hub in docker run command when I give hub container Id then it works