Greetings from Finland, Mukesh - thanks for the excellent tutorial. Saved our company a ton of money since we can now build tests inhouse instead of hiring extra professionals. Tutorial is still very relevant with some little tweaks, even though it's over 2 years old.
Hi Mukesh , Every thing is working fine for my . Finally I am able to run my scripts with jenkins. Thank you ! Thank you for your videos and keep it up ! Happy Learnings !!!!
Superb and Thanks Mukesh...A small suggestion/input Order of topics could be as follows, 1. Create Seleniumm Script. 2. CReate Btch file 3.Download Jenkins. 4. Configure Jenkins. 5. Create Jenkins Job. 6. Excuting selenium TestNG script using Jenkins Job. Pls ignore if u feel it is not valid.
Dear Mukesh Sir, Thank you for details on Maven and Jenkins. It really helped me to take some good steps in the Automation field. Keep up the good work. Thanks again 😊👍🙆
Hi Mukesh Sir, Currently I am working with Manual Testing and grabbing as much as knowledge i can through your videos as I am looking for a change into Automation... I just wanted to know the importance of jenkins in industry right now... Do i need to learn it thoroughly or just the knowledge of jenkins is enough?
Hi Mukesh, Very good explanation..Thanks, I have one question: How do I view the contents of my Selenium framework structure in Jenkins home page when I click on Workspace link. Now, When I click on the Workspace link It is empty. I would want view my Extent reports via Jenkins itself. I have seen in of your videos, That you have shown the Extent Reports through Jenkins.
Hi Prashanth, if you clone the git repo then it will show you automatically. Also check which kind of job you are creating? Is this freestyle project or Maven project.
Mukesh otwani Please I am getting an error that says: "Cannot find class in classpath:..". I ran it manually and it worked. I went to have a look at stackoverflow and there were many reported issues but no one was clear on the solution. Some where suggesting it was down to a kind of bug with TestNG plugin. Any idea why that is happening?
Thanks Mukesh, I am able to establish end to end Selenium using GIT, cucumber, maven and Jenkins using your video. Just wanted to ask how can I see the actual execution going on in Mac Sierra OS?
Great Video Mukesh! When I run the build in Jenkins I see "Welcome to Jenkins World" in the console however when I add the new InternetExplorerDriver and additional code for getTitle it finishes successfully but shows no output in Jenkins. Runs perfectly fine in the IDE.
Hi Mukesh, Thanks a lot for the wonderful tutorial on Selenium WebDriver. I need some help with Jenkins integration. My Build is running successfully with simple sys out statement but after adding the selenium code the build fails. Could you please advice what could be the reason for that?
Hi mukesh I need your help. I am generally run selenium test cases on my local window machine. Now I am trying to run my selenium code on Jenkins which is installed in Linux server. What are the prerequisites for executing the same on linux. As when I tried to run my code its given me error : firefox.NotConnecteException I guise firefox not installed on linux box.It must be on server? Please tell me what are the possibility behind this issue with solution. Also tell me the if any setup require as prerequisites.
Hi Mukesh, Your videos are great. I want to know suppose I have created multiple selenium webdriver Test cases in eclipse and I want to run that multiple TCs with Jenkins then what configuration I have to do on both sides(eclipse as well as in Jenkins)? If you already have video for such a task then please share. Thanks in advance
+Nakul Dhenge Hi Nakul if you have multiple test cases then create multiple testng.xml files and specify the xml in batch file and remaining process will be same. Try the same and let me know
Hi Mukesh,, can you please explain what is QA role in jenkins configuration? do we need to configure jenkin in ur system or do we need use already configured jenkin and deploy our code using batch file?
+thota venkatesh HiThota as a QA you should know how to configure jenkins and trigger the test. You can use own system or virtual machine which run 24/7 and code you can keep on GIT or any other SVN. Share ur email I will ping u one video on the same.
Hi Mukesh, nice tutorial. I am able to run my Maven project through jenkins successfully. I want to run single test from test suite using jenkins. Please help me on this. Thank you
Hi Venkata, what issue you are facing while running test via Jenkins? I have created another series for this please check ua-cam.com/video/gT9qnZi3f74/v-deo.html
HI Mukesh, this is video tutorial is very easy to understand for the beginners,I have successfully configured On windows Machine But when ever i execute from jenkins it is opening the browser Any idea on this, And I wanted to install the Jenkins On the Linux server , is there any video available for that,
Hi how are you? first of all thanks for the info you share with us, I am working automation with python and pycharm with unitest but I have a problem when I want to implement continuous integration with Jenkiss, can I create the pom from python or install maven from it?
Hi Mukesh, good video, thank you. I have a question: Is possible make the execution in fore? and can I see the brower and GUI while robot's interation?
It might be a new version of Jenkins, but JDK configurations are done in Global Tool Configurations in my jenkins not in Manage Jenkins like you have in your video.
Also, your explanation of creating lib folder and creating classpath for bin and lib folders through command prompt isn't working on my Mac. I tried to follow your steps using Mac I got no class found in testng.xml. I
Hi Mukesh, Thanks for Video and Can't we execute java files which we created for automation using batch files directly ? I mean is it possible to integrate Jenkins with Selenium scripts without TestNG ?
Hi Mukesh. i do follow your videos and they are well explained. I am using Laravel framework and my code resides in bitbucket. How I setup the Jenkins job command shell in order to run the browser tests. I did the jenkins job configuration and able to create the build. but how I set up the command shell in order to run the test in chrome browser instance. Any help or suggestion would be appreciated.
Hii sir , actually when i am going under manage jenkins under that configure system then i am not getting the option where i can set my jdk path . Please give me some proper response...
Hi Mukesh! Your tutorial is wonderful! However may I ask if Jenkins with selenium integration can be possible with an application ran by C Sharp? I've been searching for helpful tutorial but so far this is the most relevant tutorial I have found. Thanks!
+Carl Jerich Lague Hey Carl Thanks :) Yes we can easily integrate any C# application with Jenkins. You can trigger batch command or shell script etc from Jenkins.
Hi Sriram, if Jenkins is running on VM/Cloud System like AWS then it will build the application in that system or in the slave which is configured. If jenkins is running locally (which I have shown in my video) then it will build locally.
Hi Mukesh, How to run multiple webdriver tests by using command prompt. Already i configured my project with maven. And how to add all selenium related jar files to project folder.
+Revanth Gulla Hi Revanth if you have configured maven project then you can run pom.xml from CMD and it will trigger all test which is inside testng.xml. Please refer below video where maven is covered in detail. ua-cam.com/video/nasdb9QhFqg/v-deo.html
+Mukesh otwani Thank you for your valuable information. You kept all selenium related jar files at one place called lib. Can you help me in that area. Then it will useful to me to set the paths easily while running through Command line.
Hi,Nice tutorial , can you please explain what is QA role in jenkins configuration? do we need to configure jenkin in ur system or do we need use already configured jenkin and deploy our code using batch file?
Hi mukesh awesome update. i want to know how to add browser driver files?? Will it take the Local system path automatically as we mentioned in TestNG script or we have to set a separate path as Selenium jar files??
Hi, mukesh, is it necessary to run the selenium script through command prompt first or can we just simply create batch file directly and run it on jenkins ??
Hi Mukesh Sir. You made a folder lib in this video in which you are putting all the libraries here. But i am using maven repository. I have to make lib folder in that case as well ?
is there any need for Selenium configuration required in jenkins for executing web driver? Im trying with chrome browser and when build from jenkins, the build is failing because of timeout. at the step to invoke chromedriver its keep on loading and never completed.
Hi Mukesh All of your videos are very helpful. Can you please publish a video for Selenium Integration with TeamCity (TeamCity is a Java-based build management and continuous integration server from JetBrains). Thanks Nidhi
Hi sir, your videos very help full...................., I did same thing(already done all steps in this video) in my system but still am getting error in command prompt like "Cannot find class in class path", How can reslove this isssue? pls help me....
Hi Mukesh, This is good video for understanding the Jenkins concept but you copied all jar files into lib folder,i think we can do with maven without moving the files
Very helpful Video. Thanks for demo Mukesh. Could you please tell me how to resolve "Error: Could not find or load main class org.testng.TestNG" for MAC
Hi Mukesh, Thanks for you detailed video which explains in simple. But i do have a problem in getting email when my build fails. I have installed Jenkins 2.5 the latest version. when i click configure i can see the box where i can enter email id but there is no space to enter smtp and port. Just let me know where i can find these fields. Thanks in Advance..
+Mukesh otwani Hi Mukesh, I followed the steps im getting the following error
Test configuration Failed to send out e-mail javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 support.google.com/accounts/answer/185833 y2sm49092148pfi.39 - gsmtp
Hi Mukesh, I have created a job same as described in your video, but on clicking build now, it does nothing, I have no clue what to do next. that's all worked with cmd but not with the job. Need your help to fix this.
Hi Mukesh, I am actually using protractor and Jenkins to run all the test on remote machine. I am starting "webdriver-manager" manually on remote machine first and triggering Jenkins to run the test, is there a way i can start "webdriver-manager" using Jenkins? like pre-build step, using SSH. Your comment will really appreciated.
Hi mukesh, Thanks for video, I have configured a selenium project to be executed using a .bat file which executes fine for available .class files however I wanted to know how to compile selenium project from command prompt for multi person project to be complied /build for CI. Also I have a provision for recording video of test cases which does not play any video for remote Jenkins . Thanks in advance !
I keep getting an error what did you put in your bin folder? Can you tell me the structure of your bin folder? eg. C:\users\jenkinsdemo\bin\jenkinsdemo.java or C:\users\jenkinsdemo\bin ew folder\main\jenkinsdemo.java
Hey Mukesh .. thanks for the video Can i use the same steps for the latest Jenkins war? (Coz a pop up keeps coming during the video saying: Will work for 1.6) Also i had tried to use jenkins ..gave some errors so i deleted the war.. can i just use the latest war now and work? (Hope there wont be any conflicts)
Hi Mate, There are some changes while working with new Jenkins. I will make new video on this soon. if you want to use Jenkins 2 Follow below steps 1- Run war file 2- Add password which comes on screen 3- Install suggested plugin 4- Create new user 5 - login and continue with Jenkins settings.
Hello Mukesh, while configuring the jenkins I haven't got the jdk and maven configurations after setting the path on system varaiable Please help me out.
Hi Mukesh.. I have installed testng using the Eclipse marketplace. Now in the lib folder so I need to put the testng jar as well and also where can I get those jar files
HI Ankit, As standard now a days you should use Maven project so that u can skip jar part. This video will cover the same ua-cam.com/video/A4Z1F7gJvkY/v-deo.html
Hi Mukesh, You have mentioned that browser will not open while running through jenkins.But while i tried to run the script, browser is opened as normal execution.Any idea?
Hello Mukesh, Can you please tell, how to automate user session timeout. Suppose I have a web application, in this application user session timeout is one hour so how can we automate this scenario by avoiding manually waits for one hour. Or We have to wait for one hour by giving implicit wait or any other wait? My requirement is, i don't want to wait for one hour so in this case can we automate user session timeout??
Hi Mukesh, Thanks to share awesome videos.! Is it possible to create a .bat file without using TestNG, which I can use to start my test script or in Jenkins as well. Actually, I am not using TestNG in my framework. I have my own HTML results. Can we communicate some time if you will feel comfortable, actually I have few questions from you. If you could take out some time then it will be wonderful for me. Thanks Jaspal
Hi Mukesh, Thanks for the reply. Actually, I am not using TestNG as well as JUnit. In my framework I have created my own class to create a HTML result report. And after did some research I have found the solution for this problem. Thanks for your time. Regards Jaspal Aujla
+Karthi Keyan Hi Karthi we need to do small configuration in jenkins if we are working with Maven. I am planning to create video on soon. I will update soon.
Greetings from Finland, Mukesh - thanks for the excellent tutorial. Saved our company a ton of money since we can now build tests inhouse instead of hiring extra professionals. Tutorial is still very relevant with some little tweaks, even though it's over 2 years old.
Thank a ton Nebuli :) I am glad to see such a nice comment. Keep watching
Hi Mukesh ,
Every thing is working fine for my . Finally I am able to run my scripts with jenkins.
Thank you ! Thank you for your videos and keep it up !
Happy Learnings !!!!
Thanks Manu. Have a nice weekend.
Superb and Thanks Mukesh...A small suggestion/input
Order of topics could be as follows,
1. Create Seleniumm Script.
2. CReate Btch file
3.Download Jenkins.
4. Configure Jenkins.
5. Create Jenkins Job.
6. Excuting selenium TestNG script using Jenkins Job.
Pls ignore if u feel it is not valid.
CM Mohan Thanks, Mohan.Totally agreed. Will create a video of End to End scenario. Thanks for the input.
Dear Mukesh Sir,
Thank you for details on Maven and Jenkins. It really helped me to take some good steps in the Automation field.
Keep up the good work. Thanks again 😊👍🙆
Most welcome Hemant :) Keep learning.
Hi Mukesh Sir, Currently I am working with Manual Testing and grabbing as much as knowledge i can through your videos as I am looking for a change into Automation... I just wanted to know the importance of jenkins in industry right now... Do i need to learn it thoroughly or just the knowledge of jenkins is enough?
Thanks a lot Sir.understood everything very clearly.
Most welcome Israt :) Keep visiting
Thanks Mukesh, Well explained, now my concepts are pretty clear!!
+saurav prasad glad to hear mate
Thanks Mukesh...for the nice video with great way of explaining...Thank you
Hey Manas I am glad to know it helped you. happy weekend.
Hi Mukesh, Very good explanation..Thanks, I have one question: How do I view the contents of my Selenium framework structure in Jenkins home page when I click on Workspace link. Now, When I click on the Workspace link It is empty. I would want view my Extent reports via Jenkins itself. I have seen in of your videos, That you have shown the Extent Reports through Jenkins.
Hi Prashanth, if you clone the git repo then it will show you automatically. Also check which kind of job you are creating? Is this freestyle project or Maven project.
@@Mukeshotwani
Thanks Mukesh for the reply. This is a freestyle project
Very Helpful video Mukesh, Thanks for sharing.
+vibhuti gupta Thanks Vibhuti Keep visiting other videos as well.
Great video Mukesh , thanks for sharing your knowledge in simplest way possible
80Vikram thnx Vikram
Mukesh otwani Please I am getting an error that says: "Cannot find class in classpath:..". I ran it manually and it worked. I went to have a look at stackoverflow and there were many reported issues but no one was clear on the solution. Some where suggesting it was down to a kind of bug with TestNG plugin. Any idea why that is happening?
You are such a good Teacher!!!
Thank You Mukesh! for a good presentation
THRIVIKRAM REDDY Thank you Keep watching :)
Thank you for the wonderful video Mukesh 👍 Nice informative video 👍👌
Thanks Mukesh, I am able to establish end to end Selenium using GIT, cucumber, maven and Jenkins using your video. Just wanted to ask how can I see the actual execution going on in Mac Sierra OS?
Thank you for your valuable information Mukesh.
+khyathi Konala thnx Khyathi
Hi Mukesh,
It is very helpful.
Thanks for posting this video.
Mrigank Ved thnx
Great Video Mukesh!
When I run the build in Jenkins I see "Welcome to Jenkins World" in the console however when I add the new InternetExplorerDriver and additional code for getTitle it finishes successfully but shows no output in Jenkins. Runs perfectly fine in the IDE.
Hi Mukesh, Thanks a lot for the wonderful tutorial on Selenium WebDriver. I need some help with Jenkins integration. My Build is running successfully with simple sys out statement but after adding the selenium code the build fails. Could you please advice what could be the reason for that?
Hey Mukundan, can you share build log or screenshot?
mukeshotwani@learn-automation.com
All the videos are awesome, voice pace is really very good and easy to understand. 5*****!!!
Thanks Ravindra bhai
Hi mukesh I need your help.
I am generally run selenium test cases on my local window machine.
Now I am trying to run my selenium code on Jenkins which is installed in Linux server.
What are the prerequisites for executing the same on linux.
As when I tried to run my code its given me error : firefox.NotConnecteException
I guise firefox not installed on linux box.It must be on server?
Please tell me what are the possibility behind this issue with solution.
Also tell me the if any setup require as prerequisites.
Excellent demo and explanation ..Thanks a lot
+vishal kopkar welcome Vishal
thnx mukesh for sharing imp info. just a question, is it compulsary to use testng for jenkins or without testng we can also work with.
You can use JUnit and you can run directly as well.
Hi Mukesh,
Your videos are great. I want to know suppose I have created multiple selenium webdriver Test cases in eclipse and I want to run that multiple TCs with Jenkins then what configuration I have to do on both sides(eclipse as well as in Jenkins)? If you already have video for such a task then please share.
Thanks in advance
+Nakul Dhenge Hi Nakul if you have multiple test cases then create multiple testng.xml files and specify the xml in batch file and remaining process will be same.
Try the same and let me know
Thanks for the clear explanation on jenkins
Thanks Anandhi
Hi Mukesh ...Can we integrate selenium grid with Jenkins ... If so please explain how... Thank you
excellent explanation... thanks lot for your video
Welcome haritha Hope it worked for you. Let me know if any help required
Hi Mukesh,, can you please explain what is QA role in jenkins configuration? do we need to configure jenkin in ur system or do we need use already configured jenkin and deploy our code using batch file?
+thota venkatesh HiThota as a QA you should know how to configure jenkins and trigger the test. You can use own system or virtual machine which run 24/7 and code you can keep on GIT or any other SVN. Share ur email I will ping u one video on the same.
+Mukesh otwani Hi Mukesh,Thanks for responding.Below is my email,can you please share me the video
Hi Mukesh, thanks for the informative videos..always helpful.,could u share the link for my mailid Zareenas_al@yahoo.co.in
Once Again awesome presentation. can you please share the next video for Jenkins with Maven project
thank you Mukesh !! really nice vedio very helpfull.
Hi Karishma, I am glad you liked it, this video was recorded in 2015, please also check new video of jenkins with new feature.
Hi Mukesh, nice tutorial. I am able to run my Maven project through jenkins successfully. I want to run single test from test suite using jenkins. Please help me on this. Thank you
Hi Venkata, what issue you are facing while running test via Jenkins? I have created another series for this please check ua-cam.com/video/gT9qnZi3f74/v-deo.html
Thanks for the tutorial brother . It helped a lot. You are doing a really good job.
WOW... Thanks a lot ... really good video
+partpar Thanks
Really really a good demo..... thanks a lot
+Noor Shiblee thnx Noor
HI Mukesh,
this is video tutorial is very easy to understand for the beginners,I have successfully configured On windows Machine But when ever i execute from jenkins it is opening the browser Any idea on this, And I wanted to install the Jenkins On the Linux server , is there any video available for that,
+satish m yes this will start browser normally I have done in headless mode
Awesome Mukesh !! Really appreciate and thank you !!
+Vineet Bhardwaj Thanks Vineet
Mukesh, thanks for this tutorial. is there a way to have my QA Manager or QA Team members to run the Selenium testcases on their physical machine?
+rajbiney yes it is possiblefor that you need to create Jenins Slave on their system then you can trigger script from their machine.
Hi how are you? first of all thanks for the info you share with us, I am working automation with python and pycharm with unitest but I have a problem when I want to implement continuous integration with Jenkiss, can I create the pom from python or install maven from it?
Very clearly explained
Thanks dude...
+Mallikarjun Repakula Thanks Mallikarjun
Hi Mukesh your doing well .This topic I have one doubt, is this possible for Junit?
Hi Mukesh, good video, thank you. I have a question: Is possible make the execution in fore? and can I see the brower and GUI while robot's interation?
Hi can you please explain your requirement again. I am little lost here
It might be a new version of Jenkins, but JDK configurations are done in Global Tool Configurations in my jenkins not in Manage Jenkins like you have in your video.
Yes I showed in 1.6 version which i used 2 years back. You will find new UI in Jenkins 2.0
Also, your explanation of creating lib folder and creating classpath for bin and lib folders through command prompt isn't working on my Mac. I tried to follow your steps using Mac I got no class found in testng.xml. I
Yes so in MAC try with Maven ua-cam.com/video/A4Z1F7gJvkY/v-deo.html
Thanks Mukesh.. Good video.
Sandesh Shetty Thanks
Hi Mukesh,
Thanks for Video and Can't we execute java files which we created for automation using batch files directly ? I mean is it possible to integrate Jenkins with Selenium scripts without TestNG ?
Hi Mukesh. i do follow your videos and they are well explained. I am using Laravel framework and my code resides in bitbucket. How I setup the Jenkins job command shell in order to run the browser tests. I did the jenkins job configuration and able to create the build. but how I set up the command shell in order to run the test in chrome browser instance. Any help or suggestion would be appreciated.
Thank you for the detailed video
+sheejan joseph welcome Sheejan
Hii sir , actually when i am going under manage jenkins under that configure system then i am not getting the option where i can set my jdk path .
Please give me some proper response...
Hi Mukesh,First I would like to say thank you for preparing the video...Is there any way to see UI,while running the script in jenkins?
director santosh yes if u connect via slave then you can see UI as well
Hi Mukesh!
Your tutorial is wonderful! However may I ask if Jenkins with selenium integration can be possible with an application ran by C Sharp? I've been searching for helpful tutorial but so far this is the most relevant tutorial I have found. Thanks!
+Carl Jerich Lague Hey Carl Thanks :) Yes we can easily integrate any C# application with Jenkins. You can trigger batch command or shell script etc from Jenkins.
Hi Mukesh, Will jenkins run a build from local machine (locally) or in server?
Hi Sriram, if Jenkins is running on VM/Cloud System like AWS then it will build the application in that system or in the slave which is configured.
If jenkins is running locally (which I have shown in my video) then it will build locally.
@@Mukeshotwani Thanks Mukesh..
In the new jenkins I have not found the JDK installation part where I should put the java path. Can you please help?
Is it possible to integrate with AL M? If so, can u pls provide a overview?
Hi Nikhitha, which ALM you are looking for ? Each ALM provides set of API's that we can use and update the result accordingly
Great demo. Good job.
thank you Jay
Hi Mukesh,
How to run multiple webdriver tests by using command prompt. Already i configured my project with maven. And how to add all selenium related jar files to project folder.
+Revanth Gulla Hi Revanth if you have configured maven project then you can run pom.xml from CMD and it will trigger all test which is inside testng.xml.
Please refer below video where maven is covered in detail.
ua-cam.com/video/nasdb9QhFqg/v-deo.html
+Mukesh otwani Thank you for your valuable information. You kept all selenium related jar files at one place called lib. Can you help me in that area. Then it will useful to me to set the paths easily while running through Command line.
Hi,Nice tutorial , can you please explain what is QA role in jenkins configuration? do we need to configure jenkin in ur system or do we need use already configured jenkin and deploy our code using batch file?
+Sampada Sonar sent email kindly check
+Mukesh otwani Please send me the links too. Thanks
Email?
Chaudhary.nitesh@gmail.com
Hi Mukesh,
What types of jar files you are talking about that you put into lib folder ?
Hi mukesh awesome update. i want to know how to add browser driver files?? Will it take the Local system path automatically as we mentioned in TestNG script or we have to set a separate path as Selenium jar files??
Thank you Mukesh for this wonderful tutorial :)
your most welcome Varsha keep visiting
Hi, mukesh, is it necessary to run the selenium script through command prompt first or can we just simply create batch file directly and run it on jenkins ??
+keshav dwivedi Hi Keshav you can directly use in Jenkins
Thanks mukesh for your help and guidance
Hi Mukesh Sir.
You made a folder lib in this video in which you are putting all the libraries here. But i am using maven repository. I have to make lib folder in that case as well ?
Hi Zafar, For Maven I have another video kindly check below ua-cam.com/video/A4Z1F7gJvkY/v-deo.html
Thank you Sir.
Thank you so much.....clear description.
Thanks Vidya keep learning.
Thanks a lot, Very good tutorial
Welcome mate.. keep visiting other videos and let me know if any help.
Nice Tutorial...
+Pavan Kumar Thanks Pavan
is there any need for Selenium configuration required in jenkins for executing web driver? Im trying with chrome browser and when build from jenkins, the build is failing because of timeout. at the step to invoke chromedriver its keep on loading and never completed.
hi u explained very well bro but what about that jar files you are copying in lib folder. which jar files I have to add
Hi Kranthi all jars I have download from seleniumhq and kept in lib folder.
@@Mukeshotwani Could you please provide us the download link ?
Hi Mukesh
All of your videos are very helpful. Can you please publish a video for Selenium Integration with TeamCity (TeamCity is a Java-based build management and continuous integration server from JetBrains).
Thanks
Nidhi
+Nidhi Garg Hi Nidhi Thank you. I have not tried this but sure will try this and if i will get any success then will update video and post on this.
I also required video regarding the same.
Please make video on this
Thanks
Hi sir, your videos very help full....................,
I did same thing(already done all steps in this video) in my system but still am getting error in command prompt like "Cannot find class in class path",
How can reslove this isssue? pls help me....
Hi Sandeep please try with Maven project.
Hi sir,
i have tried with maven project, its working fine.may i know the mistake where i have done?
Hi Mukesh,
This is good video for understanding the Jenkins concept but you copied all jar files into lib folder,i think we can do with maven without moving the files
+Gnaneshwar Reddy Yes u r correct I did the same in next video :) ua-cam.com/video/A4Z1F7gJvkY/v-deo.html
Can we insert more batch files for parallel execution or continuous execution in Jenkins- build-(the place where where we are placing run.bat )
Hi very well explained could you upload videos on ALM/QC?
Thanks Pavan. I have not worked on ALM so not sure on this.
Very much useful Sir.
+Abhishek Mishra thanks Abhishek
Very helpful Video. Thanks for demo Mukesh.
Could you please tell me how to resolve "Error: Could not find or load main class org.testng.TestNG" for MAC
Hey Ravi, you can set the classpath then you can run the test locally and using Jenkins as well.
Thanks for your videos it is really awesome.if it is possible provide the video for Jenkins in Linux system
Hi Narendar I dont have linux system but will try to find some work around and will update.
Hi Mukesh I needed a help. I am programmatically creating my testng.xml. How will i configure it in that case?
Try with Maven ua-cam.com/video/A4Z1F7gJvkY/v-deo.html
Hi Mukesh,
Thanks for you detailed video which explains in simple. But i do have a problem in getting email when my build fails. I have installed Jenkins 2.5 the latest version. when i click configure i can see the box where i can enter email id but there is no space to enter smtp and port. Just let me know where i can find these fields. Thanks in Advance..
+Aravindan Gandhi Hi Aravindan click on advance setting then you will get this option.
+Mukesh otwani Hi Mukesh, I followed the steps im getting the following error
Test configuration
Failed to send out e-mail
javax.mail.AuthenticationFailedException: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 support.google.com/accounts/answer/185833 y2sm49092148pfi.39 - gsmtp
Hi Mukesh, I have created a job same as described in your video, but on clicking build now, it does nothing, I have no clue what to do next.
that's all worked with cmd but not with the job. Need your help to fix this.
Hi Mukesh,
I am actually using protractor and Jenkins to run all the test on remote machine. I am starting "webdriver-manager" manually on remote machine first and triggering Jenkins to run the test, is there a way i can start "webdriver-manager" using Jenkins? like pre-build step, using SSH. Your comment will really appreciated.
+Nikhil Mylarapu Hi Nikhil Yes you can write a batch file which will trigger webdriver-manager and rest will be same.
+Nikhil Mylarapu Hi Can u please help viewers for protector. You can post on my blog as Guest author. Your help will be highly appriciated.
+Mukesh otwani Hi Mukesh , I would be happy to do. are there any specific questions? I am not an expert, but i can do my best.
Hello Mukesh,
i have gone thru demo "Selenium Integration with Jenkins", do you have similar demo for Python?
No Srini, will try to make it soon.
Good night to you all and have blessed moments..
Hi mukesh,
Thanks for video, I have configured a selenium project to be executed using a .bat file which executes fine for available .class files however I wanted to know how to compile selenium project from command prompt for multi person project to be complied /build for CI. Also I have a provision for recording video of test cases which does not play any video for remote Jenkins . Thanks in advance !
Hi Akshay,
I use maven project and it works like a charm.
You rock man, thanks
Thank you Akana :) keep visiting.
I keep getting an error
what did you put in your bin folder?
Can you tell me the structure of your bin folder?
eg.
C:\users\jenkinsdemo\bin\jenkinsdemo.java
or
C:\users\jenkinsdemo\bin
ew folder\main\jenkinsdemo.java
+TheBlueberryboy Hi Bin folder created by JAVA automatically it contains binary classes..
Ran successfully ... thanks
Cheers Rupak
Hi Mukesh,
How to change the port number of jenkins from 8080 to another port, as 8080 already taken by tomcat
Hey Mukesh .. thanks for the video
Can i use the same steps for the latest Jenkins war? (Coz a pop up keeps coming during the video saying: Will work for 1.6)
Also i had tried to use jenkins ..gave some errors so i deleted the war.. can i just use the latest war now and work? (Hope there wont be any conflicts)
Hi Mate,
There are some changes while working with new Jenkins.
I will make new video on this soon.
if you want to use Jenkins 2
Follow below steps
1- Run war file
2- Add password which comes on screen
3- Install suggested plugin
4- Create new user
5 - login and continue with Jenkins settings.
Hello Mukesh,
while configuring the jenkins I haven't got the jdk and maven configurations after setting the path on system varaiable
Please help me out.
Hi Tariq in new Jenkins you will find in Global tool configuration.
Mukesh otwani thanks a lot, now its work
thank you soooo soooosooosososososoo much!
+thomnl123 Thank you.
where exactly the execution is happening because we don't have any slave machine connected
Hi Shreyansh if no slave connected then it will run on Master system.
Hi Mukesh..
I have installed testng using the Eclipse marketplace. Now in the lib folder so I need to put the testng jar as well and also where can I get those jar files
HI Ankit, As standard now a days you should use Maven project so that u can skip jar part. This video will cover the same ua-cam.com/video/A4Z1F7gJvkY/v-deo.html
Thanks Mukesh for ur videos.
Most welcome Baba. Let me know if any help required.
Hi Mukesh,
You have mentioned that browser will not open while running through jenkins.But while i tried to run the script, browser is opened as normal execution.Any idea?
+Mohammed Basil Yes it will behave normal execution. I have done in headless mode.
+Mukesh otwani Thank you,but will you tel me how i can start browser in headless mode.
Hello Mukesh,
Can you please tell, how to automate user session timeout.
Suppose I have a web application, in this application user session timeout is one hour so how can we automate this scenario by avoiding manually waits for one hour.
Or
We have to wait for one hour by giving implicit wait or any other wait?
My requirement is, i don't want to wait for one hour so in this case can we automate user session timeout??
You are awesome
Thanks Nitin
How to configure OWSAP ZAP(security testing tool) with jenkins ? Which plugin I need to install ? Can you upload video to do this.
Good video
Hi Mukesh,
Thanks to share awesome videos.!
Is it possible to create a .bat file without using TestNG, which I can use to start my test script or in Jenkins as well. Actually, I am not using TestNG in my framework. I have my own HTML results. Can we communicate some time if you will feel comfortable, actually I have few questions from you. If you could take out some time then it will be wonderful for me.
Thanks
Jaspal
+Jaspal Singh Aujla Hi Jaspal are you using Junit if yes then you can configure Junit as well in Jenkins.
Hi Mukesh,
Thanks for the reply.
Actually, I am not using TestNG as well as JUnit. In my framework I have created my own class to create a HTML result report. And after did some research I have found the solution for this problem.
Thanks for your time.
Regards
Jaspal Aujla
Thank you very Much
+Naveen Kumar Thanks Naveen
Nice Video for all beginers !!! Grt ;)
Kanhaiya Agrawal Thanks Kanhaiya
How would the job configuration change if I use Maven?
Btw Really nice video..:)
+Karthi Keyan Hi Karthi we need to do small configuration in jenkins if we are working with Maven. I am planning to create video on soon. I will update soon.
+Mukesh otwani
how to run testng from command promp
Hello Sir,
can you a upload vedio for AutoIT with Selenium. Please do a favour as I want to understand it...
Yes Ekta, I already have on this kindly check
learn-automation.com/upload-file-in-selenium-webdriver-using-autoit/