Selenium+Jenkins Integration : Page Object Model (POM) Design With Selenium - Part -6

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Page Object Model (POM) Design With Selenium - Part -6 (Selenium Integration with Jenkins):
    Learn:
    continuous integration with selenium webdriver
    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
    how to publish testng reports
    =======================================
    Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    www.youtube.co...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    ~-~~-~~~-~~-~
    Follow my Site/Blog: www.naveenautom...
    ========================================================
    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:
    www.youtube.co...
    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/...
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautom...
    API Course: www.naveenautom... ➡️Get Our Courses✔️
    📗 Get My Paid Courses at
    Paid courses (Recorded) videos:
    Java & Selenium Course: www.naveenautom...
    API Course: www.naveenautom...
    -------------------------------
    ✔️SOCIAL NETWORKS
    Facebook: / naveenqtpexpert
    Twitter: / naveenkhunteta
    Blog: www.naveenautom...
    --------------------------------
    Support My Channel✔️Or Buy Me A Coffee
    Paypal: paypal.me/nave...
    Google Pay: naveenanimation20@gmail.com
    --------------------------------
    ✔️Thanks for watching!
    देखने के लिए धन्यवाद
    Благодаря за гледането
    感谢您观看
    Merci d'avoir regardé
    Grazie per la visione
    Gracias por ver
    شكرا للمشاهدة

