Hi Ravi, Thanks a lot for this video. I'm able to setup build pipeline for my project :) And after some troubleshooting with below items, I was able to do a successful build for my selenium tests 1. Agent pool was not configured - later requested dev ops team to configure it 2. Configured Agent Pool doesn't have maven, java installed - later installed 3. Java, Maven path wasn't set in environment variables in the server - Later identified the issue and updated 4. Chrome version wasn't updated to latest version (it has 67) - Updated to ver84 to resolve the error 'session not created' Thanks again!!!
Awesome Suresh. Please subscribe to my channel. Happy that you are able to configure Local agent successfully. Mostly organizations will have proxy restrictions while building agent. Hope you have taken care all those. Thank you!
Hi Ravi, I am using extent reports for my Selenium scripts. It works fine in my local. But report is not generated when I execute it through Azure dev ops. Any solution for this?
@@sureshkumarkothandam8527 Are you creating pushing artifacts to Azure Pipeline? If not, please push artifacts to pipeline using the new task 'Publish Build Pipeline Artifacts'
Thanks for this video. Could you kindly add a little description of what the Java application does (function) so that beginners can fully understand the implication of the Demo is?
Hi Ravi as you said my pipeline is executed successfully as per the plan. But I am unable to see the controller response in browse page getting 404 error kindly anyone please help in this
Hi sir.. as a tester i want to see how automations scripts will be triggered and run.. based on results wheatear we deploy app or not.. that we need to know
On the Release > Deployment Process Step > Start up Command > Add this command to make it working "java -jar /home/site/wwwroot/gs-spring-boot-0.1.0.jar" without quotes.
Hi Sir I am facing problem with Chromedriver path in Azure pipelines. please reply what path we need to enter so that It can accept chromedriver. Currently error shows the executable driver doen't exist on full path.
Hi Ravi, In my current project we have already a build pipeline. For that build pipeline if I add another stage for automation testing in that stage if I add Maven task, my automation script will run on Maven in cloud?
Hi Ravikanth, I am going thru a multi stage deployment(Dev-PPE-Prod) in CD pipeline where i have 1 abc.config & 1 xyz.js file needs to be excluded from the deployment process. i know there is something called "Additional Arguments" under IIS Web App Deploy task in CD phase but not sure how to do this. Would appreciate your help on this
Hi Ravi , I have followed same steps you have described. But after deployment Default web service page is displaying.Application message is not getting displayed.
Hi Ravi Have followed the same steps my CD deployment was successful but after hitting App service URL i am not getting my endpoint output after clicking on refresh button in app service browser. it sends me to deployment center screen which says you app is up and running. nothing more than this. is there anything more to add ?
Hi Ravi, following your video (including your source code) point-to-point, though results in a successful deployment, but I can't see the updated webpage. Azure Web Service display the default page in the browser. I'v tried other java/springboot projects too, but the same result. Now sure what's wrong
@@sr6043 Yes.. Since I was building a java springboot application, I executed the startup command 'java -jar both during creating the build pipeline and also in the azure web app configuration. ex. java -jar /home/site/wwremote/xyz.jar
@@arvindkaushik8103 Thanks! where do we need to execute startup command? java -jar _Java-Web-API-Maven-CI/drop/Springboot-se2-api-demo-1/target/se2-cruddemo-cicd-0.0.1-SNAPSHOT.jar
Hi Ravi, This is very helpful tutorial. Much appreciated. Thank you very much. I have a quick question though; when you trigger Automated test; how do you ensure that you have specific browser (i.e. chrome ) in that specific agent specially when you run on cloud agent? If you need to install a browser; can this install be a part of pipeline? Again thank you so much for your valuable time and effort! -best regards, Anu
Hello Ravikanth, I followed your instructions on Azure devops on prem but it is failing on test activity, (I have maven on my build machine, is there anything I need to setup on my self-hosted build machine? ) Here is the error 2022-10-06 15:00:08.522 INFO 19416 --- [ main] hello.HelloControllerTest : Starting HelloControllerTest on salam7 with PID 19416 (started by salam in C:\Projects\agent-AzureDevOps2K20Update15\_work\11\s\app) 2022-10-06 15:00:08.524 INFO 19416 --- [ main] hello.HelloControllerTest : No active profile set, falling back to default profiles: default 2022-10-06 15:00:08.648 INFO 19416 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@7331196b: startup date [Thu Oct 06 15:00:08 CEST 2022]; root of context hierarchy 2022-10-06 15:00:10.662 ERROR 19416 --- [ main] o.s.boot.SpringApplication : Application run failed java.lang.IllegalStateException: Cannot load configuration class: hello.Application at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:414) ~[spring-context-5.0.9.RELEASE.jar:5.0.9.RELEASE]
U done very detailed manner, bjt finally u haven't run & show full pipeline once again
Hello Ravikanth
Thanks for such a helpful and detailed explanation
You are welcome Navya
Superb and fantastic Sir.
Please subscribe to my channel!
Hi Ravi, Thanks a lot for this video. I'm able to setup build pipeline for my project :)
And after some troubleshooting with below items, I was able to do a successful build for my selenium tests
1. Agent pool was not configured - later requested dev ops team to configure it
2. Configured Agent Pool doesn't have maven, java installed - later installed
3. Java, Maven path wasn't set in environment variables in the server - Later identified the issue and updated
4. Chrome version wasn't updated to latest version (it has 67) - Updated to ver84 to resolve the error 'session not created'
Thanks again!!!
Awesome Suresh. Please subscribe to my channel. Happy that you are able to configure Local agent successfully. Mostly organizations will have proxy restrictions while building agent. Hope you have taken care all those. Thank you!
Yes Ravi, we also encountered the proxy issue and later it was resolved by our network team. Thank you Ravi...
I have subscribed to your channel:)
Hi Ravi, I am using extent reports for my Selenium scripts. It works fine in my local. But report is not generated when I execute it through Azure dev ops. Any solution for this?
@@sureshkumarkothandam8527 Are you creating pushing artifacts to Azure Pipeline? If not, please push artifacts to pipeline using the new task 'Publish Build Pipeline Artifacts'
Ravikanth Reddy Thanks for your reply Ravi. I will check for this push option.
very very very nice explanation. I hope I will be able to implement this.
Thanks Pratiksha, Please subscribe to my channel
@@RavikanthReddy I have already.
Thanks for the video brother, learned much needed topic.
Glad you liked the video!! Please subscribe to my channel.
Hi Ravi, Thanks, this video is really helpful.
Please subscribe to my channel. Soon publishing more videos
Thanks for this video.
Could you kindly add a little description of what the Java application does (function) so that beginners can fully understand the implication of the Demo is?
Good explanation. Thank you
Please subscribe to my channel
Super.Thanks
Hi Ravi as you said my pipeline is executed successfully as per the plan. But I am unable to see the controller response in browse page getting 404 error kindly anyone please help in this
thanks bro..🤩
Hi sir.. as a tester i want to see how automations scripts will be triggered and run.. based on results wheatear we deploy app or not.. that we need to know
Nice...Thank you
Welcome 😊, subscribe to the channel!
On the Release > Deployment Process Step > Start up Command > Add this command to make it working "java -jar /home/site/wwwroot/gs-spring-boot-0.1.0.jar" without quotes.
Perfect Ravikanth ,keep up the good work Quick question -artifact can be git .git path also?
I don't think it can be git Path. I will have to research more on this Karthik
Thanks for the session.Any video on how to configure the SonarQube endpoint as part of the Maven task?
Not yet
Hi Sir I am facing problem with Chromedriver path in Azure pipelines. please reply what path we need to enter so that It can accept chromedriver. Currently error shows the executable driver doen't exist on full path.
Hi, you have to keep the chrome .exe file with in the project folder and specify the relative or absolute path of the file while invoking browser
Please subscribe to my channel for more info
Hi Ravi,
In my current project we have already a build pipeline. For that build pipeline if I add another stage for automation testing in that stage if I add Maven task, my automation script will run on Maven in cloud?
Yes, you have to enable QA mavem pipeline to run after completing build pipeline
Thanks for your session, and can you please post video on..After Building .jar/.war i need to push to nexus repo manager
Please subscribe to my channel
Hi Ravi can you please share the video in which you can showcase how to change artifact repo from azure to nexus
Hi Ravikanth, I am going thru a multi stage deployment(Dev-PPE-Prod) in CD pipeline where i have 1 abc.config & 1 xyz.js file needs to be excluded from the deployment process. i know there is something called "Additional Arguments" under IIS Web App Deploy task in CD phase but not sure how to do this. Would appreciate your help on this
nice video, can we deploy Springboot with react in azure?
Hi Ravi,
I executed automation script in Azure, can you guide me how to check how many test cases are executed ?
If you are running pipeline, we just need to click on pipeline that you ran and you should see your test results (JUnit or TestNG)
@@RavikanthReddy Can you please share me the sample results or any screenshot, I am unable to find.
Please send a test email to my email address specified on RUclips channel page
@@RavikanthReddy I sent an email to you.
Hi Ravi , I have followed same steps you have described. But after deployment Default web service page is displaying.Application message is not getting displayed.
Hello Ravi, I am even facing the same issue. Can you please help here?
Thanks for the video.
Can you also share something about integrating appium with Selenium(Cucumber) test framework with azure pipeline?
Hi Ravi
Have followed the same steps my CD deployment was successful but after hitting App service URL i am not getting my endpoint output after clicking on refresh button in app service browser. it sends me to deployment center screen which says you app is up and running. nothing more than this. is there anything more to add ?
Please subscribe to my channel
Hi Ravi, following your video (including your source code) point-to-point, though results in a successful deployment, but I can't see the updated webpage. Azure Web Service display the default page in the browser. I'v tried other java/springboot projects too, but the same result. Now sure what's wrong
Hi, Have you found the solution on it as seeing the same default webpage
@@sr6043 Yes.. Since I was building a java springboot application, I executed the startup command 'java -jar both during creating the build pipeline and also in the azure web app configuration.
ex. java -jar /home/site/wwremote/xyz.jar
@@arvindkaushik8103 Thanks! where do we need to execute startup command?
java -jar _Java-Web-API-Maven-CI/drop/Springboot-se2-api-demo-1/target/se2-cruddemo-cicd-0.0.1-SNAPSHOT.jar
@@sr6043 the startup command needs to be provided in the 1st step while defining your release pipeline
ex. java -jar /home/site/wwwroot/
@@arvindkaushik8103 hey..while defining in the sense? in azure app service task where we need to provide the jar command?
github?
Hi Ravi,
This is very helpful tutorial. Much appreciated. Thank you very much. I have a quick question though; when you trigger Automated test; how do you ensure that you have specific browser (i.e. chrome ) in that specific agent specially when you run on cloud agent? If you need to install a browser; can this install be a part of pipeline?
Again thank you so much for your valuable time and effort!
-best regards,
Anu
Anu Anick you need to have Pom referees to webdrivermanager
Hello Ravikanth, I followed your instructions on Azure devops on prem but it is failing on test activity, (I have maven on my build machine, is there anything I need to setup on my self-hosted build machine? ) Here is the error 2022-10-06 15:00:08.522 INFO 19416 --- [ main] hello.HelloControllerTest : Starting HelloControllerTest on salam7 with PID 19416 (started by salam in C:\Projects\agent-AzureDevOps2K20Update15\_work\11\s\app)
2022-10-06 15:00:08.524 INFO 19416 --- [ main] hello.HelloControllerTest : No active profile set, falling back to default profiles: default
2022-10-06 15:00:08.648 INFO 19416 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@7331196b: startup date [Thu Oct 06 15:00:08 CEST 2022]; root of context hierarchy
2022-10-06 15:00:10.662 ERROR 19416 --- [ main] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalStateException: Cannot load configuration class: hello.Application
at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:414) ~[spring-context-5.0.9.RELEASE.jar:5.0.9.RELEASE]