Auto Scale Selenium Grid with Runtime Container- Zalenium (Docker With Kubernetes)
Vložit
- čas přidán 21. 08. 2024
- In this video, we are going to share tool called Zalenium, which will help you to Auto Scale Selenium Grid with Runtime Container.
Imp links
opensource.zal...
github.com/zal...
If new on docker then visit below playlist
• What is Docker and How...
If new to Selenium Grid then check below video
• Selenium Grid Tutorial...
Mukesh Ji, Thank You for sharing this video. Its very informative. Please continue with your great work...!!! :-).
Thank you, I will.
Great content like always. Thanks Mukesh :)
Waiting for Kubernetes and AWS videos.
Superb Video Mukesh, You make it look so easy..
Hi Prashanth thank you.
thanks for sharing mukesh.. love learning from your videos !!
Thanks Umang and I really appreciate your dedication. When everyone was enjoying new year and you were improving your skills. Keep learning.
Hi Mukesh, since Zalenium is sort of deprecated now, can you please look into Selenoid and suggest whether it can be an alternative? If possible, a detailed video on Selenoid would be great!!!
Nice videos Mukesh thanks
Thank you Martin 😊
Thank you so much for your effort..🙏🙏
Thanks Abhishek
Thanks for sharing Mukesh. Your explanation is easy to understand and can you post video on Sauce labs , Kubernates
Thank you Mukesh sir :)
Thank you @mukesh ☺️
Welcome Vijay
Really helpful, thank you sir..
Hi Mukesh,
Thanks for providing docker videos.
I have one question.
How to pull IE and Edge images in docker for automating tests in IE and Edge using selenium webdriver?
Could please you make video on this
There are no official images for ie and edge in docker. .
Very useful vedio..
Thanks Rama 🙏
Awesome video as always! Just a small doubt, the 2 default containers will be up always? Like in the video, it shows that the 3rd one(created on runtime) got destroyed. But the othe 2 are still shown on the console. Thanks a lot bdw:)
Hi Mukesh, thanks for the video very informative.
Would like to know till when recorded videos will be available?
Hi Mukesh, nice video by you,I have a small doubt we can just lock our system and run the scripts?
Yes Vinay selenium script can be executed in VM or in local system when it is locked. You can also run selenium script in headless mode. learn-automation.com/how-to-run-selenium-test-in-headless-mode-in-chrome/
Thank you 😊
Thanks Mukesh for the video.. What's the difference between Selenoid and Zalenium
Hi Mukesh, With Zelenium is it possible to instantiate hub and nodes in different machines connected on same network?
Hi Himanshi, in that case you need to use Docker. Zalenium create automatic contains at runtime.
Here is the link for Docker with Selenium czcams.com/video/pBTH9FsgQuc/video.html
Hi Mukesh,
Thanks for such wonderful video, can we run test scenario on different browser version? I want to run test scenarios on old chrome and FF browser, is it possible?
please help me
Hey Laxman by default these images will have latest browsers only.
Hi Mukesh,
Is it possible to launch multiple chrome instances on one Docker Container for parallel execution?
Thanks in advance!
Yes Prasad Zalenium support multiple instances, it will create run time container each time.
Hi Mukesh can you do a video on monting folders or files in zalenium server
sure Shabana can u tell me what is your requirement as of now ?
Hi Mukesh,
I am working on selenium c#, VSTS.
Can we use docker on VSTS?
Hi Mukesh - Just wanted to know why only LINUX node is created what if I want to run on mac node or windows node ? How can I achieve that I tried setting Platform_Name.Windows but not working
Hello mukesh, thanks for video, I tried the same steps it works fine on docker but when I launch the browser localhost:4444/grid/console it says this site can't be reached but on docker cli it's running as shown in the video.
I tried with IP address also it's giving me the same error
Hi Sudharkar, execute the test and then share the logs.
@@Mukeshotwani thanks for the swift response, with out having zalanium running on my browser will my Java scripts doesn't fall in to trouble? If you are referring logs which logs you want me to share you?
have you tried "localhost:4444/wd/hub"
@@Mohammed-yi1ku yes but don't work
Same issue for me also
how to configure the above script if I want to run tests on different machine rather than localhost?
Any tutorial links?
Hi Abhishek, Zalenium is only installed on local system but it is running our test on containers. You can install Zalenium on any other system/server and then you can access via ip:port
@@Mukeshotwani ok will try. Thnx
Is any plan to create video with Jenkins + Zelenium?
Hi Mukesh,
If I execute the testcases with chrome browser, it is crashed.
Error:
unknown error: Chrome failed to start: crashed.
When I encountered the same error for selenium grid with docker, I just removed below lines
volumes:
- /dev/shm:/dev/shm
But I am unware how to resolve it in Zalenium.
Thank you in advance
I want to run 30 parallel tests on docker, this test consume lot of CPU. Can I achieve this with zalenium, sir
Hi Mukesh
When I execute the command, it is not creating any nodes.
Error:
17:11:08.125 [AutoStartProxyPoolPoller] WARN d.z.e.z.proxy.AutoStartProxySet - Waited 184962 for ContainerStatus [containerId=zalenium_jFQ1cI, timeCreated=1624979283163, timeStarted=Optional.empty, proxy=Optional.empty, shuttingDown=false] to start, which is longer than 180000.
I had existing selenium/hub images available, they caused the issue
Hi Mukesh,
As per "github.com/zalando/zalenium",
This is a Selenium Grid extension to scale your local grid dynamically with docker containers. It uses docker-selenium to run your tests in Firefox and Chrome locally, if you need a different browser, your tests can get redirected to a cloud testing provider (Sauce Labs, BrowserStack, TestingBot, CrossBrowserTesting, LambdaTest).
Does it mean that we can link Zelenium and SauceLab ? any referral video ?
Hi Mir Ali, yes you can use Zalenium with SacueLab too. I will record video on this too soon.
It's Zalenium, not Zelenium.
Thanks Buddy let me make changes.. it's small typo mistake.
@@Mukeshotwani No problem dude. Thanks for the video. Btw, I tried to use Zalenium in December 2018 at my work, but it had a memory leak so the tests failed. There are few bugs about this issue in GitHub. I don't know how it is works now because I gave up when I saw that they didn't fix it even after few months.