Zalenium | How To Set Your Selenium Grid using Zalenium | Day18 | Zalenium Docker Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

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

  • @TheTestingAcademy
    @TheTestingAcademy  4 ปีที่แล้ว

    Get a grid up and running in a few seconds!
    🚀 Docker commands Used i Demo
    ----------------------------------------------------------------
    1) Check docker version & Status:
    docker version
    2) Check available docker imges
    docker images
    3) Check available containers
    docker ps
    4) Removes all the stopped containers
    docker system prune -f
    5) Delete available docker imges
    docker rmi image ID
    6 docker start
    docker start container id
    7)docker stop
    docker stop container id
    ----------------------------------------------------------------
    Zalenium Setup
    ------------------------------
    1) If Zelenium images not downloaded earliar then start download using below commands
    docker pull elgalu/selenium
    docker pull dosel/zalenium
    2) Starting Zalenium
    -------------
    docker run --rm -ti --name zalenium -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock -v /c/Users/admin/temp/videos:/Users/admin/temp/videos --privileged dosel/zalenium start
    3) Stopping Zalenium
    ----------------
    docker stop zalenium
    URL's:
    Grid Console: localhost:4444/grid/console
    Live view: localhost:4444/grid/admin/live
    Live view(Refreshing Page): localhost:4444/grid/admin/live...
    Dashboard: localhost:4444/dashboard

  • @AkramSiddiqui-dw6kh
    @AkramSiddiqui-dw6kh 7 หลายเดือนก่อน

    Hi Sir,
    Right now is it taking the desired capabilities ?
    I believed it is replaced by the chrome_options so when I am using desired_capabilities I am getting error.
    Can you please help me with this ?
    Integration with Zalenium.

  • @sumeshattec
    @sumeshattec 4 ปีที่แล้ว +1

    Hi buddy
    Nice explanation.
    I have a small dbt.
    Do we need to Oracle VM or any VM to set up docker

    • @TheTestingAcademy
      @TheTestingAcademy  4 ปีที่แล้ว +1

      No need, you can use local machine also, or cloud providers like AWS, DO

    • @sumeshattec
      @sumeshattec 4 ปีที่แล้ว

      @@TheTestingAcademy Hi Buddy, i tried the following .
      - Using docker toolbox, run docker commands.
      - Successfully created 2 images and ran zalenium commands
      Problem:
      Unable to open the localhost [ it shows site cannot be reached]
      Url : localhost:4444/grid/console
      Please help

  • @ramkumariyer8282
    @ramkumariyer8282 3 ปีที่แล้ว

    I am not able to set the test name in the videos . Even in your video both videos have the same test name . I tried everything but i am not able to get it .
    Passed test name in desired capabilities and chromeoptions but not working . Can you help me with that if you have tried it ?

  • @DasRishov
    @DasRishov 2 ปีที่แล้ว

    The selenium grid is started but the containers are not visible I tried restarting the dosel/zalenium but still the container grids are not visible, can you help?

    • @TheTestingAcademy
      @TheTestingAcademy  2 ปีที่แล้ว

      Zelenium is out dated now use default docker selenium

    • @DasRishov
      @DasRishov 2 ปีที่แล้ว

      @@TheTestingAcademy Yeah but we need the live preview of the test runs, along with the videos of them. Can you confirm if i can do the same with docker/selenium

  • @kevinchristi
    @kevinchristi 3 ปีที่แล้ว

    Thank you

  • @janu238976
    @janu238976 2 ปีที่แล้ว

    Is it still working for docker version 4

    • @TheTestingAcademy
      @TheTestingAcademy  2 ปีที่แล้ว

      Yes it is working even now, but not maintained