Parallel Execution in Appium in just 15 minutes! || Automation || TestNG || Mobile Apps || Java

Almost every company has its own app and we cannot manually test everything everytime, so there comes the need to do automation and if you are automating multiple flows in your app then it will take a lot of time for the whole execution to be completed, so there comes the need to do parallel execution.
By parallely executing the script, we can save our time and we can also increase the test coverage by running the same script on multiple devices and multiple OS at the same time.
In this video we will learn how to do parallel execution in appium step by step.
If you want to learn how to build an automation framework from scratch, you can watch the video from here: • Building Selenium Auto...
If you want to learn how to do parallel execution in selenium, you can watch the video from here: • Parallel Execution in ...
Did you know that I rejected the offer from Adobe? Do you want to know the reason and do you want to know the questions that they ask in their interview process? You can watch the video from here to get all the insights: • When I rejected the of...
Please like, share and subscribe and do let me know the feedback in the comments section.
Thank you!

Пікірлер: 32

  • @crhoads1024
    @crhoads1024 Жыл бұрын

    Fantastic walk thru. Thank you!

  • @DurgaPrasadPatroOdisha
    @DurgaPrasadPatroOdisha2 жыл бұрын

    Thank you Sameer, nice explanation.

  • @engineerlarki3857
    @engineerlarki38573 жыл бұрын

    Nicely explained..!! Thanks for the video..

  • @sameerarora3656

    @sameerarora3656

    3 жыл бұрын

    Thank you! I am glad that it is helpful!

  • @muskaanchoudhary2623
    @muskaanchoudhary26233 жыл бұрын

    Very helpful!

  • @sameerarora3656

    @sameerarora3656

    3 жыл бұрын

    Thank you Muskaan, I am glad it is helpful!

  • @rameshkala5741
    @rameshkala57412 жыл бұрын

    Hi Sameer, First of all, thanks for the nice video that you made for parallel execution. My question is what are the different maven dependencies added in this parallel execution project, could you tell me those exact version numbers and what is the Appium server version you have installed?

  • @sujeetkumar-dt7xk
    @sujeetkumar-dt7xk8 ай бұрын

    Thanks bhai

  • @crhoads1024
    @crhoads1024 Жыл бұрын

    How would you convert a page object model framework over to use this setup which uses PageFactory vs ElementFetch?

  • @kartikjoshi3963
    @kartikjoshi3963 Жыл бұрын

    Hello Sameer, i understand u use port number for different devices, however if my device are on browser stack or some other cloud like seetest, i just need to provide the same url coz in that case there is no port number to be parameterized right?

  • @VasersonYT
    @VasersonYT2 жыл бұрын

    Awesome video. Maybe somebody knows, what if I need to get "startActivity" specific to AndroidDriver during the test, to validate changes in another app? ((AndroidDriver) driver).startActivity doesn't work because of ThreadLocal as I think.

  • @payalgoyal6346
    @payalgoyal63463 жыл бұрын

    Hi Sameer, Thanks for the explanation. In this video, You have explained how to run 2 different test cases on 2 deices. How can we make 1 test case to run on multiple deices in parallel?

  • @ranareddy4267

    @ranareddy4267

    3 жыл бұрын

    Hi Payal , I wanted to know how we can run different tests on 2 devices. Let me know if you get some info. Meanwhile if get any info will share here

  • @katdareshruti
    @katdareshruti2 жыл бұрын

    Any reason why initiateDriver is in @BeforeMethod and not @BeforeClass?

  • @cesarmejia7766
    @cesarmejia7766 Жыл бұрын

    Hi, How can I make a test suite to run on multiple devices in parallel? For example, i want 5 tests run in 2 devices randomly.

  • @viveksrivastava4264
    @viveksrivastava42643 жыл бұрын

    Hi Sameer, very nice and explained video. Thanks a lot for it. But I have a question can we run test cases parallelly on a same device ? I mean, I have connected on mobile device to my system and need to run multiple test case at a same time, is it possible ?

  • @sameerarora3656

    @sameerarora3656

    3 жыл бұрын

    Hi Vivek, as per my knowledge currently we cannot run our automation code in parallel on a single device. What you can do is you can open two simulators on your machine and then run the code on those simulators parallely like I have done in the video.

  • @viveksrivastava4264

    @viveksrivastava4264

    3 жыл бұрын

    @@sameerarora3656 Thanku so much for your reply

  • @automationtester5555
    @automationtester55553 жыл бұрын

    Great Video...Sameer how we can take the screenshot because Takescreenshot method needs static driver but in our case its not static

  • @sameerarora3656

    @sameerarora3656

    3 жыл бұрын

    Hi, the driver is threadlocal and it has a getDriver method which can be used to take the screenshot, I have made a video to change the static driver to threadlocal and that can be learnt here: kzread.info/dash/bejne/eIqIp8qzZdO1ZpM.html , you can refer to this video for more info.

  • @sakshamsinghal1688
    @sakshamsinghal16886 ай бұрын

    Hi Sameer , actually my 2 emualtors are open but system is crashing at the same time can you please suggest some solution

  • @annasonita1186
    @annasonita11863 жыл бұрын

    Thanks you very much for sharing. Could you share the source code?

  • @haderiumtech
    @haderiumtech Жыл бұрын

    how he set KEY and automatically change to CapabiltyName??

  • @rm9125
    @rm91253 жыл бұрын

    Thanks for sharing the knowledge. Do you have any other videos or planning to record more videos on Appium? Thanks in advance

  • @sameerarora3656

    @sameerarora3656

    3 жыл бұрын

    Thanks! I am glad that the video is helpful and yes i will be uploading more videos related to selenium and appium both.

  • @rm9125

    @rm9125

    3 жыл бұрын

    @@sameerarora3656 Can you please share repo for the code you write?

  • @SandeepRapolu
    @SandeepRapolu16 күн бұрын

    Hey Bro form next time please share repo also

  • @piggy-piggy
    @piggy-piggy3 жыл бұрын

    please share complete framework git url

  • @AshishShamani
    @AshishShamani Жыл бұрын

    Hi sameer hope u r doing good can you please share github link of this code

  • @mittalri
    @mittalri2 жыл бұрын

    Sameer I am facing issue while starting Appium. if u can help? import _ from 'lodash'; ^^^^^^ SyntaxError: Cannot use import statement outside a module

  • @user-mo4dn5ip2q
    @user-mo4dn5ip2q7 ай бұрын

    can you share me github repo or code of this apk

  • @mittalri
    @mittalri2 жыл бұрын

    Sameer Can we talk for few minutes for some consultancy