Thanks mukesh once again ur video helped me a lot i am seeing so many videos for jenkins ,right now i am working on it ,but atlast i got my problem solution from ur videos ,it really helped me a lot.. this is my 2nd comment on youtube history i rarely comment on youtube but ur videos make me feel so happy to comment bcoz it helped me a lot in my work as well as improving my skills
Thank-you for this wonderful video, I'm in my training period, this really helped me flex my skills in front of my managers. Your videos are best Mukesh.
Thanks Mukesh, I could run the test. But I didn't see 'Cloning the Git repository' in my console output. Also, I saw this :The recommended git tool is: NONE. Yet Jenkins showed 'Fetching upstream changes' and finally ran the tests successfully.
I also got a couple of warnings before Jenkins jumped to TESTS. WARNING] error reading C:\Users\munee\.m2 epository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar; invalid LOC header (bad signature) [WARNING] error reading C:\Users\munee\.m2 epository\org\apache-extras\beanshell\bsh\2.0b6\bsh-2.0b6.jar; invalid LOC header (bad signature) [WARNING] error reading C:\Users\munee\.m2 epository\junit\junit\4.13\junit-4.13.jar; Unexpected end of ZLIB input stream Any idea how to get rid of these? Though the tests ran successfully.
Thanks Mukesh, I have watched all the videos, and getting sence of the java, selenium, github... while executing this, i am getting this message, could you please let me know, is it issue with the connectivity ? ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE
Hi Mukesh, This is an excellent series and its very helpful. You are doing a great job. Thank you for all that you are doing. Please request you to add videos on Docker basics and running jenkins in dockers.. One question, after setting up jenkins as suggested and running my first job, i'm getting error saying "'mvn' is not recognized as an internal or external command, operable program or batch file.." but when i run the same command in cmd prompt it is working.Could you please help
Hi Mukesh, when i run the command newman --vesrion in Jenkin it gives me 'newman' is not recognized as an internal or external command, operable program or batch file. but when i check newman version in cmd it is perfectly fine, could you please help me on this
@@Mukeshotwani Started by user admin Running as SYSTEM Building in workspace C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\check_version [check_version] $ cmd /c call C:\WINDOWS\TEMP\jenkins11482978006318808689.bat C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\check_version>newman -v 'newman' is not recognized as an internal or external command, operable program or batch file. C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\check_version>exit 9009 Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE
I'm new to Jenkins, so please go easy! I have a web application which we are developing, and we've started automating our release using Jenkins. I also have a standalone Selenium WebDriver script which will perform a Smoke test on our web app. We usually run this manually each time there's a new deployment. I heard Jenkins can automatically trigger Selenium tests. So what I did was to create a batch file, which will in turn call the Selenium script. I added a Build Step which will call this batch file. What's happening now is Jenkins first Builds the WAR file, executes the batch (for selenium) and then deploys it to the target Tomcat. But I was wondering if I could change the order to Build WAR --> Deploy to Tomcat --> Call the Batch file that executes Selenium Test. I want to do this as Jenkins Tests before deploying, which means my Selenium test still runs on the old build. This makes little sense, as I would rather run the Selenium test on the new build. In short, is there a way I can execute the Batch file as part of a Post Build Step rather than a Build Step?
If we want to follow the video then we should not miss any steps or forward the video that can cause failure of the test because sometimes in rush we miss import click or select.
Hi, how did you configure GIT in JENKINS? I was getting error "Failed to connect to repository : Error performing git command:"... even though I gave the GIT installation path in JENKINS. Later figured out on how to find the git path through power shell and in my case it was 'C:\Program Files\Git\cmd\git.exe'... After setting this path in 'Global Tool Configuration' for GIT, I was able to run the build
Hi Suresh, Thank you for addressing this issue. Yes, sometimes Jenkins does not detect using bin directory so we need to provide C:\Program Files\Git\cmd\git.exe
Hi Shaik, is your code working without Jenkins? As per log I can see Selenium is not able to find chrome binary, Make your chrome is installed properly in your local system or in VM where test is running.
Hi Mukesh, Thanks for posting the videos, they are really helpful. I have a quick question related to the above, Let say i have an Automation Framework in place and my browser, URL and credentials are already set inside the Framework. Hence can you please tell as when Jenkins parameters are set what will happen to those predefined parameters already defined inside the Framework. or These will override them. Thanks, Ashirbad
Hi Ashirbad, if you want to pass parameter from jenkins then you need to maintain the same key in Jenkins job. Here is the flow Case 1 - Jenkins will pass the parameter which you can accept in maven and then in testng Case 1 - Jenkins will pass the parameter which you can accept directly in testng parameters.
Hi Mukesh, Thanks for sharing the information. Actually, I have a maven project which prints something. Let say a simple hello world main function and it prints "hello world" when I run as java application from eclipse. I pushed this code to github and when I trying to trigger the same from jenkins then I can see Build success. However, I am not seeing the print result "Hello World". Any help here would be much appreciated. Thanks!!
Hi Ishu, What configuration you did in pom.xml file. In order to run the test (testng) we have to use maven surefire plugin which will run testng.xml file. If you are using plain Java program (without testng) then you have to use www.mojohaus.org/exec-maven-plugin/
Hi Mukesh, I am getting "Compilation Error " while running the test from Jenkins "/C:/Users/HP/.jenkins/workspace/Amazon_TestRunner/src/main/java/com/qa/pages/LoginPage.java:[13,19] package com.qa.test does not exist" .
While configuring getting this below error:- Jenkins requires Java versions [8, 11] but you are running with Java 13 .How to upgrade Jenkins file or should I need to downgrade the JDK version?
Hey Ranjith, by default jenkins takes 8080 port number so if any other application is using 8080 then you can specify other port. In my case 8080 was used by some other application so I used different port.
Hey Mukesh any helo for this issue while trying to connect and clone for the Jenkins jobs? - Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Hi Mukesh, I am facing the error while execute in the jenkins. From eclipse and from command prompt it is working fine. Error is the fallowing: org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: '192-168-24-97', ip: '10.10.10.208', os.name: 'Linux', os.arch: 'amd64', os.version: '5.0.0-29-generic', java.version: '1.8.0_222' Driver info: driver.version: ChromeDriver remote stacktrace: #0 0x55f73e8db959
Hi Mukesh, Please help me out for resolving below build failure. Every time when i build my Jenkins demo project lets say for java -version, it's got failed by giving -" 'cmd' is not recognized as an internal or external command, operable program or batch file. " error. console: C:\Users\acer a\.jenkins\workspace\MyTest>mvn -version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: D:\Software Support\apache-maven-3.6.3-bin\apache-maven-3.6.3\bin\.. Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_131\jre Default locale: en_IN, platform encoding: Cp1252 OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" 'cmd' is not recognized as an internal or external command, operable program or batch file. Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE Thanks!!
Hi Mukesh, This video was really helpful but I need a help from you as I am stuck with an issue how to launch the Google chrome from my BitBucket code as I am unable to understand from the video how you mentioned the goals and actions in the Build section with Dbrowser= Chrome. Could you please help as I have no systempropertyvariables declared in pom but I have the browsername and executionmode mentioned in testng.xml file
help me! the execute a test on jenkis, I get the result: Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Hi, my browser in not opening when i run the test case in Jenkins, is there any config or settings i have to change to see the browser? As of now Jenkins is running headless browser
Hi Abhi if you install Jenkins as exe file then it will run in headless mode. If you install jenkins from cmd like I did in that video, you wont get this issue.
Hi Mukesh excellent video, I made all what you did to create a maven job and try to run a goal for my selenium framework, but everytime I faced this issue "[ERROR] Failed to execute goal on project LithiumWebTests: Could not resolve dependencies for project com.selenium.lithium:LithiumWebTests:jar:0.0.1-SNAPSHOT: Could not find artifact com.sorc.qa.selenium.utils:SeleniumUtils:jar:1.0-SNAPSHOT -> [Help 1]", could you help me to fix it?
Hi Luis seems you are missing SeleniumUtis jar in your project. If this jar is publicly available then mention maven dependency and if this jar is private then mention the jar path in pom.xml
can we download jenkins in java-13... i am getting this error - Jenkins requires Java versions [8, 11] but you are running with Java 13 from C:\Program Files\Java\jdk java.lang.UnsupportedClassVersionError: 57.0
Hi Chandra, agree with you. Installation will be same for Remote Machine as well. Once Jenkins is hosted in your network then you can access then via ip or host name as well. Jenkins also support master slave concept where you can connect multiple system as slave.
Hi Mukesh, can you please make a video on web services, if we receive wsdl request how can we prepare Test cases and Test scripts in excel before going to test Web services.is it necessary to write test cases in excel for wsdl file?
@@MukeshotwaniThank you for the reply.I attending the interviews they are asking webservies. I watched many videos but they are not explaining the test cases and test scripts for webservies. They download wsdl file and create testsuites.. Test cases in soapui.. But end of the day we have write the testcases for web Servies. It will help to all who are on the job trails in web services and for interview purpose and real time guys who got a chance to work on web services .
HI Mukesh, i got logged out automatically after some time, but when i try to login with the password i set, its not accepting, what should i do , how should i reset the password of jenkins, please tell
Hi Mukesh, I have forked your Github account and run a job in Jenkins but today u committed new msg to utility director right after that it won't work...what is the reason could you please reply me. Error: Trying to start Browser and Getting application ready [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 3.599 s
Hi MuKesh, I got issue when I input repository URl: Failed to connect to repository : Error performing command: git.exe ls-remote -h github.com/duc123/abc-automation.git HEAD .Can you help me to resolve this error?
hi mukesh thanks for videos alot you are such a good teacher , but i got one issue with jenkins , i couldnt run my test it gave me warning [WARNING] Error injecting: org.apache.maven.plugin.surefire.SurefirePlugin [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project selenium: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test failed: Unable to load the mojo 'test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4'. A required class is missing: org/apache/maven/plugin/surefire/SurefireReportParameters and thank you Sir
Hi Sir, add on git repository url in jenkins but my jenkins add on the git repository URL But Error msg is coming (Failed to connect repository:Error performing command: git.exe ls-remote -h github.com/xxxxxxxxx/FrameWork.git HEAD)so that solutions to all.
Hi Sridevi...I faced the same issue and found a solution for the same. First install the git and then you need to set the path to your git executable in Manage Jenkins -> Global Tool Configuration -> Git -> Git Installations -> Path to Git executable (This should be the path of your git.exe file). Plz try after make these changes. It worked for me.
Thanks mukesh once again ur video helped me a lot i am seeing so many videos for jenkins ,right now i am working on it ,but atlast i got my problem solution from ur videos ,it really helped me a lot.. this is my 2nd comment on youtube history i rarely comment on youtube but ur videos make me feel so happy to comment bcoz it helped me a lot in my work as well as improving my skills
Hi Monika, I am really glad my video helped me to fix your issue and keep learning. Let me know if you need any help in future too.
Thank you so much Mukesh for making indepth understanding for Jenkin integration with Selenium, It is very useful for interview purpose..
You are most welcome Amit
Thanks Mukesh for taking time and explaining very clearly
So nice of you Thanks Kiran
Thank-you for this wonderful video, I'm in my training period, this really helped me flex my skills in front of my managers. Your videos are best Mukesh.
Great to hear! Sailesh, keep learning and Happy Weekend.
Thanks Mukesh, I could run the test. But I didn't see 'Cloning the Git repository' in my console output. Also, I saw this :The recommended git tool is: NONE. Yet Jenkins showed 'Fetching upstream changes' and finally ran the tests successfully.
I also got a couple of warnings before Jenkins jumped to TESTS.
WARNING] error reading C:\Users\munee\.m2
epository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar; invalid LOC header (bad signature)
[WARNING] error reading C:\Users\munee\.m2
epository\org\apache-extras\beanshell\bsh\2.0b6\bsh-2.0b6.jar; invalid LOC header (bad signature)
[WARNING] error reading C:\Users\munee\.m2
epository\junit\junit\4.13\junit-4.13.jar; Unexpected end of ZLIB input stream
Any idea how to get rid of these? Though the tests ran successfully.
HI Muneet, if you can share the screenshot then I can provide my input. My email is mukeshotwani@learn-automation.com
@@Mukeshotwani Thanks so much for looking into my query. Sure, I am sending it you with the issues.
Great job I would also like to add that we need to use the Jenkin UserId and Password.
yes if it prompt
Mukesh sir, i am waiting for github git branching & how it works , when u will upload that video.
Hi Amir after this series I will upload
Thanks Mukesh, I have watched all the videos, and getting sence of the java, selenium, github... while executing this, i am getting this message, could you please let me know, is it issue with the connectivity ?
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE
Clear and great presentation.... Thanks
Hi Mukesh, This is an excellent series and its very helpful. You are doing a great job. Thank you for all that you are doing. Please request you to add videos on Docker basics and running jenkins in dockers.. One question, after setting up jenkins as suggested and running my first job, i'm getting error saying "'mvn' is not recognized as an internal or external command,
operable program or batch file.." but when i run the same command in cmd prompt it is working.Could you please help
Hi Arun,
You need to set MAVEN_HOME path in jenkins as well then it will run.
I am planning for docker as well soon I will publish.
Mukesh MAVEN_HOME in enviroment > advanced settings right??
Yes User variable section
Hi Mukesh, when i run the command newman --vesrion in Jenkin it gives me 'newman' is not recognized as an internal or external command, operable program or batch file. but when i check newman version in cmd it is perfectly fine, could you please help me on this
Can you share screenshot?
@@Mukeshotwani
Started by user admin
Running as SYSTEM
Building in workspace C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\check_version
[check_version] $ cmd /c call C:\WINDOWS\TEMP\jenkins11482978006318808689.bat
C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\check_version>newman -v
'newman' is not recognized as an internal or external command,
operable program or batch file.
C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\check_version>exit 9009
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
@@Mukeshotwani same with me
Hi @Mukesh, how do we publish the ExtentReport from Jenkins? Also, how do we attach the extent report in the email which is triggered from Jenkins?
Hi Praboth I have shown how to attach normal HTML file and soon will be posting for extent report as well
@MukeshOtwani: Thank you so much for this beautiful explanation. We just love your work, is there a video to send reports via email as well.
Yes Anil, in Jenkins you have this feature, after build is success or failure, it will send emall.
I'm new to Jenkins, so please go easy!
I have a web application which we are developing, and we've started automating our release using Jenkins.
I also have a standalone Selenium WebDriver script which will perform a Smoke test on our web app. We usually run this manually each time there's a new deployment.
I heard Jenkins can automatically trigger Selenium tests. So what I did was to create a batch file, which will in turn call the Selenium script. I added a Build Step which will call this batch file.
What's happening now is Jenkins first Builds the WAR file, executes the batch (for selenium) and then deploys it to the target Tomcat.
But I was wondering if I could change the order to Build WAR --> Deploy to Tomcat --> Call the Batch file that executes Selenium Test. I want to do this as Jenkins Tests before deploying, which means my Selenium test still runs on the old build. This makes little sense, as I would rather run the Selenium test on the new build.
In short, is there a way I can execute the Batch file as part of a Post Build Step rather than a Build Step?
If we want to follow the video then we should not miss any steps or forward the video that can cause failure of the test because sometimes in rush we miss import click or select.
true Akbar
Hi, how did you configure GIT in JENKINS? I was getting error "Failed to connect to repository : Error performing git command:"... even though I gave the GIT installation path in JENKINS. Later figured out on how to find the git path through power shell and in my case it was 'C:\Program Files\Git\cmd\git.exe'... After setting this path in 'Global Tool Configuration' for GIT, I was able to run the build
Hi Suresh, Thank you for addressing this issue.
Yes, sometimes Jenkins does not detect using bin directory so we need to provide C:\Program Files\Git\cmd\git.exe
@@Mukeshotwani Thank you Mukesh i was facing the same issue and it worked for me
Thank you @Suresh i was facing the same issue and it worked for me
Hi, i m getting below error when we build through jenkins
org.openqa.selenium.WebDriverException:
unknown error: cannot find Chrome binary
Hi Shaik, is your code working without Jenkins? As per log I can see Selenium is not able to find chrome binary, Make your chrome is installed properly in your local system or in VM where test is running.
Hello Mukesh , getting the error "could not create the java virtual machine in jenkins"
Hi Ankit, please use LTS version of Jenkins with Java 8
Hi Mukesh,
Thanks for posting the videos, they are really helpful.
I have a quick question related to the above,
Let say i have an Automation Framework in place and my browser, URL and credentials are already set inside the Framework. Hence can you please tell as when Jenkins parameters are set what will happen to those predefined parameters already defined inside the Framework.
or
These will override them.
Thanks,
Ashirbad
Hi Ashirbad, if you want to pass parameter from jenkins then you need to maintain the same key in Jenkins job.
Here is the flow
Case 1 - Jenkins will pass the parameter which you can accept in maven and then in testng
Case 1 - Jenkins will pass the parameter which you can accept directly in testng parameters.
Is robotics upload will affect our script when we executing script through Jenkins in headless mode?
Hi Mukesh, Thanks for sharing the information.
Actually, I have a maven project which prints something. Let say a simple hello world main function and it prints "hello world" when I run as java application from eclipse. I pushed this code to github and when I trying to trigger the same from jenkins then I can see Build success. However, I am not seeing the print result "Hello World".
Any help here would be much appreciated. Thanks!!
Hi Ishu, What configuration you did in pom.xml file.
In order to run the test (testng) we have to use maven surefire plugin which will run testng.xml file.
If you are using plain Java program (without testng) then you have to use www.mojohaus.org/exec-maven-plugin/
Hi Mukesh, I am getting "Compilation Error " while running the test from Jenkins
"/C:/Users/HP/.jenkins/workspace/Amazon_TestRunner/src/main/java/com/qa/pages/LoginPage.java:[13,19] package com.qa.test does not exist" .
While configuring getting this below error:- Jenkins requires Java versions [8, 11] but you are running with Java 13
.How to upgrade Jenkins file or should I need to downgrade the JDK version?
Hi Subhasish, I am using Java 8 for all tutorials.
@@Mukeshotwani yeah after installing Java 11 my problem got resolved. Thanks for ur update .
Does it manadatory to give port number while running war file in common prompt?
Hey Ranjith, by default jenkins takes 8080 port number so if any other application is using 8080 then you can specify other port. In my case 8080 was used by some other application so I used different port.
Hi I was getting , "An error Occured" when i click on Install suggested plugin once i launch and entered the password.Could you please help here
Hey Mukesh any helo for this issue while trying to connect and clone for the Jenkins jobs? - Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Hi Mukesh, I am facing the error while execute in the jenkins. From eclipse and from command prompt it is working fine. Error is the fallowing:
org.openqa.selenium.WebDriverException:
unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so
ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: '192-168-24-97', ip: '10.10.10.208', os.name: 'Linux', os.arch: 'amd64',
os.version: '5.0.0-29-generic', java.version: '1.8.0_222'
Driver info: driver.version: ChromeDriver
remote stacktrace: #0 0x55f73e8db959
Hi Subbarao seems Jenkins is running on Linux and chromdriver sessions are not compatible with chrome browser.
Try changing driver version.
Hi sir Could you please tell me which credentials u are providing while cloning with git hub, I'm not able to create build
github login credentials i think.
Its my github credentials.
Hi Mukesh,
Please help me out for resolving below build failure.
Every time when i build my Jenkins demo project lets say for java -version, it's got failed by giving -" 'cmd' is not recognized as an internal or external command,
operable program or batch file.
" error.
console:
C:\Users\acer a\.jenkins\workspace\MyTest>mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: D:\Software Support\apache-maven-3.6.3-bin\apache-maven-3.6.3\bin\..
Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_131\jre
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
'cmd' is not recognized as an internal or external command,
operable program or batch file.
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
Thanks!!
Hi Ashutosh, I hope you have proper JAVA_HOME path variable set and you are using build window batch from Jenkins.
Hi Mukesh
I have small dout how to access mobile using c#
Hi Mukesh, This video was really helpful but I need a help from you as I am stuck with an issue how to launch the Google chrome from my BitBucket code as I am unable to understand from the video how you mentioned the goals and actions in the Build section with Dbrowser= Chrome. Could you please help as I have no systempropertyvariables declared in pom but I have the browsername and executionmode mentioned in testng.xml file
Hi Kirti please share pom.xml and error log so that i can guide you accordingly.
@@Mukeshotwani Thanks for your reply. I solved it actually it was an issue related to Linux server.
@@kritidey2055 okay 👌
Hello Mukesh,
I did same configuration for gmail account to send the mail, but its failing, please suggest
help me! the execute a test on jenkis, I get the result:
Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Hi, my browser in not opening when i run the test case in Jenkins, is there any config or settings i have to change to see the browser?
As of now Jenkins is running headless browser
Hi Abhi if you install Jenkins as exe file then it will run in headless mode. If you install jenkins from cmd like I did in that video, you wont get this issue.
@@Mukeshotwani OK thank you, you helped me a lot
Hi Mukesh, will it possible for you to add one on: Selenium Integration with Jenkins & SVN'
'Selenium Integration with Bamboo & SVN'
Hi Ashwin, concept is same like above, when you use Bamboo or TeamCity or any other CI tool. I will try to cover teamcity and Bamboo is coming videos.
@@Mukeshotwani Thank you very much Mukesh, appreciate your effort!!!
The browser should not open sir and one more thing I used the web driver manager sir may the issues comes under this or?
In mac, where do i find the JAVA_HOME path?
Hi Mukesh,
Please share video selenium integration with litmus
Hi Ravish what is your Usecase?
Hi Mukesh excellent video, I made all what you did to create a maven job and try to run a goal for my selenium framework, but everytime I faced this issue "[ERROR] Failed to execute goal on project LithiumWebTests: Could not resolve dependencies for project com.selenium.lithium:LithiumWebTests:jar:0.0.1-SNAPSHOT: Could not find artifact com.sorc.qa.selenium.utils:SeleniumUtils:jar:1.0-SNAPSHOT -> [Help 1]", could you help me to fix it?
Hi Luis seems you are missing SeleniumUtis jar in your project.
If this jar is publicly available then mention maven dependency and if this jar is private then mention the jar path in pom.xml
Hi Sir, can we install Jenkins on windows 32 bit?
Hi Sushila process is same for 32 bit or 64 bit.
Sir i got error as jenkins requirs java version 8,11
Hi sir,
I was facing the issues like below, on Ubuntu 16.04.
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 3.29 s
can we download jenkins in java-13... i am getting this error - Jenkins requires Java versions [8, 11] but you are running with Java 13 from C:\Program Files\Java\jdk
java.lang.UnsupportedClassVersionError: 57.0
Hi , I was getting the smae issue. Try to uninstall Java-13 and install Java-8 ,set the environmental variables.
Thanks mukesh 😊
😇
Any video with - Remote Jenkins server, selenium and maven. In realtime project no one installs Jenkins on local system.
Hi Chandra, agree with you. Installation will be same for Remote Machine as well.
Once Jenkins is hosted in your network then you can access then via ip or host name as well.
Jenkins also support master slave concept where you can connect multiple system as slave.
You can restart your Jenkins by simply typing /restart after localhost:8004.
Hi Mukesh, can you please make a video on web services, if we receive wsdl request how can we prepare Test cases and Test scripts in excel before going to test Web services.is it necessary to write test cases in excel for wsdl file?
Sure I will make video on this too
@@MukeshotwaniThank you for the reply.I attending the interviews they are asking webservies.
I watched many videos but they are not explaining the test cases and test scripts for webservies. They download wsdl file and create testsuites.. Test cases in soapui.. But end of the day we have write the testcases for web
Servies. It will help to all who are on the job trails in web services and for interview purpose and real time guys who got a chance to work on web services .
HI Mukesh, i got logged out automatically after some time, but when i try to login with the password i set, its not accepting, what should i do , how should i reset the password of jenkins, please tell
Mukesh .. thank you !!
Thanks Mate :) What is your name? I can see your channel name only
Hey Mukesh could you please complete your framework video kindly
Hi Rehan this is all part of framework only
@@Mukeshotwani yes but you left out in custom library section in framework please don't get me wrong and check ur telegram msg shared something
Hi Mukesh, I have forked your Github account and run a job in Jenkins but today u committed new msg to utility director right after that it won't work...what is the reason could you please reply me.
Error: Trying to start Browser and Getting application ready
[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 3.599 s
i am using windows machine
What is the issue you are getting?
please you can example with selenium, phyton and jenkis also Github?? thx
Hi Walter Jenkins github process will be same only in Jenkins build command will change I will try to post video on this.
Hi MuKesh, I got issue when I input repository URl: Failed to connect to repository : Error performing command: git.exe ls-remote -h github.com/duc123/abc-automation.git HEAD .Can you help me to resolve this error?
Hi Duc it seems some jenkins version incompatibility.. You can upgrade or downgrade your jenkins.
helpfull.
Thanks Kapil
hi mukesh thanks for videos alot you are such a good teacher , but i got one issue with jenkins , i couldnt run my test it gave me warning
[WARNING] Error injecting: org.apache.maven.plugin.surefire.SurefirePlugin
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project selenium: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test failed: Unable to load the mojo 'test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4'. A required class is missing: org/apache/maven/plugin/surefire/SurefireReportParameters
and thank you Sir
Hi Tarik, can you please share the pom.xml file or complete project.
@@Mukeshotwani hi mukesh how are you doing my friend thanks alot for you reply so my pom.xml is :
4.0.0
org.training
selenium
0.0.1-SNAPSHOT
jar
org.seleniumhq.selenium
selenium-java
3.141.59
org.seleniumhq.selenium
selenium-server
3.141.59
org.testng
testng
7.1.0
compile
org.apache.poi
poi
4.1.2
org.apache.poi
poi-ooxml
4.1.2
log4j
log4j
1.2.17
commons-io
commons-io
2.6
com.aventstack
extentreports
4.0.9
io.github.bonigarcia
webdrivermanager
4.0.0
org.apache.maven.plugins
maven-compiler-plugin
3.8.1
1.8
1.8
org.apache.maven.plugins
maven-release-plugin
3.0.0-M1
org.codehaus.mojo
exec-maven-plugin
1.6.0
org.apache.maven.plugins
maven-resources-plugin
3.1.0
org.apache.maven.plugins
maven-surefire-plugin
3.0.0-M4
testng.xml
@@Mukeshotwani hi brother mukesh if you could solve it i got stuck my brother thank you so much
@@Mukeshotwani hi Mukesh how are you brother.
Hi Tarik pom.xml is having many not used plug-in and dependencies which is causing the issue.. please refer my hybrid framework series for this.
Hi Sir,
add on git repository url in jenkins but my jenkins add on the git repository URL But Error msg is coming (Failed to connect repository:Error performing command: git.exe ls-remote -h github.com/xxxxxxxxx/FrameWork.git HEAD)so that solutions to all.
Hi Sridevi then it is credentials issue
Hi Sridevi...I faced the same issue and found a solution for the same.
First install the git and then you need to set the path to your git executable in Manage Jenkins -> Global Tool Configuration -> Git -> Git Installations -> Path to Git executable (This should be the path of your git.exe file). Plz try after make these changes. It worked for me.
Any one in group help me. Regarding to open flipkart then you will find an page how to close that page
I mean details page how to close that
Using Escape key or by clicking close button
Thank you mukesh
Where will the git repo clone in my local machine? Suppose if I want to clone git in E: directory then how to do that?
Hey Mate, You can use windows command (git commands) if you want to use in some other directory.