Selenium + Jenkins + GIT Integration : Run your Test Cases from GIT Hub using Jenkins

Ғылым және технология

Selenium + Jenkins + GIT Integration : Run your Test Cases from GIT Hub using Jenkins
Learn:
Github and Jenkins integration for Selenium Project
GIT Repo configuration in Jenkins Jobs
continuous integration with selenium webdriver
how to publish testng reports
how to publish extent reports
jenkins selenium webdriver testng
how to run testng.xml in jenkins
jenkins selenium plugin
jenkins selenium plugin example
how to configure testng.xml in jenkins
Jenkins integration with GIT (SCM)
=======================================
Page Object Model Code Base GIT URL:
github.com/naveenanimation20/...
=======================================
**To generate proper Extent/HTML Report in Jenkins, use following script in Script Console of Jenkins:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
=======================================
Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzread.info%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
~-~~-~~~-~~-~
Follow my Site/Blog: www.naveenautomationlabs.com
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
• Selenium & Automation ...
~-~~-~~~-~~-~ Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
kzread.info%20Au...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/COJqZUPB02r5sB7...
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautomationlabs.com/p...
API Course: www.naveenautomationlabs.com/p... ➡️Get Our Courses✔️
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautomationlabs.com/p...
API Course: www.naveenautomationlabs.com/p...
-------------------------------
✔️SOCIAL NETWORKS
Facebook: / naveenqtpexpert
Twitter: / naveenkhunteta
Blog: www.naveenautomationlabs.com
--------------------------------
Support My Channel✔️Or Buy Me A Coffee
Paypal: paypal.me/naveenkhunteta
Google Pay: naveenanimation20@gmail.com
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة

Пікірлер: 178

  • @deep80105
    @deep801055 жыл бұрын

    Hi Naveen, You have done an amazing job by providing this POM series videos. You have brought an revolution in field of automation through this. I am sure thousands and thousands of IT guys who are struggling to learn selenium automation would have switched into automation after following this series.

  • @shantamishra9093
    @shantamishra9093 Жыл бұрын

    Naveen , you don't know what you have done you have made career of many many students/employees who are jobless/struggling and want to switch into automation. The great man.

  • @1824ajay
    @1824ajay6 жыл бұрын

    Thanks Naveen your tutorials are supercool!!Two Thumbs Up to you mate!!!

  • @harikiranvankayala
    @harikiranvankayala5 жыл бұрын

    Dude!!! I am your Fan, Salute!!

  • @manojpunia6824
    @manojpunia68245 жыл бұрын

    Thanks u sir for your hard work and dedication. Amazing stuff. !

  • @aishwaryakand2647
    @aishwaryakand26473 жыл бұрын

    Very good explanation who are new to Jenkins, Git and GitHub. Thank you for the efforts.

  • @rajesho9772
    @rajesho97726 жыл бұрын

    U r someone whom I adore each time I learn from Ur videos..

  • @bharatvarshney2666

    @bharatvarshney2666

    5 жыл бұрын

    really no doubt u r awesome and u explain so perfectly

  • @hassan-bhuiyan
    @hassan-bhuiyan6 жыл бұрын

    Hi Naveen, Thanks for all the hard work. Was wondering how you run your all testng.xml file via cmd and how you do the cross-browser testing. Seems like browser=ch in your properties file. How you deal with that properties file when comes to crossbrowser testing?

  • @ao5431
    @ao54316 жыл бұрын

    Another excellent video. The fix for the Extent report, will this work using SVN?

  • @aktiwari3638
    @aktiwari36382 жыл бұрын

    Learnt a lot from your videos which helped to crack interviews. Appreciate your efforts

  • @duraiv8997
    @duraiv89976 жыл бұрын

    Thank you Naveen for sharing your skill sets

  • @naveenautomationlabs

    @naveenautomationlabs

    6 жыл бұрын

    Thanks for watching Durai:)

  • @shrikantmallick6384
    @shrikantmallick63846 жыл бұрын

    Thanks so much for the video..very nice and clear explanation 👍

  • @sarahgamal8648
    @sarahgamal86485 жыл бұрын

    Thanks so much for sharing knowledge

  • @Digital_Diary_Exclusives
    @Digital_Diary_Exclusives5 жыл бұрын

    Thanks for your outstanding work. :)

  • @sumitkumarsharma1777
    @sumitkumarsharma17776 жыл бұрын

    Thanks a lot Naveen for this tutorial. If i wanted to run scripts locally then how to generate TestNG and Extent report. Can you please suggest me.

  • @mayurkarnik310
    @mayurkarnik3106 жыл бұрын

    Hi Naveen, Thanks for this such a nice tutorial. I want to know 1 thing..in ur maven tutorial u told that surefire and compile plugins are required while running tests on jenkins. I have checked ur pom.xml file, i am not able to see those plugins in ur file. what is the reason behind this? And if i want to execute test cases in a sequential manner from two or more classes what things i have to take care of. and the surefire plugin is required for that.

  • @kimyangKo
    @kimyangKo6 жыл бұрын

    thank you. your video is very useful

  • @chillamcharlabharath9730
    @chillamcharlabharath97306 жыл бұрын

    Excellent Naveen... Thanks a lot.. How can we integrate or capture screenshot in jenkins of the all the testcases??

  • @hemamaliniak4772
    @hemamaliniak47725 жыл бұрын

    nice video. Really appreciated your work

  • @ManojGupta-pn4dq
    @ManojGupta-pn4dq6 жыл бұрын

    I am using a remote Jenkins inside my org. Please tell me how I can generate extent reports because reports are not being generated on Git (where my code is available). Without that I can't pull reports to Jenkins. Should I change extent reports folder to some other web location?

  • @nikhathk5677
    @nikhathk56774 жыл бұрын

    hi, thank you for such a nice knowledgable videos, please can you explain how to push github pull request in Jenkins parameters list and we can build that pull request from Jenkins whenever we need instead of automatic push

  • @GurpreetSingh-ku7us
    @GurpreetSingh-ku7us Жыл бұрын

    Naveen thank u so much u made my day

  • @deepikanalla1337
    @deepikanalla13374 жыл бұрын

    Thank you soo much naveen garu

  • @dipikabehera4400
    @dipikabehera44006 жыл бұрын

    Hello Naveen , Please make a video on SVN. Thank You.

  • @8956311152
    @89563111524 жыл бұрын

    Hi Naveen, Nice tutorial.. I just wanted to know that in previous video tutorial you have created extent report, So we can get this report through Jenkins as a result?

  • @khaledreza1
    @khaledreza12 жыл бұрын

    Hi Naveen, thanks for creating such great videos. I am trying to run selenium webdriver in the docker Github CI/CD pipeline. Every time, it is failing to launch the chrome browser(timeout). However, it builds perfectly in local machine. I do not know why it is failing.

  • @jajatisahoo3831
    @jajatisahoo38312 жыл бұрын

    Thanks sir for valuable content

  • @kalyanijoshi6884
    @kalyanijoshi68845 жыл бұрын

    How to handle if the extent report name is dynamic--for e.g. it has the time stamp attached to the name-ho do i configure in the post run results?

  • @reshmapathan6450
    @reshmapathan64504 жыл бұрын

    Hi Naveen sir. Thanks for this vedio and may God bless you in abundance 😊 I have a query, do we follow the same process for BDD integration with jenkins and how to view cucumber reports

  • @prasantsahani9983
    @prasantsahani99835 жыл бұрын

    if the jar file in local desktop and i need to build a job only to see the test results,please tell me

  • @naliniuk8268
    @naliniuk82685 жыл бұрын

    Hi.. All your tutorials are very simple and useful.. Could you please tell if you have explained anywhere what exactly is Jenkins?

  • @muneet4079
    @muneet40793 жыл бұрын

    Hi Naveen, I've followed all the steps you've explained, but Jenkins throws error : " No such file ..workspace\SampleTestPrj\pom.xml. Perhaps you need to specify the correct POM file path in the project configuration? " . I could see the POM.xml at the location of workspace and Github as well. But Jenkins can't see it. Any idea what to do?

  • @rahulray4189
    @rahulray41894 жыл бұрын

    Hello Naveen , For running my code via GIT , do I still need to install the plug-ins of Maven & Test NG ?

  • @9745754904
    @97457549045 жыл бұрын

    @NaveenAutomationLabs In Organisation, do we run test cases locally or any other means we must run our testcases.Please help

  • @cheloo9402
    @cheloo94026 жыл бұрын

    the workspace will be created only with git or when you run from local?beacuse i dont have nothing in jenkins workspace

  • @krishnapriya7915
    @krishnapriya79156 жыл бұрын

    Hi Naveen,Can we use git commit -m command directly without using git add . command? If so then what is the use of git add . command

  • @emailhoc
    @emailhoc3 жыл бұрын

    What selenium / web browser plugins do we have to install if Jenkins is installed on remote server (not my local laptop)? Thank you

  • @mauryar16
    @mauryar164 жыл бұрын

    Thnx Naveen

  • @YogeshKumar-ok4nb
    @YogeshKumar-ok4nb5 жыл бұрын

    Hey Naveen, You are doing a excellent work. I am impressed again with your video keep going on good works. Regards Yogesh

  • @Vinni-Dhruva
    @Vinni-Dhruva4 жыл бұрын

    Nice tutorial, how can I run single test method from jenkins. I am using Maven build management tool.

  • @RahulSharma-di4uh
    @RahulSharma-di4uh5 жыл бұрын

    Hi Naveen, Could you please help me and answer my question. My automation framework is generating multiple HTML reports having dynamic name with .html extension for a single build job in the directory folder. How can i publish all the reports once the job execution is completed?

  • @shanthikandasamy
    @shanthikandasamy5 жыл бұрын

    Hi Naveen, Thanks for this video..I want to understand from testing point of view that why we need to use Jenkins and github. Please help me to get it clarified

  • @kajetanmellerowicz6055
    @kajetanmellerowicz60555 жыл бұрын

    Hi Naveem, WhyJenkin's run fails running the project from local (it used to work), while now it works from GitHub? One project points to pom.xml on local, the other to pom.xml at GitHub location. Err msg: "Failed to delete..." It also works as tesgng.xml suite on Eclipse/local.

  • @arunkumar-nw5pl
    @arunkumar-nw5pl5 жыл бұрын

    Thank you Naveen

  • @ManinderSingh-sj3zh
    @ManinderSingh-sj3zh2 жыл бұрын

    can we run eclipse Java project code (non-maven) from GitHub through Jenkins ??

  • @saikirantelapalli8785
    @saikirantelapalli87856 жыл бұрын

    Thanks Naveen and can you please add vedios of auto email notification with extent reports when executing either from eclipse or jenkins

  • @piyushsharma7872
    @piyushsharma78726 жыл бұрын

    hey naveen i am having a problem when i am adding a file to my existing repositery it is hiding the older one where to find them

  • @imtiazsikder5616
    @imtiazsikder56165 жыл бұрын

    Hello Naveen Thank you very much for all the Excellent Videos. You are the best. Main thing is that you wanted to give people something and you must get something in return. It would be very good if you could make the fonts little bit bigger. Thank you again. Imtiaz Sikder

  • @ewtube100
    @ewtube1005 жыл бұрын

    How to setup extent reports and testNG reports together in Jenkins.Is there any plugin for extent reports cz I am getting extension during build because of extent reports.please reply

  • @renatosilva2078
    @renatosilva207817 күн бұрын

    Can this setup as pipeline or freestyle project as well on jenkins? I see some guys teaching by creating throught freestyle or Pipeline project so got confused...

  • @veereshbh111MPEchannel
    @veereshbh111MPEchannel2 жыл бұрын

    Thanks a ton Naveen. :)

  • @sairam-jl3bl
    @sairam-jl3bl5 жыл бұрын

    I configured Jenkins with Maven project ..My tests are running jenkins itself and getting results..i didnt configure any remote ...can you pls help why browser is not opening from my local?

  • @muneess3971
    @muneess39713 жыл бұрын

    Congrats brother you are doing a great job.. Please zoom it and teach.. Just to increase the visibility.. Its a request from me

  • @jdhung
    @jdhung3 жыл бұрын

    As part of CI / CD pipeline, Can you make a video explain how to configure and run the same test script in multiple test environments (QA, UAT, production) integrate with Jenkin? . You are the best instructor.

  • @poojashetty1290

    @poojashetty1290

    Жыл бұрын

    Do we have video for this ???

  • @manvirsinghparmar
    @manvirsinghparmar4 жыл бұрын

    Hi naveen... when i tyed git push origin master i was not asked for sshkey...instead it asked me for my login details in a new popup and worked fine....is it some kind of new feature where you don't need sshkey...?

  • @thekrish225
    @thekrish2255 жыл бұрын

    i saw your every vedio .hi Naveen can you publish the session for jbehave with serenity framework?thankyou asmita

  • @chandrakantshinde1793
    @chandrakantshinde17936 жыл бұрын

    On my computer it shows error, No compiler is provided in this environment. Perhaps you are running on a JRE rather then a JDK? Please can you explain this, what actually happens.

  • @sumanthbs2555
    @sumanthbs2555 Жыл бұрын

    Hi Sir, I have a doubt, when you pass the path of Extent.html file to jenkins to attach report to jenkin, how you got that Extent.html file in the project. is it the file generated by extent reports ?

  • @akhilareddy8996
    @akhilareddy89965 жыл бұрын

    Hi Naveen I got a interview question A page consist of a form with 3 txt box nd 2 link when u click on d link z nt working no action z performed but the x path z correct nd in console also it s showings success When u do it manually also it z running properly what might be d reason

  • @rehmatali961
    @rehmatali9615 жыл бұрын

    Great Videos Naveen. Thanks for sharing your knowledge, Just a small improvement require on videos, can you make fonts or screen zoom large?

  • @rajeshnaidu3280
    @rajeshnaidu32804 жыл бұрын

    Hai I have one query Currently I'm using aws Linux server and I insalled appium but how to connect my real device to that server. Please help me

  • @nagarjun5978
    @nagarjun59785 жыл бұрын

    HI Naveen, Excellent video. I have got good knowledge on Git,Jenkins. I am facing one problem. While building project from Jenkins I am getting build success but Tests are not getting executed. Could you please help in this.... Many Thanks.

  • @venkatjakkepalli49
    @venkatjakkepalli495 жыл бұрын

    Hi Naveen,Thanks for sharing the valuable and accurate explanation.I have doubt that is every time we have to up the jenkins through command prompt necessarily (OR)is there any other way to login jenkin account.

  • @manikantakumar4978

    @manikantakumar4978

    4 жыл бұрын

    In real time that would not be the case... Jenkins will be up

  • @samautepatil4056
    @samautepatil40563 жыл бұрын

    Sir how to create sanity pack..smoke pack in automation..can you give me idea

  • @goldfan5523
    @goldfan55233 жыл бұрын

    We can Tortoise git..right? Instead of writing git commands?

  • @rajiniyalamarthy4480
    @rajiniyalamarthy44805 жыл бұрын

    Any one facing the below issue while executing project in GITHUB through jenkins ? "Error fetching remote repo 'origin'"

  • @jasondoerck6444
    @jasondoerck64443 жыл бұрын

    great video! can you make a presentation for java cucumber project running in azure pipeline?

  • @fionabruce2009
    @fionabruce20096 жыл бұрын

    Hey can you do one for a private repo, and it's not a maven project please

  • @hstestingworld
    @hstestingworld2 жыл бұрын

    Hi Naveen, Thanks for such type of videos, I have still one problem, In my testng file, there are 16 classes with multiple test cases in each class, but when I run this testng from on jenkins, only single testcase from each file executed, but I want to run all test caeses from all 16 classes, how i do that?Thanks in advance

  • @Arjunkumar-pf8ub
    @Arjunkumar-pf8ub5 жыл бұрын

    Hi Naveen, thanks a lot for the video. How do I send this report to my mail??

  • @pratycool
    @pratycool3 жыл бұрын

    Thanks so much . 👌👌

  • @arkamajumdar2016
    @arkamajumdar20165 жыл бұрын

    hi Naveen,Thanks for all your beautiful Videos of Selenium.Can you please tell me how to send the extent report generated through JENKINS in EMAILS to customer

  • @manojtdm1
    @manojtdm12 жыл бұрын

    do we need to do any other configuration to run test cases from git? In this video we are not giving any user name and password for git repository, then how it will go to particular repository to execute pom.xml file. Whwn i follow same like this video I'm getting error as "ERROR: Error fetching remote repo 'origin'" Please someone help.

  • @MrSridhar1218
    @MrSridhar12185 жыл бұрын

    Hi Naveen, Great Video. Thanks for Sharing... Can you also share me which tool is the best for Test Management to create issues, update, deleting and tracking.

  • @naveenautomationlabs

    @naveenautomationlabs

    5 жыл бұрын

    You can use JIRA, ALM

  • @MrSridhar1218

    @MrSridhar1218

    5 жыл бұрын

    @@naveenautomationlabs ThankYou, if possible can you make an another video for Test Management Tool with using JIRA, ALM or any other tool

  • @RaviTeja-bz6bv
    @RaviTeja-bz6bv5 жыл бұрын

    Bayya "after composing gmail , click send button then one pop up came "message sent " .my doubt is how to close that window via script

  • @gmvsunilkumar4971
    @gmvsunilkumar49713 жыл бұрын

    Hi When i tried my side i am getting Java class error's and my test-cases are failing not getting proper output i have done same configurations but i am getting failed

  • @prabodhghosh662
    @prabodhghosh6625 жыл бұрын

    Hi Naveen, If we have multiple testng files (say testng-sanity.xml, testng-regression.xml etc); how do we execute them separately using Jenkins? As I understand, when we execute the project from Jenkins, it is just executing testng.xml.

  • @AdChaudry1

    @AdChaudry1

    4 жыл бұрын

    I think you can just create different jobs in Jenkins like making a new maven project or freestyle and put the xml for sanity in one job and so forth.

  • @singwithArchi
    @singwithArchi5 жыл бұрын

    Please help tried all possible solutions for this error-> The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.

  • @iancumariusgolban7618
    @iancumariusgolban76186 жыл бұрын

    Hello, how did you setup the webdriver.exe ? Did you copy the webdriver on Jenkins machine, so the tests are running automatically?

  • @amitsharma-ed9ow

    @amitsharma-ed9ow

    5 жыл бұрын

    I am also facing same issue :(

  • @jyothihc8200
    @jyothihc82003 жыл бұрын

    Hey Dude! More videos am checking out, I keep wondering, what made you start this channel, its like a one-stop solution for automation learning! if u already have a video on this, plz attach the link, if not, make one, can't wait to listen to the story! Thank You!

  • @jyothihc8200

    @jyothihc8200

    3 жыл бұрын

    am still waiting for the reply to the above question?

  • @yeshwinir630
    @yeshwinir6303 жыл бұрын

    Iam not getting the Root under build to add pom.xml . i actually have another xml file to run

  • @kavyapanchumarthy9127
    @kavyapanchumarthy91274 жыл бұрын

    Hello Naveen,How can we make the same setup in linux?

  • @GoUpstairs
    @GoUpstairs6 жыл бұрын

    thanks!

  • @AK-em7md
    @AK-em7md4 жыл бұрын

    Hi Naveen, I have added extent report script in system console and the clicked on Run btn, got Results as per your video and then I ran the build now, but still my extent report is missing CSS. one thing I noticed when I went back to system console now the extent script is missing, please help to fix this issue

  • @ritulmishra7170
    @ritulmishra71702 ай бұрын

    Amazing info swtuuuuu

  • @akdk8835
    @akdk88355 жыл бұрын

    Where are the jar files sitting? If we run from github we dont need jars or something ? What if I pass Test data from excel sheet ? Do I place excel file on github too ? In java code we define where excel file sits right ? Then if we push code to github how exactly excel is gonna be recognized ? Sorry so many question naveen.. Cant get these answers on google.. I tried.. Help me on this one.. Thanks

  • @jyotikansal8561
    @jyotikansal8561 Жыл бұрын

    Hi Naveen, Is devops engineer is responsible for both dynamic and static code analysis?

  • @naveenautomationlabs

    @naveenautomationlabs

    Жыл бұрын

    No, it's dev or qa responsibility

  • @nithyarao6518
    @nithyarao65182 ай бұрын

    Hi Naveen. Thanks for the informative video. Jenkins and Git Integration all working as expected. However, facing issue with extent report format. Tried this solution - System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", ""). Still no luck.

  • @niteshratnaparkhe1799
    @niteshratnaparkhe17995 жыл бұрын

    awesome man

  • @ranjithjothi
    @ranjithjothi5 жыл бұрын

    Naveen bro... run with a pipeline script please.. looking forward eagerly

  • @shivanidaftardar1164
    @shivanidaftardar11646 жыл бұрын

    Hi Naveen, my extent report on jenkins as the build ended with some failures shows all pass while my testng tests show the failures too so what am I missing ?

  • @rakeshadupa1072

    @rakeshadupa1072

    6 жыл бұрын

    same happening to me ,please reach me if you find solution for that

  • @ewtube100

    @ewtube100

    5 жыл бұрын

    Same problem am also getting

  • @MSH-YT
    @MSH-YT6 жыл бұрын

    Hi Naveen, Thanks a lot for such an amazing videos. I was able to do everything as you explained but the small problem I'm facing is, my browser is not getting launched but the test cases are getting executed successfully. Am I missing anything in configuration? Help would be appreciated! Thanks.

  • @rakeshadupa1072

    @rakeshadupa1072

    6 жыл бұрын

    you might be running in windows right...In windows you have to do some config to open ur browser

  • @MSH-YT

    @MSH-YT

    6 жыл бұрын

    rakesh adupa yes m running in Windows, so what exactly configuration I have to do? Do u have any idea? Thanks!

  • @tejaswinivanama2436

    @tejaswinivanama2436

    4 жыл бұрын

    Were you able to solve this issue? I m facing the same!

  • @AbhishekVaish-fo2cq

    @AbhishekVaish-fo2cq

    10 ай бұрын

    @@MSH-YT Hi please if you got the answer please tell me also i seriously need this

  • @singwithArchi
    @singwithArchi5 жыл бұрын

    Hi Naveen , After configuring jenkins i am getting this error -The driver is not executable: /var/lib/jenkins/workspace/BuzzPortalAutomation/src/main/resources/chromedriver.exe Please help

  • @mr_possible6197
    @mr_possible61973 жыл бұрын

    Can i replicate steps if my team is usinb gitlab instead of github ?

  • @anumanthukindinti
    @anumanthukindinti5 жыл бұрын

    Hi Naveen, I am getting error like jenkins requires java 8 but system has java10. Please suggest how can i run on java 10. As my system does not allowing to install java 8 as it older version. Please do the needful

  • @techstromvipin6097
    @techstromvipin609710 ай бұрын

    thank u

  • @omkardoke515
    @omkardoke515 Жыл бұрын

    Please make a video on how to configure git and Jenkins in our systems

  • @veera3108
    @veera31083 жыл бұрын

    Why we are using Jenkins with GitHub ... Both are version controler and ci/CD tools rt

  • @abishekkachroo938
    @abishekkachroo9384 жыл бұрын

    its the code but how jenkins get all the jars while running does it store some build

  • @Krishna-vm7tg

    @Krishna-vm7tg

    4 жыл бұрын

    Hi

  • @Driverforcash
    @Driverforcash Жыл бұрын

    Very nice video!

Келесі