Parallel Execution in Selenium in just 15 minutes! || Selenium Webdriver || Automation || Java

  Рет қаралды 19,961

Sameer Arora

Sameer Arora

Күн бұрын

Пікірлер: 42
@gm4afsal
@gm4afsal 4 жыл бұрын
I requested this tutorial and you made it. Thanks a lot, appreciate it. 💯
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Welcome Afsal, I am glad that it is useful for you!
@engineerlarki3857
@engineerlarki3857 4 жыл бұрын
Appreciate for the video.. explained with ease.
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Thank you! I am glad it is helpful! :)
@shivrajsingh1106
@shivrajsingh1106 2 жыл бұрын
Thank you so much bro. Love from heart
@RahulJenaknow_it
@RahulJenaknow_it 4 жыл бұрын
very clearly and practically explained,can you come up with a video how to set up appium for ios device on mac/linux
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Thanks Rahul, I am glad it is helpful! And yes, I will definitely make a video on setting up appium for ios device on mac.
@maheshkumarvishwakarma
@maheshkumarvishwakarma 3 жыл бұрын
Thanks alot !😀
@sameerarora3656
@sameerarora3656 3 жыл бұрын
Hi Mahesh, thank you! I am glad the video is helpful!
@maheshkumarvishwakarma
@maheshkumarvishwakarma 3 жыл бұрын
@@sameerarora3656 Just one question sir. I'm not able to attach the failed screenshots to the generated report. I used try { loggerL.get().addScreenCaptureFromPath(fileName); }catch(Exception e) { e.printStackTrace(); } } where fileName = System.getProperty("user.dir") + File.separator + "screenshots" + File.separator + result.getMethod().getMethodName();
@rajanv4948
@rajanv4948 3 жыл бұрын
Sameer wonderful.
@sameerarora3656
@sameerarora3656 3 жыл бұрын
Glad it was helpful!
@mohansm3065
@mohansm3065 2 ай бұрын
Nice
@Sandeepkumar-iy9vj
@Sandeepkumar-iy9vj 4 жыл бұрын
Great video 😊
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Thank you! I am glad it is helpful!
@gunaseelan7732
@gunaseelan7732 22 күн бұрын
Hi what will happen if we execute both the test on same browser eg chrome will it be running parallely
@loveyourself6621
@loveyourself6621 3 жыл бұрын
Hey Hi Sameer, it's very clean and clear way of explanation....can u upload API as too
@sameerarora3656
@sameerarora3656 3 жыл бұрын
Thank you Seetha! Sure will do that soon.
@ravip-v9z
@ravip-v9z 11 ай бұрын
Sameer, do you have this sample code for download?
@samson2045
@samson2045 Жыл бұрын
Hi..I'm facing issue in parallel execution. sequential mode test cases are running fine.. In parallel, few test cases are getting failed due to unable to click or focus element in the browser..Any suggestion to resolve this issue?
@adityakumarravi8701
@adityakumarravi8701 4 жыл бұрын
Hi Sameer, I have a doubt. what was the need for creating currentInstance object. We could have created BaseTest object in the onTestFailure() method and called the getDriver method, right? Also, the extent report objects are still static, will it run correctly if executed parallelly? Nice video btw...
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Thank you Aditya for the feedback. Yes we can also create an object of the BaseTest and then call the getDriver() method and in the extent reporting the test cases results will work seamlessly however the logging needs to be taken care of.
@sriramkukkadapu872
@sriramkukkadapu872 2 жыл бұрын
Can we run it like 2 chromes and 2 firefox windows opens at same time ?? I am trying this and not able to achieve it
@HarishM-fw9nq
@HarishM-fw9nq Жыл бұрын
Hi Sameer, Thanks for the video I am getting No Such Element Exception while running in parallel execution. where the same test case was running successfully when I run individually. Here I am using the Cucumber framework. Could you please help me out with solution
@sandeshprabhu8047
@sandeshprabhu8047 3 жыл бұрын
How to do parallel execution of keyword driven framework
@ganeshadsule9414
@ganeshadsule9414 3 жыл бұрын
Hi Sameer.. Thanks for the video.. For logging its not working as expected.. Both testCases logs are getting merged in single test result in the report. can you pls suggest
@pratibharawat5379
@pratibharawat5379 4 жыл бұрын
Thank you sameer well explained 👍🏻 Could you please share for appium also it will be helpful.
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Thank you Pratibha! I am glad you liked it and yes i will try to make one for appium as well.
@feeding.animals9710
@feeding.animals9710 3 жыл бұрын
@@sameerarora3656 thanks please make the same for appium
@sameerarora3656
@sameerarora3656 3 жыл бұрын
@@feeding.animals9710 Yes I have already made a video for parallel execution in appium, you can find it here: kzbin.info/www/bejne/gXbLlXSMqpqAp5o
@nidar2323
@nidar2323 3 жыл бұрын
I am just wondering , how thr report are getting generated for parallel execution , don't you think , you need to handle extents test object using thread local
@rajann44
@rajann44 2 жыл бұрын
When I run test through command line, they are running in sequentinal order NO PARALLEL RUNNING. How to solve it?
@meenuchhabra4223
@meenuchhabra4223 4 жыл бұрын
Well explained... can you share parallel execution using appium
@sameerarora3656
@sameerarora3656 4 жыл бұрын
Thank you Meenu! I will be sharing a video on parallel execution using appium soon.
@SingaporeChinnodu
@SingaporeChinnodu 3 жыл бұрын
Hi Sameer, I think we can achieve parallel execution without using threadlocal webdriver configuraiton.Could you tell why this is used here? I see in all other tutorials they are simply specifying Webdriver driver.
@ParagOak
@ParagOak 3 жыл бұрын
How to get browser name on report ( class / test ) while running in parallel or normal?
@sameerarora3656
@sameerarora3656 3 жыл бұрын
Hi Parag, I did not understand your question, may you please try to rephrase it so that I am able to help you on this
@ParagOak
@ParagOak 3 жыл бұрын
@@sameerarora3656 my question is lets say I wanted to execute two test class ( one for logintest.java and another is dashboardTest.java ) in parallel on chrome and firefox. So how I get that execution on report that these test are executed on which browser? So I get to know that if there is bug on firefox or on chrome ( same for different test under same class file like loginTest.java with positive and negative scenarios running on different browsers in parallel)
@ShivaniDamodar7
@ShivaniDamodar7 Жыл бұрын
@@ParagOak i have same doubt. did you get the solution?
@sridharvumma1625
@sridharvumma1625 3 жыл бұрын
Do you have code for all this, if so please share the github project
@shubhamparab5466
@shubhamparab5466 3 жыл бұрын
@Sameer Arora Hey Can you share Github link ...for this project ? that would help a lot :)
Retry Logic In TestNG || How to execute failed test cases in Selenium WebDriver
30:13
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
Tutorial 10:TestNG with intelliJ IDE| Parallel Tests
28:01
SDET- QA
Рет қаралды 53 М.
Selenium Framework for Beginners 23 | TestNG Grouping | How to group tests
15:00
Automation Step by Step
Рет қаралды 33 М.
Mastering Parallel Execution: Overcoming Challenges in Selenium Testing || TestNG
22:06
PrinceAutomationDestination
Рет қаралды 4,1 М.
10 | Cucumber Tutorial | Parallel Execution Using JUnit and Maven Plugins
15:32