Selenium Grid Modes | Hub and Nodes | How to setup selenium grid with different machines as nodes

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • In this video I am gonna discuss how you can setup selenium grid in hun and node mode.
    We can setup the grid in three different modes.
    1. Standalone Mode
    2. Hub and Node
    3. Distributed Mode
    Now lets move inside the video to see in details.
    *************Please comment in case of any query************
    Please watch below video as well -
    To start with selenium project in c#. : • Selenium with C# | Cre...
    5 time saving tips for visual studio : • 5 Time Saving Shortcut...
    Drag and drop operation in selenium : • How to perform drag & ...
    How to switch dotnet core version : • How to switch .Net cor...
    Ternary or conditional operator : • Replace if-else block ...
    String manipulation : • Avoid using String var...
    Klov report server : • Selenium with C# | Klo...
    Dynamic v/s Var in c# : • Dynamic vs Var | C#

Комментарии • 28

  • @priyasinha.9
    @priyasinha.9 Месяц назад +1

    Thanks , very well explained in a simplified way .

  • @birdeyeviewschannel6416
    @birdeyeviewschannel6416 Месяц назад +1

    Its amazing to see you are hiding and masking your local node or hub addresses ? They are local to your machine !! lol

    • @maximumautomation
      @maximumautomation  Месяц назад

      This is because I have something to hide 🙃. Anyways, thank you for watching the video. 😊

  • @redappleapple622
    @redappleapple622 Месяц назад +1

    What was the URL YOU HAVE given?
    our local machine or node URL?

    • @maximumautomation
      @maximumautomation  Месяц назад

      Sorry I didn't get you. Where you want to provide the URL, creating a remote driver object or while setting up a remote machine as a node?

    • @redappleapple622
      @redappleapple622 Месяц назад

      I am taking about the IP ADDRESS?

    • @maximumautomation
      @maximumautomation  Месяц назад

      If your node is on your local machine then the URL will be localhost. But if it's a VM then you have to provide the VM ip.

  • @bijayalaxmidora2022
    @bijayalaxmidora2022 Год назад +1

    I am getting sending registration event for long time when adding node in remote machine and node is not getting added. But its working fine in same machine. Can you please guide me

    • @maximumautomation
      @maximumautomation  Год назад

      Looks like some network issues. Could you please try to ping the remote machine from your local machine? And see if there is any packet drop.

  • @user-zb6ee6rz9b
    @user-zb6ee6rz9b Год назад +1

    when I trying this its shown "C:\Users\Downloads>java -jar selenium-server-4.9.0 jar standalone
    Error: Unable to access jarfile selenium-server-4.9.0" Let me know how can I fix this

    • @maximumautomation
      @maximumautomation  Год назад +1

      Please check if you are using the correct path for the selenium jar file. Also try to open the cmd prompt in run as admin mode.

  • @vvp726
    @vvp726 Год назад +1

    Do I need only browser driver installed on my machine or I also need actual browser in order to run tests?

    • @maximumautomation
      @maximumautomation  Год назад +1

      You only need to have actual browsers installed on your machines.

    • @vvp726
      @vvp726 Год назад +1

      @@maximumautomation and if we talk about remote machine, I also need only browser instance installed on remote machine and that's it?

    • @maximumautomation
      @maximumautomation  Год назад

      Correct.

  • @prasanthvb8527
    @prasanthvb8527 Год назад

    I'm not able to get any drivers in selenium-server-4.11.0v. Please post a video on this

  • @rajutela4732
    @rajutela4732 Год назад +1

    Hi, Thank you for detail explanation regarding selenium grid, I need to do config set for passing additional headers for selenium grid through json file(for both hub and node).. can you help on this..

    • @maximumautomation
      @maximumautomation  Год назад

      Hi,
      You can go through the below documents to pass your configuration values in the hub and node json file.
      www.selenium.dev/documentation/legacy/selenium_3/grid_setup/

  • @MariemMili4
    @MariemMili4 6 месяцев назад +1

    thanks

  • @HeroSanjA
    @HeroSanjA 7 месяцев назад +1

    How i can run test on specific node?

    • @maximumautomation
      @maximumautomation  7 месяцев назад +1

      If you have nodes with different browsers and OS configuration, then you can pass the capabilities in browser options to run on a specific node.
      capabilities.setBrowserName(“chrome”);
      capabilities.setPlatform(Platform.WINDOWS);

    • @HeroSanjA
      @HeroSanjA 6 месяцев назад +1

      @@maximumautomation thank you so much

  • @Reddy-fo7te
    @Reddy-fo7te Год назад

    same machine I was able to get it. Bu when adding node on different machine its showing as sending registration event...
    I pinged the ip address of hub from node server its working.
    Could you suggest me where i was doing wrong?

    • @maximumautomation
      @maximumautomation  Год назад

      Please enable log debugging by adding --log-level FINE in the selenium hub command. Once done please share the error logs.

  • @gopalk7528
    @gopalk7528 Год назад

    No need single machine connection 😮

  • @gopalk7528
    @gopalk7528 Год назад

    No need single machine connection 😮

  • @gopalk7528
    @gopalk7528 Год назад

    No need single machine connection 😮