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...
Awesome Naveen you are really amazing.
How can we email the extent report or file from this release pipeline ?
Wow.. this is so great to see , two of my favourite RUclipsrs from whom I learnt automation, complimenting eachother... 👍👍👍👍
you both are awesome
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..
@@sureshb134 in your XML set as - this runs 5 browser parallel ,each browser test a class,
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
This is one of the rare topic on which we see a video on youtube thank you for making this video.
We are running selenium testcases from visual studio to azure devops pipeline. Thanks for this video.
Awesome
Is there anyway to handle file upload test cases in Azure vs test, please let me know if you can help
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.
Do we need to configure the remote web driver and driver capabilities if we are running using azure dev ops
@@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.
@@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
@@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.
Please contact your IT support team to make open internet at agent otherwise maven will not configured as it need dependences to be downloaded.
Very well explained . I will try by my own.
Awesome Thank you for this video and am waiting for next video for release build process....!
Thank you so much :) I am very happy I am able to create Selenium Pipeline
can you share the project ?
I choose to view your automation testing videos 95% of the time! Great work! Thank you for this.
You are welcome!
Waiting for the next part . Great job 👏
Thanks for this video ,kindly plz upload more of azure like data lake or factory testing automation
Thanks, Naveen you really explain very well. Appreciate your work
Thanks a Lot Naveen for this session.Able to execute tests in windows-2019 agent
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.
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
Amazing instructor ever !
Very useful video to learn selenium and azure devops integration.
Nice naveen , it's helpful for us .
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
The question is why was I not subscribed?????? I quickly did and gave you a like.Thank you
Naveen , this is really useful .Thank you very much
Really appreciate your efforts man. Thanks Naveen!
Awesome! Simple and Crisp 👌🥰
Awesome video sirji👌....reminded of the days we used Azure DevOps in my project, hence this looks bit easy 😊
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
WOWWW... Too Good !!
good one bhayaaa
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 .
Thanks alot Naveen 💫
Awesome Naveen 👌👌
Awesome session Naveen. You are amazing on managing time and sharing great knowledge . You are inspiration to me..
Vital content, very good indeed!
Thanks Naveen , u are really amazing
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.
Nice sir very very usefull for all
very helpful video . Thanks for uploading
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.
Sensational job! Thank you.
Glad you liked it!
@@naveenautomationlabs
Hi Sir can you give us the pom.xml file
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?
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.
Thank you so much for the awesome video.
Awesome Naveen. Thanks a lot
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
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
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..
Great
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
.
Hi. Please tell me. Were you able to link auto tests to manual test cases on the Java Selenium stack?
That was nice video, thank you... Please upload a video with azure + aws + docker integration
Noted
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...
How we can run the testcases with annotation such as @smoke or @regression in the Azure devops pipeline .
Thank you for your work!
Please post video on Release pipeline as well.
Thanks a lot Naveen.
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?
Excellent video... really helpful. Do you have similar video for AWS?
Yes check my AWS playlist
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
Hi. Please tell me. Were you able to link auto tests to manual test cases on the Java Selenium stack?
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.
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.
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.
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.
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
@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...
Can I use selenium java with azure pipeline. Please post a video that shows agent construction for selenium java pipeline
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.
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 ?
Hi all.
Please tell me if it is possible to connect auto tests with manual test on stack Selenium Java + Maven in Azure DevOps?
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.
I have a query like for manual testers, if they are not good with automation testing, what all other jobs they can apply for ?
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?
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..🙏
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
Hi Naveen, really helpful video with java, TestNG and Maven on Azure. is it possible to automate the same process for Appium??
Thanks a lot Naveen. I could execute my pipeline in mac. However in Ubuntu its failing.Can i get some suggestion.
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 ?
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.
Can you please create video on azure release pipeline
How can we take screenshot for java code and that screenshot should be in ATTACHMENTS OF AZURE PIPELINE? something like textContext in python.
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
How to add jenkins here and run test from jenkins please add this step too
Brilliant!!
How this Selenium scripts will be executed when developers integrate or release the build
Naveen can you post a video to send selenium code to azure repository please
Long time i was looking for this, How can we mail the extent report that is been created from the build/release pipeline?
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
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?
how to host the selenium in docker with DB using pipelines
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
Did you get the solution to this problem?
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..
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
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?
what would you prefer Jenkin or Azure ?
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?
Thank you so much for your awesome demonstration. You are an amazing teacher!
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
Hi I'm no getting Azure Pipelines option in Agent Pool select box. How to fix this issue?
In my case Tests tab not showing after build completed.
Hi Naveen, for JAVAFX based project which is a good Interactive UI test automation tool?
Can you show how to setup VPN to run test … ? I can run public site but not private
How can we automation script on each developer commit in azure devops repo?
If automation test failing in pipeline but passed in local execution what could be the reasons
Is there any way we can log into the cloud VM to actually see the jobs running ?
Do we need to configure the remote web driver and driver capabilities if we are running using azure dev ops
@@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.
Not bad man. What was your url target?
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
I also need the pom.xml
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.
hi , is that pipeline is only created for regression suite?? please let me know
How to add maven commands for the run ?