Run Selenium Test on MS Azure Pipeline || Azure Cloud
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:
Follow me on my Facebook Page:
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
Paid courses (Recorded) videos:
For Java & Selenium –
For API (Manual + Automation) –
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.
Awesome Naveen you are really amazing.
@Renga Rajan sure. I will also give a try this week and let you know if any issues faced..Thanks a lot for ur reply n suggestion.
@Renga Rajan then both driver instances of browser.. Running in same server.. Or we hve to configure 2 server machine in Azure? Or 2 agent? Any extra concept needed
@Suresh B no it works fine for me. Try yourself, I use the same concept on Azure.
@Renga Rajan but if we r not using any grid concept.. Does it works fine? I heard many people r facing issues with thread initializtn. So we hve to use multi threading concept.. But I want to try parallel execution without multi threading concept..
@Suresh B in your XML set as – this runs 5 browser parallel ,each browser test a class,
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 .
Awesome session Naveen. You are amazing on managing time and sharing great knowledge . You are inspiration to me..
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
Awesome video sirji?….reminded of the days we used Azure DevOps in my project, hence this looks bit easy ?
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
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?
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
.
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?
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
Hi Naveen, really helpful video with java, TestNG and Maven on Azure. is it possible to automate the same process for Appium??
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
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.
Please contact your IT support team to make open internet at agent otherwise maven will not configured as it need dependences to be downloaded.
@sandeep negi 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.
@Rana India Vlogs 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
@sandeep negi nope.. You don’t need to configure remote driver capabilities. You must ensure that a agent is configured properly to support automates test execution.
Do we need to configure the remote web driver and driver capabilities if we are running using azure dev ops
Thanks, Naveen you really explain very well. Appreciate your work
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.
Long time i was looking for this, How can we mail the extent report that is been created from the build/release pipeline?
I choose to view your automation testing videos 95% of the time! Great work! Thank you for this.
You are welcome!
Awesome! Simple and Crisp ??
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.