6. Selenium Grid 4 using Docker- Grid Setup using Kubernetes

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 8

  • @yasaswiniparakala
    @yasaswiniparakala 10 місяців тому +1

    how does it support video recording ?

    • @TestAutomationwithAtulSharma
      @TestAutomationwithAtulSharma  10 місяців тому

      Thanks for reaching out.
      I have to explore that with minikube, did not find any documentation about it but its possible with helm.
      You can follow the instruction given at-github.com/SeleniumHQ/docker-selenium/blob/trunk/charts/selenium-grid/README.md
      Will soon come up with videos about it.

  • @hopoce
    @hopoce 6 місяців тому +1

    Hey, your videos helped me a lot...
    But i have a question now...
    I have a c# with selenium solution that already redirects and based on the browser i choose in the app setings.json file it goes to the respective node. But now I want to create a node everytime I run a collection. For example... If i run the Collection for the login tests, it will create me a node and after the execution, it shut down the node. Should i use kubernets as well? Do you have any other approach? Im running the selenium grid 4 in a ubuntu server 24.0'4 with hub 4.21, chrome node 125.0, edge 125.0 as well

    • @TestAutomationwithAtulSharma
      @TestAutomationwithAtulSharma  6 місяців тому

      Hi,
      Thanks for the feedback!
      You can create a Kubernetes job to spin up a node for the duration of a test execution.
      Modify your test automation framework to trigger the Kubernetes job at the start of a test collection execution and ensure the job is cleaned up afterward.
      Before execution starts:
      kubectl create -f selenium-node-job.yaml
      After the test complete:
      kubectl delete job selenium-node-job.yaml
      Other solution is docker compose, I have created a video on this as well where I have done auto-scaling on suite level but same autoscaling can be done on test level.as well-
      ua-cam.com/video/YklEOb359S8/v-deo.html

  • @MartinO3669
    @MartinO3669 6 місяців тому +1

    Hi, I have one question: how do I access this setup from another machine? How to get acces to selenium grid from another machine to run tests from there ?

    • @TestAutomationwithAtulSharma
      @TestAutomationwithAtulSharma  6 місяців тому +1

      Hi,
      Thanks for reaching out!
      To access your Selenium Grid setup running on Minikube from another machine, you'll need to expose the Kubernetes Service to the external network.
      Reference-
      kubernetes.io/docs/tutorials/hello-minikube/#create-a-service

  • @confusedjoker1303
    @confusedjoker1303 Рік тому +1

    ✨✨

  • @Anurag-om5mx
    @Anurag-om5mx Рік тому

    GREAT