ความคิดเห็น • 271

  • @rvviji
    @rvviji 5 ปีที่แล้ว +49

    Hi Naveen, I have learnt so much from your selenium, core java, testng tutorials. All your videos are exceptionally good. Thank you so much. i have spent so much money on online tutorials. but yours is the BEST. i found your videos bit late, Once again thank you so much.

  • @livestyle5527
    @livestyle5527 2 ปีที่แล้ว +5

    You are the real true citizen of the country...we don't need people who make big claims. country needs people like you. What an amazing.and simple.and just straight to the point explanation without deviating.a.little

  • @sushantsurwase
    @sushantsurwase 5 ปีที่แล้ว +8

    Pehle main darta tha.. Naveen ke videos dekhke i have gained tremendous confidence in me and can easily crack automation interview. 😎

  • @shireesha2576
    @shireesha2576 6 ปีที่แล้ว +6

    Hi Naveen, I also spent so much money but didn't get the concept. After a lot of search I finally found your videos and I got it clearly how to work on framework from start to end. Thank you so much.

  • @krunalpatel6099
    @krunalpatel6099 ปีที่แล้ว +1

    Very nice video. Can you show selenium copado integration video as well? Thank you!

  • @santleon1
    @santleon1 7 ปีที่แล้ว +5

    Hi Naveen Thank you so much for your Hard work.. Excellent Tutorials.. Could you please share the code for how to handle Deseired Capablites how to set the environment for GRID... It would be much help.. if its there in GIT HUB can you please share the path

  • @92BORN26
    @92BORN26 5 ปีที่แล้ว +1

    Hi Naveen,I have followed the steps but getting this error " No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?".Could you please suggest how to proceed?

    • @naveenautomationlabs
      @naveenautomationlabs  5 ปีที่แล้ว

      Hi, you need to setup JRE in your jenkins. Please go to Jenkins--> Manage Jenkins and select the correct JDK version.

  • @swatisharma9809
    @swatisharma9809 5 ปีที่แล้ว +6

    Thank you Naveen. I am new to automation and always afraid to automation but your video gives me some relief ,its so much informative.

  • @sharatchandra2045
    @sharatchandra2045 5 ปีที่แล้ว +6

    Kudos Naveen, Your contents are amazing and very relevant. I will definitely recommend this to my peers. Thanks a lot.

  • @traghavendra9828
    @traghavendra9828 5 ปีที่แล้ว +1

    If there are 100 test cases.How to execute first 50 test case or execute random 50 test cases

  • @aniltangudu2258
    @aniltangudu2258 6 ปีที่แล้ว +3

    Hi Naveen thanks for taking time for us.
    I have a question: How to schedule tests in jenkins.
    Waiting for your reply
    Please create one more video for that.

  • @godgrace2014
    @godgrace2014 3 ปีที่แล้ว +2

    I was trying to set UP Jenkins since very long time and now it's done, Also after going through your video lecture and practicing now I can solve errors as well. Thanks alot.🙏

  • @vij9218
    @vij9218 3 ปีที่แล้ว +3

    @Naveen You make my day. I was really searching for real time environment Jenkins set up and integration . I found you late. To be honest at this movement I became emotional by finding desired video.

  • @sijoalexv
    @sijoalexv 3 ปีที่แล้ว +2

    Hi Naveen, 3 months ago I started my journey of learning Java basics, Selenium, TestNG, POM from your channel tutorials and finally I reached the end of this video. Before 3 months I was having 0% knowledge in coding, purely into manual testing and now I wrote a small Java program and good in Selenium automation. I automated my office project, created one framework though that was not my task. All because of your good tutorials and good way of explaining, really your videos are precious. Thank you very much.
    Of course, a "coffee" is following you soon :D

  • @amulbobbili3813
    @amulbobbili3813 4 ปีที่แล้ว +1

    after downloading plugins, I am not able to restart Jenkins. There is no checkbox next to 'Restart Jenkins when installation is complete and no jobs are running '. I tried adding various plugins, but I never see the checkbox to restart. Please help

    • @arpitagupta7948
      @arpitagupta7948 4 ปีที่แล้ว

      I am facing same issue. Please help.

  • @khushbooraikwar8210
    @khushbooraikwar8210 6 ปีที่แล้ว +1

    Hi Naveen, Thankyou so much for proper explanation. while executing the builds I am getting these error Could you please help me in this ?
    Building in workspace C:\Users\c5258501\.jenkins\workspace\Khushboo
    ERROR: A Maven installation needs to be available for this project to be built.Either your server has no Maven installations defined, or the requested Maven version does not exist.
    ERROR: Step ‘Publish TestNG Results’ failed: A Maven installation needs to be available for this project to be built.Either your server has no Maven installations defined, or the requested Maven version does not exist.
    Finished: FAILURE

  • @aadiandadvikvlogs
    @aadiandadvikvlogs 4 ปีที่แล้ว +3

    Naveen, You are the best man. thank you so much.

  • @shwetaadhikari7403
    @shwetaadhikari7403 6 ปีที่แล้ว +2

    Great work Naveen...... Making things simple for us to understand. Thanks a lot.

  • @shwetapulipati19
    @shwetapulipati19 4 ปีที่แล้ว +1

    Hi Naveen, I am getting "This site can’t be reached localhost refused to connect." error while trying to login to jenkins. Can anyone help me with it?

  • @amulbobbili3813
    @amulbobbili3813 4 ปีที่แล้ว +1

    While downloading maven plugins ,check box is not available for Restart option,so that jenkins is not getting restarted, how to solve this issue

  • @kalyanijoshi6884
    @kalyanijoshi6884 4 ปีที่แล้ว +1

    how to run different xml for different tests like regression xml smoke xml etc

    • @manu5424
      @manu5424 4 ปีที่แล้ว +1

      There is a surefire plugin that we can add in pom.xml and give the specific testng.xml name that we want to run.

  • @arundhatighosh4194
    @arundhatighosh4194 6 หลายเดือนก่อน +1

    Very informative and humble way of teaching. Thanks a lot

  • @niloysen124
    @niloysen124 4 ปีที่แล้ว +1

    Naveen
    No Checkbox to" Restart Jenkins when installation is complete for the Maven plugins.
    Please suggest to resolve it.

    • @ankushvij1
      @ankushvij1 3 ปีที่แล้ว

      download safe restart plugin in jenkins and then it will restart

  • @user-rp9kf3zl9k
    @user-rp9kf3zl9k 4 ปีที่แล้ว +1

    Hi naveen it is good that you help us with your excellent video tutorials.
    My question is it possible that we can execute our testng project in jenkins with the help of only pom.xml file.
    Because we only define dependencies in pom.xml, how our job or project gets executed in jenkins

  • @paragpanchal8198
    @paragpanchal8198 4 ปีที่แล้ว

    Hi Naveen,
    After running first Build Now, I am getting error as below.
    C:/Users/Parag/eclipse-workspace/FreeCRMTest/pom.xml is not inside C:/Users/Parag/.jenkins/workspace/FreeCRMTestJob/Users/Parag/eclipse-workspace/FreeCRMTest/; will archive in a separate pass
    channel stopped
    ERROR: Failed to parse POMs
    java.nio.file.NoSuchFileException: C:\Users\Parag\.jenkins\workspace\FreeCRMTestJob\Users\Parag\eclipse-workspace\FreeCRMTest\pom.xml
    Could you pls guide me where it went wrong.

  • @yoginipatel1675
    @yoginipatel1675 3 ปีที่แล้ว

    Hi, Naveen.
    I am getting these errors, could you or someone please help out in resolving ?
    ==========================================================================
    [ERROR] Unknown lifecycle phase "intall". You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
    Waiting for Jenkins to finish collecting data
    [JENKINS] Archiving C:\Yogini\eclipse.workspace\FreeCRMTest\pom.xml to PageObjectModelTestAutomation/PageObjectModelTestAutomation/0.0.1-SNAPSHOT/PageObjectModelTestAutomation-0.0.1-SNAPSHOT.pom
    channel stopped
    TestNG Reports Processing: START
    Looking for TestNG results report in workspace using pattern: **/testng-results.xml
    Did not find any matching files.
    Finished: FAILURE

  • @ajayam2804
    @ajayam2804 4 ปีที่แล้ว

    hi Naveen I am getting this error in Jenkins while running code
    ----Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project jenkins_practice: Compilation failure -> [Help 1]
    ---To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    ----For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    --tell me how to resolve this problems

  • @sugacinibillu7659
    @sugacinibillu7659 4 ปีที่แล้ว +1

    Hi Naveen it was really very clear and crisp video, I have a question can you pls tell how to schedule a test run in jenkins for a particular time.

  • @sridevireddy1371
    @sridevireddy1371 6 ปีที่แล้ว +2

    Thank you Naveen......superb explanation, like your teaching skills......you got the skills to make any topic interesting.

  • @rd3316
    @rd3316 3 ปีที่แล้ว +1

    Hi Naveen , can i get you gmail or email , since i am facing issues configuring this , after pasting password i am getting configure proxy and skip plugin info

    • @biswadeepak1
      @biswadeepak1 3 ปีที่แล้ว

      Hey bro did you get any solution for this?

    • @rd3316
      @rd3316 3 ปีที่แล้ว

      Biswadeepak Swain yes buddy.. try with port 9191 , this should be resolved

  • @Canada1989
    @Canada1989 3 ปีที่แล้ว

    Hi Naveen can you conduct me mock interview for automation testing i am in canada looking for job

  • @bhanugangadash2011
    @bhanugangadash2011 6 ปีที่แล้ว +1

    Naveen, Can you create a video on how can I call my selenium script from Jenkins which is in Git/svn , it will auto download to my local system /vm and run from their to generate report in mail.

  • @shireesha2576
    @shireesha2576 6 ปีที่แล้ว +1

    Hi Naveen,
    I am trying to get TESTNG and EXTENT REPORT while running my maven project in jenkins, but getting this error "[htmlpublisher] Archiving HTML reports...
    [htmlpublisher] Archiving at BUILD level $HOME\Selenium Projects\JusDone_App\Extent Report Directory to C:\Users\venka\.jenkins\jobs\JusDoneAppTest\builds\43\htmlreports\HTML_Report
    ERROR: Specified HTML directory '$HOME\Selenium Projects\JusDone_App\Extent Report Directory' does not exist.
    Build step 'Publish HTML reports' changed build result to FAILURE
    TestNG Reports Processing: START
    Looking for TestNG results report in workspace using pattern: **/testng-results.xml
    Did not find any matching files. "
    I spent three days and tried every possible way to solve this problem myself but no luck so far. Could you please help me to solve this issue. Thank you.

    • @cheloo9402
      @cheloo9402 6 ปีที่แล้ว

      yes,i have the same problem

  • @vijjin3330
    @vijjin3330 4 ปีที่แล้ว +1

    Hi Naveen, I swa your page object model. It amazing explanation. Thank you so much Naveen.

  • @Vinodmhetre007
    @Vinodmhetre007 3 ปีที่แล้ว +2

    Thanks a ton. Really needed this and you explained it thoroughly well as always. This single video helped me a lot to understand clearly how Selenium integrates with Jenkins.

  • @bankapallivasantha102
    @bankapallivasantha102 3 ปีที่แล้ว

    Hi Naveen ,I have query on Jenkins. after run the war file it will generate the password right based on password we can unlock the Jenkins right .But In my case after entered the localhost with port(8080) it not showing unlock the Jenkins. instead of that its showing like please wait Jenkins is getting ready to work. almost 20minutes over still its showing same page. May I know the reason?

  • @bhumilvyas989
    @bhumilvyas989 2 ปีที่แล้ว

    Build step 'Execute Windows batch command' marked build as failure
    any idea what could be the error here?

  • @shatarupasahoo8001
    @shatarupasahoo8001 3 ปีที่แล้ว

    Hi Naveen,
    From Jenkins chrome is not being opened but it is showing chrome was started successfully. Could you please help me how to proceed with this.

  • @barkhachetwani9735
    @barkhachetwani9735 3 ปีที่แล้ว

    I have a doubt....i have jdk 15 but after jenkins i have installed jdk 8 but still it is taking jdk15...can someone tell me how and where to change the path.

  • @sayedislam5134
    @sayedislam5134 6 ปีที่แล้ว +1

    Hi Naveen, my jenkins war file does not run into the command prompt. any suggestion.

  • @HowTo-lc2rp
    @HowTo-lc2rp 3 ปีที่แล้ว

    Hi ,please I have installed the jenkins , and maven plugins , now I am not getting the checkbox to click and restart the jenkins , should I close and restart the jenkins command prompt.

  • @ROY007007007
    @ROY007007007 6 ปีที่แล้ว +1

    Hi Naveen, Please add the video on Maven, Jenkins and Browserstack integration.

  • @aparnabhore9181
    @aparnabhore9181 2 ปีที่แล้ว

    Hi Naveen, I have setup Jenkins server on centos . I have done master slave connection to one of the node. But application UI is not getting launched on slave machine, but in console I can see the execution logs . How can I disable headless option . I will be really grateful if you guide me!

  • @shirleyt2444
    @shirleyt2444 3 ปีที่แล้ว

    In Selenium with java using testng we can group the testcases and run particular group in maven.. same way is it possible to run particular testcases In Jenkins? If so can I know how it has to be done?

  • @mellamputisriramchowdary3628
    @mellamputisriramchowdary3628 4 ปีที่แล้ว

    But i am using python selenium , i am not able to open Chrome browser while running through Jenkins, But test case is executing successfully, Please can you tell how to open browser

  • @asrkrishna01
    @asrkrishna01 6 ปีที่แล้ว +2

    hi naveen, i installed jenkins previously but forgot username n password. how can i reset ?

    • @thekalpanayadav
      @thekalpanayadav 6 ปีที่แล้ว

      if it is not fixed yet follow this (worked perfectly for me) ::
      manually edit the configuration file for your user (e.g. /var/lib/jenkins/users/username/config.xml) and update the contents of passwordHash:
      #jbcrypt:$2a$10$razd3L1aXndFfBNHO95aj.IVrFydsxkcQCcLmujmFQzll3hcUrY7S
      Once you have done this, just restart Jenkins and log in using this password:
      test

    • @swamykusupudi4138
      @swamykusupudi4138 6 ปีที่แล้ว

      Asr Krishna first go to config file change to usescurity false use security......then start once Jenkins server...go to global configure tools...enable security...tick use Jenkins database..save...go to Jenkins manager ...manage plugin...mange user{create user or reset u r password here}.…...u can use Jenkins ..@swamy

  • @dibyajyotipattnaik9121
    @dibyajyotipattnaik9121 3 ปีที่แล้ว

    Hi Naveen, local host isn't working for me. Can you please help me if there is either way?

  • @snehaangadi9316
    @snehaangadi9316 6 ปีที่แล้ว +2

    Hi Naveen how can we generate Extent reports in Jenkins as we did in Eclipse.

    • @ManishKumar-no5qg
      @ManishKumar-no5qg 6 ปีที่แล้ว

      Naveen, even I have the same question, can you please answer this. How can we show extent report from Jenkins, is there any plugin available for extent rep?

  • @HameedKhan-mq4ve
    @HameedKhan-mq4ve 3 ปีที่แล้ว +1

    Thanks Naveen

  • @muhammadyousif5049
    @muhammadyousif5049 หลายเดือนก่อน

    @naveen
    I have 3 files in Test Suite but running one file.

  • @biswadeepak1
    @biswadeepak1 3 ปีที่แล้ว

    Hi Naveen Can you please make a video regarding Circleci ?

  • @abhaypaul4801
    @abhaypaul4801 ปีที่แล้ว

    Hi All, I am getting this error, while trying to build the project from Maven as shown it in the video. Please help me out.
    Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project FreeCRMTest: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x7037895b) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x7037895b -> [Help 1]

  • @roshandesai4977
    @roshandesai4977 3 ปีที่แล้ว

    Hi can anyone help build was successful but eclipse code was not executing i mean code didn't run

  • @kirankumar-mc9yg
    @kirankumar-mc9yg ปีที่แล้ว

    restart jenkins option is not working for me. Please help any one!!!!!!!!!!!!!!

  • @VibhavChaddha
    @VibhavChaddha 4 ปีที่แล้ว +1

    HI. Thanks for the video. I have a question, how can we integrate selenium with Spring starter project instead of creating a maven project?

  • @hiloripatel7188
    @hiloripatel7188 4 ปีที่แล้ว

    hi naveen getting error while build tesnf-results file not found and extend report listner please give some solution followed same steps in Freecrm project too

  • @Naveenkumar-qd5tg
    @Naveenkumar-qd5tg 2 ปีที่แล้ว

    Please give me a idea how to learn step by step selenium tutorials with java!!

  • @balla12361
    @balla12361 6 ปีที่แล้ว +1

    HI Naveen, hope you are well. Thanks for this video. At 24:05, I noticed you are getting an error at the bottom of console output : ERROR: Failed to parse POMs java.nio.file.NoSuchFileException: I encountered it as well and looked up and tried the solutions given on stackoverflow but had no luck. Can you please tell me how can we rid of this error so that the build doesn't fail at the end. However, it is running my selenium tests but just dont like the error given at the end, Pls reply,thanks a ton.

    • @shuwaibliaquat4269
      @shuwaibliaquat4269 6 ปีที่แล้ว

      I think it came bcz of the test case which failed

    • @sri8779
      @sri8779 5 ปีที่แล้ว

      Hi, did you manage to solve this issue? I am also getting the same error.

    • @Sarfaraz.Shorts
      @Sarfaraz.Shorts 5 ปีที่แล้ว

      @ balla ,how you solve this issues?i'm getting the same.

  • @rd3316
    @rd3316 3 ปีที่แล้ว

    Hey Naveen after i paste my password i am getting below window

  • @lakshmikondaraavi
    @lakshmikondaraavi 4 ปีที่แล้ว

    How to download failed maven plugins i got 5 failures its not redownloaded

  • @muvvadinesh
    @muvvadinesh 3 ปีที่แล้ว

    Not said about pom. Xml u said get through eclipse but how

  • @praveenk302
    @praveenk302 2 ปีที่แล้ว

    I am finding it hard to find the playlist this video belongs to.

  • @Gouravjain9
    @Gouravjain9 2 ปีที่แล้ว

    Is there anyway jenkins uses any other vm to run the test case or docker/kubernetes?

  • @dennisadinata6951
    @dennisadinata6951 ปีที่แล้ว

    hi sir, how to attach screenshot when getting error in testng result in jenkins job?

  • @raju8786
    @raju8786 2 ปีที่แล้ว

    hi naveen u said is good but some videos blur in commandprompt

  • @SarikhaKP
    @SarikhaKP 3 ปีที่แล้ว

    what do you do when the installation fails for many plugins

  • @hamedaziz5293
    @hamedaziz5293 หลายเดือนก่อน

    Hi Naveen, could you please h elp me on -which version of jenkins is compatible to java jdk1.8.0_271

  • @kalyanijoshi6884
    @kalyanijoshi6884 5 ปีที่แล้ว +1

    how can i select which xml to run for e.g. if i have different testng xml, sanity regression etc?

    • @eswartirumalasetti1268
      @eswartirumalasetti1268 5 ปีที่แล้ว

      Even I had the same question... In this video he given pom.xml file location but no where he mentioned the path of xml file which he wants to run..... Could you please explain the same @naveen

  • @satyajeetpaygude8932
    @satyajeetpaygude8932 3 ปีที่แล้ว

    what if xampp is running on 8080 then how to change the port ?

  • @manipunnavalli5005
    @manipunnavalli5005 7 ปีที่แล้ว +1

    Hi bro..can you please give us an idea about time schedule and email notification in Jenkins

  • @rakesh1333
    @rakesh1333 6 ปีที่แล้ว +1

    Excellent video Naveen. Thanks for sharing

  • @sumee7087
    @sumee7087 ปีที่แล้ว

    How to build automatically everyday at the set time?

  • @revansiddappapanchal2068
    @revansiddappapanchal2068 2 ปีที่แล้ว

    its showing jenkins is offline how to resolve these problem

  • @chetnatiwari606
    @chetnatiwari606 3 ปีที่แล้ว

    Hi Naveen, thanks for the wonderful selenium tutorials. I have a quick question, while building my maven job from Jenkins I see below error. Build is success but it could not find **/testing-results.xml file and status of job finally set to unstable. Can you please help ?
    22:39:24 [INFO] BUILD SUCCESS
    22:39:24 [INFO] ------------------------------------------------------------------------
    22:39:24 [INFO] Total time: 04:38 min
    22:39:24 [INFO] Finished at: 2021-01-21T22:39:24-08:00
    22:39:24 [INFO] ------------------------------------------------------------------------
    22:39:25 Waiting for Jenkins to finish collecting data
    22:39:25 [JENKINS] Archiving C:\Users\v-chetiw\JavaTraining\FreeCRMAppTest\pom.xml to FreeCRMApp/FreeCRMAppTest/0.0.1-SNAPSHOT/FreeCRMAppTest-0.0.1-SNAPSHOT.pom
    22:39:25 [JENKINS] Archiving C:\Users\v-chetiw\JavaTraining\FreeCRMAppTest\target\FreeCRMAppTest-0.0.1-SNAPSHOT.jar to FreeCRMApp/FreeCRMAppTest/0.0.1-SNAPSHOT/FreeCRMAppTest-0.0.1-SNAPSHOT.jar
    22:39:25 channel stopped
    22:39:26 TestNG Reports Processing: START
    22:39:26 Looking for TestNG results report in workspace using pattern: **/testng-results.xml
    22:39:26 Did not find any matching files.
    22:39:26 Finished: UNSTABLE

  • @purushothaamreddy2761
    @purushothaamreddy2761 2 วันที่ผ่านมา

    Supper clear explanation

  • @RoyceElland
    @RoyceElland 4 ปีที่แล้ว

    Hi naveen, how about choosing the browser using jenkins. We do have option like that right?

  • @diwakargarg1
    @diwakargarg1 4 ปีที่แล้ว +1

    Hi Naveen,
    Great session. Just one thing.......How to integrate extent reports with jenkins.?

  • @parikshitchauhan970
    @parikshitchauhan970 4 ปีที่แล้ว +1

    31:33
    No Naveen, thank YOU so much :)

  • @depicarao7092
    @depicarao7092 6 ปีที่แล้ว

    Hi Naveen, while running the build on Jenkins i get below Errors, please help
    Waiting for Jenkins to finish collecting data
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project FreeCRMTest: Compilation failure: Compilation failure:
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[46,38] incompatible types: org.apache.poi.ss.usermodel.Sheet cannot be converted to org.apache.poi.hslf.model.Sheet
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[47,51] cannot find symbol
    [ERROR] symbol: method getLastRowNum()
    [ERROR] location: variable sheet of type org.apache.poi.hslf.model.Sheet
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[47,74] cannot find symbol
    [ERROR] symbol: method getRow(int)
    [ERROR] location: variable sheet of type org.apache.poi.hslf.model.Sheet
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[50,42] cannot find symbol
    [ERROR] symbol: method getLastRowNum()
    [JENKINS] Archiving C:\Users\Desk7\git\Page-Object-Model-POM-Design-With-Selenium\pom.xml to FreeCRMTestAutomation/FreeCRMTest/0.0.1-SNAPSHOT/FreeCRMTest-0.0.1-SNAPSHOT.pom
    [ERROR] location: variable sheet of type org.apache.poi.hslf.model.Sheet
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[51,50] cannot find symbol
    [ERROR] symbol: method getRow(int)
    [ERROR] location: variable sheet of type org.apache.poi.hslf.model.Sheet
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[52,51] cannot find symbol
    [ERROR] symbol: method getRow(int)
    [ERROR] location: variable sheet of type org.apache.poi.hslf.model.Sheet
    [ERROR] /C:/Users/Desk7/git/Page-Object-Model-POM-Design-With-Selenium/src/main/java/com/crm/qa/util/TestUtil.java:[62,17] cannot find symbol
    [ERROR] symbol: variable FileUtils
    [ERROR] location: class com.crm.qa.util.TestUtil
    [ERROR] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    channel stopped
    TestNG Reports Processing: START
    Looking for TestNG results report in workspace using pattern: **/testng-results.xml
    Did not find any matching files.
    Finished: FAILURE

  • @ravichhetri3055
    @ravichhetri3055 5 ปีที่แล้ว

    Hi Naveen,
    I followed the steps as instructed in the Tutorial to install Jenkin. During installation, I am getting the error below. I tried fixing the issue searching online but no luck. Your immediate support will be highly appreciated.
    Error Details:
    Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target:
    hudson.util.Retrier#start: The attempt #1 to do the action check updates server failed with an allowed exception:
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid
    certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBu
    ilder.java:145)
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCert
    PathBuilder.java:131)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
    Caused: sun.security.validator.ValidatorException: PKIX path building failed
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.jav

  • @shaikabdulrahemanshaik490
    @shaikabdulrahemanshaik490 4 ปีที่แล้ว

    Hi Naveen,
    When I give build My build got failed and I got "Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project NominusBeta: Compilation failure: Compilation failure:" error.
    I have maven compiler plugin in my POM dependencies and I am using jdk 14v. Can please you guide me how to resolve this.

  • @mahammadjabirsi7478
    @mahammadjabirsi7478 4 ปีที่แล้ว

    getting below compilation Error message while building the project in Jenkins,
    [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
    Could you please tell me how to resolve it ? Thanks Naveen for your wonderful teaching :)

    • @swboffin2655
      @swboffin2655 4 ปีที่แล้ว

      maven-compiler-plugin
      3.8.1

      true


      Please try adding this in POM

  • @harishsharma3805
    @harishsharma3805 6 ปีที่แล้ว +1

    Hi Naveen , Could you please help me with this issue, Just after entering first time password I m getting Jenkins instance is Offline below that two buttons, One is asking for configure proxy and second one asking to skip plugin installation . I tried configure proxy there its asking for proxy server and port and when I tried with skip plugin installation no plugins were installed. It seems my Jenkins having hard time connecting to internet . There is no issue with my internet connection. Help would be really appreciated.

    • @naveenautomationlabs
      @naveenautomationlabs  6 ปีที่แล้ว

      remove your jenkins and do a fresh install again. dont select for proxy server.

    • @koushik214
      @koushik214 6 ปีที่แล้ว

      How to remove Jenkins please help I am also facing same issue

  • @paragpanchal8198
    @paragpanchal8198 4 ปีที่แล้ว

    Hi Naveen,
    Whenever I want to start Jenkins, do I require to run "java -jar jenkins.war" this command on Jenkins folder where jenkins.war file is there ..? I have Jenkins 2.252 version, and I didn't find restart Jenkins option, while installing plugin, I had manually closed command prompt window and again re-run "java -jar jenkins.war", so how to restart Jenkins...? How to stop Jenkins at command prompt..?
    Entire session was great...Thank you so much...!

  • @tejastoley6714
    @tejastoley6714 4 ปีที่แล้ว

    I'll get this error "ERROR: Step ‘Publish TestNG Results’ failed: Couldn't find the right download for WINDOWS and i386 combination".

  • @SuchMuchMoto
    @SuchMuchMoto ปีที่แล้ว

    Its been wonderful learning everything new with you | U have worked veryGood With videos and content. ThankYou for these
    And also pls arrange playlists in a flow and indexed.

  • @sohamchakraborty3411
    @sohamchakraborty3411 ปีที่แล้ว

    @Naveen, very well explained, thank you for the clear view, I have two doubt/questions
    1. we can also run our test cases remotely with Jenkins right? With Zalenium, can you please show that also in your videos? How to do the setup and how to execute test cases remotely.
    2. When working with Jenkins I have noticed multiple selenium functions like Actions, Robot etc are not working, my test cases fail during the execution, but when I execute the same from eclipse it gets passed! Is there any way around if you can kindly suggest!
    Again, lots of thanks(which is not enough) to you! Your videos helped me while I was learning the Selenium, today also when I am working, I refer to your videos, helps me a lot. Thank you Naveen.

  • @bhanugangadash2011
    @bhanugangadash2011 6 ปีที่แล้ว +1

    Great tutorial and great work ....u r video and training session are nice.

  • @GaneshJadhav-ne7ou
    @GaneshJadhav-ne7ou 3 ปีที่แล้ว

    Hi Naveen
    SOme of the test cases when ran with Jenking are showing status as FIXED. When I ran same test cases using Maven from command prompt those are getting passed. Is FIxed Status is also considered as PASS in Jenkin?

  • @himanshukhare1992
    @himanshukhare1992 5 ปีที่แล้ว

    Dear Naveen, I commented 2 classes in my testng.xml file then why Jenkins ran both of them ? Please tell the reason ??
    Thanks !!!

  • @niketabihani8980
    @niketabihani8980 5 ปีที่แล้ว

    Hi Naveen,
    I'm using GIT in my project already. But i'm unable to do the continuous integration through Jenkins , since I have 3 different environments to work on. 1) I want BVT job should run once the DEV team checks in the code in GIT. 2) Jenkins job shoud be running picking up dynamically the environment from POM.XMl file. I'm using serenity BDD framework which is using @ Manged pages annotation, which does not allow me to set the environment url dynamically. I need to hard code the environment url everytime. so I'm stuck here. Could you please help me in this regard, Thanks a lot in advance!!

  • @shivaleelahiremath843
    @shivaleelahiremath843 6 ปีที่แล้ว

    Hello Naveen, I have installed Jenkins and was trying install maven on Jenkins, and my system got restarted. I'm not able to restart the Jenkins. I'm getting message saying that "localhost refused to connect." when I have tried localhost:8080/.

  • @muvvalag6219
    @muvvalag6219 5 ปีที่แล้ว

    Hi Naveen,
    I have installed Jenkins on AWS CE2 Windows Instance, and i have configured Maven, JDK every thng on the EC2 instance, i can access that from Local system with public IP, the problem here is when ever i try to run my pom.xml file from Local (I have given pom.xml file location )in the place of RootPom field. it is giving me the error as
    ERROR: No such file C:\Testing2Jenkins\pom.xml
    , Perhaps you need to specify the correct POM file path in the project configuration?
    Can you help me out on this to resolve the error
    Thanks,
    Gouri

  • @syedsafiullah2103
    @syedsafiullah2103 6 ปีที่แล้ว

    Hi, Recently our company email is moved to 0365 So the SMTP server changed and the new SMTP is using TLS
    As the Jenkins is not enabled with TLS I have updated the Java_Args as mentioned in blogs and restarted Jenkins via UI but my problem not fixed
    JAVA_ARGS="-Djava.awt.headless=true -Dmail.smtp.starttls.enable=true"
    this is the line I have added in Jenkis file under etc/default. Any idea on this one..

  • @kajetanmellerowicz6055
    @kajetanmellerowicz6055 5 ปีที่แล้ว

    Many thanks to you, Naveen for splendid tutorials. Regarding this one, one question though remains. The testng-results.xml file is not found in spite of provided location(tried also absolute). The run end msg:
    "TestNG Reports Processing: START
    Looking for TestNG results report in workspace using pattern: **\testng-results.xml

    Did not find any matching files." How to fix it?

  • @dhanashreepanpatil11
    @dhanashreepanpatil11 5 ปีที่แล้ว

    Maven SNAPSHOT Check plugin failed so no Restart button or check box appeared at my end. Please help. I am a beginner.

  • @nirajkumar-jy1vz
    @nirajkumar-jy1vz 5 ปีที่แล้ว +4

    Hey Naveen, thanks for the tutorial.
    I have one question - how can we run only failed selenium scripts in Jenkins after job run ?

  • @eknath2062
    @eknath2062 5 ปีที่แล้ว

    Hi Naveen, all methods are not getting executed from LoginPageTest, HomePageTest & ContactsPageTest when I execute build using Jenkins with Eclipse or with Git. What could be the reason?

  • @harshchoksi8471
    @harshchoksi8471 2 ปีที่แล้ว

    Respected sir,
    This video is very useful please update this video with a steps JDK installation in configuration if someone has higher version of JDK installed like me which was JDK 17. Jenkins does not support this instead of installing and setting environment variable for old version of JDK there is an option where we can install automatically in Jenkins configuration. Find solution by own wasting Saturday and Sunday both. I hope it will help others. Now, there is another question CMD will not allow installing Jenkins on version JDK 17 so I have use jenkins.msi for windows without service logon credential and find admin password from the location C:\ProgramData\Jenkins\.jenkins\secrets\initialAdminPassword which allow me to start Jenkins and open configuration and install JDK 9.

  • @shilpamittal2598
    @shilpamittal2598 6 ปีที่แล้ว +1

    Hi Naveen, Amazing tutorial have seen many videos but not get such a clear understanding.
    I Have a query, can we integrate Extent reports with it like the testng Reports?

    • @naveenautomationlabs
      @naveenautomationlabs  6 ปีที่แล้ว

      Yes we can

    • @shalinimittal3475
      @shalinimittal3475 6 ปีที่แล้ว

      Shilpa Mittal how can we do so, have tried to find out the plugin for extent reports but could not get that can you please tell how can we implement that. Also can you share the interview questions ask related to jenkins for 2.5 year of experience Automation tester?