Run Selenium Test on MS Azure Pipeline || Azure Cloud

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • In this video, I have explained how to setup MS Azure pipeline and how to run selenium maven testNG test cases on Azure Pipeline.
    Learn:
    What is MS Azure
    Setup Azure dev ops account
    Setup Azure pipeline
    Run Selenium test cases on Azure Pipeline using Maven
    How to auto trigger test cases after any checkin/PR
    How to schedule the pipeline job
    ~~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    www.youtube.co...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
    t.me/joinchat/...
    Paid courses (Recorded) videos:
    naveenautomati...
    For Java & Selenium - naveenautomatio...
    For API (Manual + Automation) - naveenautomatio...

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

  • @Mukeshotwani
    @Mukeshotwani 4 года назад +43

    Awesome Naveen you are really amazing.

    • @rengarajan1878
      @rengarajan1878 4 года назад +2

      How can we email the extent report or file from this release pipeline ?

    • @arkaimps
      @arkaimps 4 года назад +3

      Wow.. this is so great to see , two of my favourite RUclipsrs from whom I learnt automation, complimenting eachother... 👍👍👍👍

    • @singh07neeraj
      @singh07neeraj 4 года назад +2

      you both are awesome

    • @sureshb134
      @sureshb134 4 года назад +2

      Hi Naveen, Mukesh andAutomation experts,
      can we do parallel execution here.. Plz Suggest how.. Currently automation scripts are running in Azure Devops pipeline.. But not sure how to proceed parallel execution here. NOTE :IE browser..

    • @rengarajan1878
      @rengarajan1878 4 года назад +1

      @@sureshb134 in your XML set as - this runs 5 browser parallel ,each browser test a class,

  • @lokeshsharma-gd1xo
    @lokeshsharma-gd1xo 2 года назад +6

    I really dont know any one in this testing world, who did this much amount of favour to the testing cummunity.
    You are the Sanjeev kappor of testing world, bless you brother

  • @khayalghosh8383
    @khayalghosh8383 3 года назад

    This is one of the rare topic on which we see a video on youtube thank you for making this video.

  • @navjyot_ironman
    @navjyot_ironman 4 года назад +1

    We are running selenium testcases from visual studio to azure devops pipeline. Thanks for this video.

    • @naveenautomationlabs
      @naveenautomationlabs  4 года назад

      Awesome

    • @SureshS-vm5hh
      @SureshS-vm5hh 4 года назад

      Is there anyway to handle file upload test cases in Azure vs test, please let me know if you can help

  • @vrana_fitness
    @vrana_fitness 4 года назад +2

    Thanks Naveen for sharing the session. I have also recently done same set up in our team automatiion project for TFS. We are running Selenium test cases on TFS using Maven.

    • @sandeepnegi4939
      @sandeepnegi4939 4 года назад

      Do we need to configure the remote web driver and driver capabilities if we are running using azure dev ops

    • @vrana_fitness
      @vrana_fitness 4 года назад +2

      @@sandeepnegi4939 nope.. You don't need to configure remote driver capabilities. You must ensure that a agent is configured properly to support automates test execution.

    • @sandeepnegi4939
      @sandeepnegi4939 4 года назад

      @@vrana_fitness ok understood in my case the build server is acting as an agent and that agent is not having firefox currently I am running tests in firefox also I am not able to build the project since my maven project needs some jars and the build server is not able to access the internet I am in a corporate environment

    • @vrana_fitness
      @vrana_fitness 4 года назад +1

      @@sandeepnegi4939 Ok.. You have to make ensure the proper access of agent which you can access and install maven, java, firefox and other utilities. in my case my agent is vm and I am able to access vm explicitly where I have made all the configuration to support automated tests execution.

    • @vrana_fitness
      @vrana_fitness 4 года назад

      Please contact your IT support team to make open internet at agent otherwise maven will not configured as it need dependences to be downloaded.

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

    Very well explained . I will try by my own.

  • @mrgurudeesh8299
    @mrgurudeesh8299 3 года назад +1

    Awesome Thank you for this video and am waiting for next video for release build process....!

  • @akshaybasatwar4914
    @akshaybasatwar4914 3 года назад +1

    Thank you so much :) I am very happy I am able to create Selenium Pipeline

  • @Star-vg7ix
    @Star-vg7ix 3 года назад +1

    I choose to view your automation testing videos 95% of the time! Great work! Thank you for this.

  • @owaisjilani2108
    @owaisjilani2108 3 года назад +2

    Waiting for the next part . Great job 👏

  • @canadatorontovideos7283
    @canadatorontovideos7283 4 года назад +2

    Thanks for this video ,kindly plz upload more of azure like data lake or factory testing automation

  • @singh07neeraj
    @singh07neeraj 4 года назад +1

    Thanks, Naveen you really explain very well. Appreciate your work

  • @jayantamandal9732
    @jayantamandal9732 4 года назад +1

    Thanks a Lot Naveen for this session.Able to execute tests in windows-2019 agent

  • @DheerajGambhirDG
    @DheerajGambhirDG 4 года назад +1

    Awesome, thanks for the video. In case there is a need where we would like to see our jobs running, we can create Self-hosted agents under Agent pools and use that Agent while configuring our pipeline.

    • @sandeepnegi4939
      @sandeepnegi4939 4 года назад

      while running the tests using self hosted agent we don't need to use the remote webdriver ? and also how can we run our testcases in a docker container on premise using azure dev ops

  • @nurlanshukurlu
    @nurlanshukurlu 4 года назад +1

    Amazing instructor ever !

  • @surya-ti8gm
    @surya-ti8gm 4 года назад +1

    Very useful video to learn selenium and azure devops integration.

  • @sudhansupatro5053
    @sudhansupatro5053 4 года назад +1

    This video is good and informative . Please include the challenges that we will face , when the dependencies are not set in the Agent pool machine

  • @mzamomahaeng268
    @mzamomahaeng268 2 года назад

    The question is why was I not subscribed?????? I quickly did and gave you a like.Thank you

  • @shababe2243
    @shababe2243 4 года назад +1

    Naveen , this is really useful .Thank you very much

  • @YogeshKumar-ok4nb
    @YogeshKumar-ok4nb 4 года назад +1

    Really appreciate your efforts man. Thanks Naveen!

  • @kailaspoduval
    @kailaspoduval 3 года назад +1

    Awesome! Simple and Crisp 👌🥰

  • @Imran-M-
    @Imran-M- 4 года назад

    Awesome video sirji👌....reminded of the days we used Azure DevOps in my project, hence this looks bit easy 😊

  • @sayedtalha2689
    @sayedtalha2689 7 месяцев назад

    Thank us so much to you sir for giving knowledge about azure devops..... Sir my honourable request... Explain about the new release CI/CD pipe line Sir this is the main thing to understand sir if u have video about CI/CD Release new pipline send the link sir

  • @venkatjayakumar1819
    @venkatjayakumar1819 3 года назад +1

    WOWWW... Too Good !!

  • @virenautomationtesting
    @virenautomationtesting 2 года назад

    good one bhayaaa

  • @sattyajitmondal1026
    @sattyajitmondal1026 4 года назад +1

    Hi Naveen ,
    Thanks for providing a great session .
    It will be very helpful if you can let us know how to take evidence or screenshots and attach screenshot in azure test results .

  • @sahil0069
    @sahil0069 2 года назад

    Thanks alot Naveen 💫

  • @amuthansakthivel3393
    @amuthansakthivel3393 4 года назад +1

    Awesome Naveen 👌👌

  • @manibabutamarana
    @manibabutamarana 4 года назад

    Awesome session Naveen. You are amazing on managing time and sharing great knowledge . You are inspiration to me..

  • @xolimosala2260
    @xolimosala2260 2 года назад

    Vital content, very good indeed!

  • @sandeepbonagiri5150
    @sandeepbonagiri5150 4 года назад +1

    Thanks Naveen , u are really amazing

  • @khuongtranbuingan7637
    @khuongtranbuingan7637 3 года назад +1

    Hi Naveen,
    How can we trigger the selenium automation run when the system has just done deployment with the Azure DevOps pipeline?
    My scenario is having 2 java projects:
    - Developer team is implementing a system in the Rest API project "D1"
    - API automation scripting is implementing in the Maven project "A1" with TestNG
    Expectation: when the "D1" project has just deployed, the "A1" project will be trigging to execute and add the report to pipeline.

  • @satishrocking4724
    @satishrocking4724 4 года назад

    Nice sir very very usefull for all

  • @hareeshn6524
    @hareeshn6524 3 года назад

    very helpful video . Thanks for uploading

  • @goldfan5523
    @goldfan5523 3 года назад +1

    1 question..why people still use Jenkins instead of azure? Azure has such a good user friendly ui and also it's like a complete package with dashboard kind of features.

  • @ChanceMinus
    @ChanceMinus 3 года назад +1

    Sensational job! Thank you.

  • @ArturoCerecero
    @ArturoCerecero 3 года назад +1

    Thanks great video, It really help me. I was wondering if there is a way to connect those pipelines to a testplan there in azure devops?

  • @JatinBakshi-bv6br
    @JatinBakshi-bv6br Год назад

    Thanks Naveen what a great work u are doing..
    i have question that is it possible to configure karate framework with azure and view the reports there in azure.

  • @mkcomic1921
    @mkcomic1921 2 года назад

    Thank you so much for the awesome video.

  • @anujaphaltankar3046
    @anujaphaltankar3046 3 года назад

    Awesome Naveen. Thanks a lot

  • @nasreenkhan-yy3tj
    @nasreenkhan-yy3tj 3 года назад

    This is Awesome !!!!
    Can you please share the video for whenever a new build is created from dev side these test cases should run first, if Passes then the build will be create

    • @omega6094
      @omega6094 2 года назад

      Is this possible to deploy a dev build if only it passes selenium tests in Azure devops? Could anyone help sharing a video or any material

  • @JatinBakshi-bv6br
    @JatinBakshi-bv6br Год назад

    What a video i must say great Naveen...
    I have a question that can we configure karate framework with azure and view reports in azure..

  • @tri123tri
    @tri123tri 6 месяцев назад

    Great

  • @gurpreetkaurbhatiagkb
    @gurpreetkaurbhatiagkb 4 года назад +1

    Awesome video Naveen, Could you please let us know how to attach screenshots in azure Test results. I am using BDD, Selenium, Java, and Intellij
    .

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

      Hi. Please tell me. Were you able to link auto tests to manual test cases on the Java Selenium stack?

  • @ragavendrad574
    @ragavendrad574 3 года назад

    That was nice video, thank you... Please upload a video with azure + aws + docker integration

  • @pavankumar5419
    @pavankumar5419 4 года назад

    Hi Naveen it is good demo.. can you please explain about redhat openshift which is advance in market..I found very less videos in youtube on this...

  • @NishantKumar-lq9kn
    @NishantKumar-lq9kn Месяц назад

    How we can run the testcases with annotation such as @smoke or @regression in the Azure devops pipeline .

  • @oleksandrdyachuk3951
    @oleksandrdyachuk3951 2 года назад

    Thank you for your work!

  • @asmitachouhan2042
    @asmitachouhan2042 2 года назад

    Please post video on Release pipeline as well.

  • @khuongtranbuingan7637
    @khuongtranbuingan7637 3 года назад

    Thanks a lot Naveen.

  • @deba525
    @deba525 3 года назад +1

    Hi Naveen Great session. I have few doubts over here.
    1. I have an existing Test NG framework in which test scripts are marked "Y" in excel along with data driven from same excel and executed directly from eclipse. Can I integrate that framework with Devops?
    2. Is this execution is a headless execution as I didn't see any browser to launch. Also how the screenshots will be captured in this execution?

  • @GopiNamani
    @GopiNamani 4 года назад +1

    Excellent video... really helpful. Do you have similar video for AWS?

  • @sattyajitmondal3868
    @sattyajitmondal3868 4 года назад +1

    Thanks Naveen for a informative session.
    Could you please help me to capture screenshots and attach screenshots in azure run results .
    I m using testng, java,selenium

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

      Hi. Please tell me. Were you able to link auto tests to manual test cases on the Java Selenium stack?

  • @SureshKumar-no7rs
    @SureshKumar-no7rs 4 года назад +1

    Hi, Thanks for sharing. Could you please let me know how to setup Agent pool? in your case it is defaulted to Azure pipeline, but for me it is empty.

    • @powerseeker
      @powerseeker 3 года назад +1

      Go to project settings > agents Pool (in Pipelines section). Here you can find all the agent which have been already installed. If you don't have anything, click on "add a pool" and follow the process.
      You have 2 choices, use your personnal computer like a remote agent, or configure a agent on a remote server.

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

    Hi Naveen, Thank you for your amazing videos. We use Azure Dev Ops for running automation tests. Recently some of the tests are throwing 'This task has timed out' error before it execute all tests in that suite. Do you know why it is happening? I would appreciate if you response. Thanks in advance.

  • @user-le7gu8mc2b
    @user-le7gu8mc2b Год назад

    Hi Naveen Can we see the script execution video also? Is there any setting in the azure which will capture the entire execution video? I would appreciate if you response. Thanks in advance.

  • @vs8738
    @vs8738 3 года назад

    Thank you for the video...it helped. How do we send the result as attachment.There are few task available ...but how we attach the results.Can you please advise.Thanks

  • @moulalishek2466
    @moulalishek2466 3 года назад

    @Naveen, Can you please upload a video on how to update java selenium test results in TFS?...Please help us on this?...Thanks in advance...

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

    Can I use selenium java with azure pipeline. Please post a video that shows agent construction for selenium java pipeline

  • @satheeshkumarc7115
    @satheeshkumarc7115 3 года назад

    Hi Naveen thanks a lot for this video its really helpful, can you help us how to attach the screenshot to the failed tests in azure report.

  • @Shwetank0512
    @Shwetank0512 2 года назад

    Awsome !! I have a Query - My Project is based on .net + TFS + AWS and My Automation selenium script is Java + Maven. Could new dev build automatically triggered to my Java code. Here, CI-CD piplene shows triggered new build of my Java script code. How can we triggred dev new build ?

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

    Hi all.
    Please tell me if it is possible to connect auto tests with manual test on stack Selenium Java + Maven in Azure DevOps?

  • @AjeetSingh-hs2ec
    @AjeetSingh-hs2ec 10 месяцев назад

    Hi Naveen, Thanks for creating a video it's very helpful, i have one query for login function I have to keep the username and password is secret can you plz help me how it can we.

  • @mariapeterchrisalagose2204
    @mariapeterchrisalagose2204 2 года назад

    I have a query like for manual testers, if they are not good with automation testing, what all other jobs they can apply for ?

  • @kalaivanianbazhagan1001
    @kalaivanianbazhagan1001 2 года назад

    I understand by means of Azure, automated test scripts can be triggered.. but curious to know, what special Azure will give than Jenkins (to my understanding, looks Jenkins and Azure are same CI/CD). Can somebody pls explain?

  • @navdeepkumar1055
    @navdeepkumar1055 2 года назад

    Hi Navin,
    when I tried to run in actual cases like launch browser and do some test then it's giving null pointer exception because driver it self not executed and step are skipping.
    if you can make some video on this..🙏

  • @user-yo5ym8ko6z
    @user-yo5ym8ko6z 11 месяцев назад

    How to see allure reports after the execution? How can my client see the reports?
    Also, How to parameterize different xml files in pom.xml

  • @shivanidwivedi7351
    @shivanidwivedi7351 3 года назад

    Hi Naveen, really helpful video with java, TestNG and Maven on Azure. is it possible to automate the same process for Appium??

  • @gello2777
    @gello2777 3 года назад

    Thanks a lot Naveen. I could execute my pipeline in mac. However in Ubuntu its failing.Can i get some suggestion.

  • @kumaryellapu
    @kumaryellapu 4 года назад

    Thanks Naveen. Do we need to install browser (ex :chrome) in Azure via shell script or RemoteWebdriver will have capabilities to have browser in azure ?

  • @Rajkumar0986
    @Rajkumar0986 3 года назад

    Hi Naveen, I'm using azure pipeline, assume that agent has been configured in "machine A" but we running the script from "machine B" once the execution completed and reports are generated but the screenshot are not visible to machine B which display along with extent report.

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

    Can you please create video on azure release pipeline

  • @gollum5652
    @gollum5652 3 года назад

    How can we take screenshot for java code and that screenshot should be in ATTACHMENTS OF AZURE PIPELINE? something like textContext in python.

  • @ParasJoshiPj
    @ParasJoshiPj 4 года назад

    Naveen,why it is not opening the browser,r u running the code in non gui...And please make a full CI CD video..I mean if dev team will give the new build so in the same time my scripts should trigger automatically in azure devops

  • @tejas4054
    @tejas4054 11 месяцев назад

    How to add jenkins here and run test from jenkins please add this step too

  • @gaorutweandrewmosala1288
    @gaorutweandrewmosala1288 4 года назад

    Brilliant!!

  • @shilupg
    @shilupg 2 года назад

    How this Selenium scripts will be executed when developers integrate or release the build

  • @amudarajesh8519
    @amudarajesh8519 3 года назад

    Naveen can you post a video to send selenium code to azure repository please

  • @rengarajan1878
    @rengarajan1878 4 года назад

    Long time i was looking for this, How can we mail the extent report that is been created from the build/release pipeline?

  • @valerietiyiselani6049
    @valerietiyiselani6049 2 года назад

    After running the pipeline , mine does'nt send the test report. it shows on Ahent job that it is success but i cant see the test rests , how can i fix that. Basical it doesnt show the executed test cases. pls help

  • @mohitenduparida5231
    @mohitenduparida5231 3 года назад

    Thanks Naveen for sharing this video. This is really awesome. I was able to integrate BDD in Azure DevOps. But I'm having a challenge to execute multiple scenarios using tags; @smoke/@regression. I'm getting an error as 'root element is not found on the agent console. We're using Linux hosted agent to execute the scripts on the pipeline. Could you please share your suggestions?

  • @ajithkumar5563
    @ajithkumar5563 3 года назад

    how to host the selenium in docker with DB using pipelines

  • @kdkvai
    @kdkvai 3 года назад

    Hello Naveen , Did you find anything related to Extent report. how to publish it? I am not using Testng /Junit report. Any comment from your research will help me. thanks

  • @sureshb134
    @sureshb134 4 года назад

    Hi Naveen and Automation experts, can we do parallel execution here.. Plz Suggest how.. Currently automation scripts are running in Azure Devops pipeline.. But not sure how to proceed parallel execution here. NOTE :IE browser..

  • @sukanyachitikela5805
    @sukanyachitikela5805 3 года назад

    Hi.. I have run the pipeline in Azure but my testcases are not executed in pom.xml could please tell what plugins i need to add.. thanks in advance

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

    Hi my requirement is to send email test report to the developer who commits the code into repo then he runs the pipeline he need to get email notification of the test report. how can i achieve this?

  • @deepanshuaggarwal7042
    @deepanshuaggarwal7042 3 года назад

    what would you prefer Jenkin or Azure ?

  • @AnickRazibul
    @AnickRazibul 4 года назад

    Quick Question Naveen; how about I am running test on cloud agent; and I don’t have any browser installed. Also Could show was a demo where we can integrate Continuous delivery pipeline as well?

    • @AnickRazibul
      @AnickRazibul 4 года назад

      Thank you so much for your awesome demonstration. You are an amazing teacher!

  • @prathvichannapparatnappago3694
    @prathvichannapparatnappago3694 4 года назад

    Hi Naveen, Is it possible to run automated scripts without Release pipeline, I mean to say just like on Jenkins server how we can run the scripts/suites/jobs on demand ( when ever we want to) can we do the same on Azure DevOps ? Please help

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

    Hi I'm no getting Azure Pipelines option in Agent Pool select box. How to fix this issue?

  • @manaspal5
    @manaspal5 3 месяца назад

    In my case Tests tab not showing after build completed.

  • @arthivigneshwari8393
    @arthivigneshwari8393 4 года назад

    Hi Naveen, for JAVAFX based project which is a good Interactive UI test automation tool?

  • @kaurkaur1257
    @kaurkaur1257 2 года назад

    Can you show how to setup VPN to run test … ? I can run public site but not private

  • @parveenchauhan5132
    @parveenchauhan5132 4 года назад

    How can we automation script on each developer commit in azure devops repo?

  • @YkrishnaAppa
    @YkrishnaAppa 3 года назад

    If automation test failing in pipeline but passed in local execution what could be the reasons

  • @prafulanand6548
    @prafulanand6548 4 года назад +2

    Is there any way we can log into the cloud VM to actually see the jobs running ?

    • @sandeepnegi4939
      @sandeepnegi4939 4 года назад

      Do we need to configure the remote web driver and driver capabilities if we are running using azure dev ops

    • @goldfan5523
      @goldfan5523 3 года назад

      @@sandeepnegi4939 not mandatory..azure just pulls your GitHub code and executes the test cases...no matter even if you have used remote Webdriver or not.

  • @AdiAsaf
    @AdiAsaf 2 года назад

    Not bad man. What was your url target?

  • @michellecortes1176
    @michellecortes1176 3 года назад +1

    Hi Naveen, been trying to execute my script on DevOps also, but been experiencing Pom file issues, would it be ok to ask from you if you could share to me the Pom.xml file you used for this? It’ll be such a great help to have this as a reference, hope you can help me 😊Thank you in advance for the response

  • @mohitenduparida5231
    @mohitenduparida5231 3 года назад

    I was able to create a pipeline for my automation repo in Azure. Thanks Naveen for this nice video. Is there a way to attach the html /pdf reports from Azure and send them through email? I checked couple of options (sendgrid, graph etc) provided in Azure but I couldn't find them to be useful. Could you please suggest a way to attach the html/pdf reports on the email from azure? Thanks.

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

      hi , is that pipeline is only created for regression suite?? please let me know

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

    How to add maven commands for the run ?