Learn Maven (Build Automation Tool) with TestNg and Selenium

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 212

  • @reddy-bu9jh
    @reddy-bu9jh 3 года назад +1

    The way explanation is very good sir
    It's a crystal clear explanation and you are the best sir which I have seen in RUclips channels

  • @JKCOfficial08
    @JKCOfficial08 10 месяцев назад

    Just wanted to add this point - At 35:45 the reason DemoTest1 and DemoTest2 are not run as part of mvn test is because they do not comply to standards defined of ending classes with the word Test.
    Rest your explanation is amazing 👍

  • @padmapabba759
    @padmapabba759 5 лет назад +10

    Lots of respect🙏
    Today i have selected in an interview....its because of you

  • @explorewithsoumen
    @explorewithsoumen 2 года назад +2

    Hi Naveen, I was following your channel for past 6 months on selenium testing.. I attended interview and got selected At TCS.. Thanks a lot for your videos.. It helped me a lot to gain knowledge on selenium testing .You are a gem❤.. God bless you

  • @rmdhananjay2561
    @rmdhananjay2561 3 года назад

    I can't express in words of how grateful I am for your videos.

  • @vijayrampogu
    @vijayrampogu 5 лет назад +3

    Super Video. much better than paid training. I highly recommend for selenium tester.

  • @rightside5924
    @rightside5924 3 года назад +1

    You are the true citizen of the country

  • @hellosasmitasgreenworld1896
    @hellosasmitasgreenworld1896 6 лет назад +1

    Thank you so much Mr. Naveen for sharing videos with in 2 hours i learnt manven fully as i am a fresher.

  • @shubhiverma4005
    @shubhiverma4005 5 лет назад

    Very nice session ...very nicely explained anyone who is new will understand it . thanks for sharing

  • @harmanmaan870
    @harmanmaan870 6 лет назад +1

    Hi Naveen , Thanks again , I am watching your almost all videos , Very helpful for me for clearing doubts about selenium. As i was learning from few months but from last month i have just seen your videos for new things.

  • @vijaygunjal4492
    @vijaygunjal4492 6 лет назад

    Refrain from saying 'OK' consistently 😃. Thanks for the video. It's very helpful and informative!

  • @lisazhou7776
    @lisazhou7776 5 лет назад +1

    Naveen, I really like your video. You always make the complex concept to simply explanation. You explained how to find the resource and some tips. I read many Maven articles till watch this video, I understand the tool totally. Keep posting. Thanks a lot.

  • @mahia2030
    @mahia2030 5 лет назад +3

    Great explanation, simply awesome, thanks for all your efforts to make it more simple to understand 🙏

  • @chmaruthi
    @chmaruthi 7 лет назад +1

    It's cool sir, your explanation washed-out all my doubts about maven... keep up the great work

  • @shefalikharia5147
    @shefalikharia5147 4 года назад +1

    hi Navven..I really like in which way u r teaching. and most important thing u always try to cover all the topics

  • @pradyumnnasatapathy8199
    @pradyumnnasatapathy8199 7 лет назад +1

    Thanks Naveen for this video ... Diagrammatic representation is very good to understand key concept... these 2 videos gives much info regarding Maven to start with..

  • @arpitsukirtidavyaah7744
    @arpitsukirtidavyaah7744 4 года назад

    Thank you so much Naveen for all the efforts and the knowledge you are sharing with us. Honestly speaking, I am able to grow in my career and learn the things in easier way through your videos only. Otherwise I never thought I would even able to code a single line of code in my life. Testing field has become much more interesting for me after I have gone through each video of your's in RUclips Channel.
    Thank you once again. Keep sharing knowledge with us with your fantastic teaching skills :)
    Eagerly excited for upcoming videos too :)

  • @MSH-YT
    @MSH-YT 6 лет назад +8

    At some point for downloading maven plug-in Naveen said, "go to Help" and for me it sounded as "go to Hell" :D, Just for fun!. But Naveen you are awesome person. Thanks for sharing your knowledge. May god bless you! :)

  • @dineshns4736
    @dineshns4736 7 лет назад +1

    mind blowing explanation... Huge topic explained well in a brief video.. great work..

  • @deepagupta274
    @deepagupta274 6 лет назад +1

    Explained in such an easy way. Thanks a lot Naveen Sir.

  • @Deepaksharma-bt6vq
    @Deepaksharma-bt6vq 5 лет назад +3

    Hats off to you dude... you have made these things very easy !!! Thanks a ton!!!

    • @arunkhatri8133
      @arunkhatri8133 5 лет назад

      @Deepak : I followed up this video and I prepared same coding and structure but when i select project and right click on RUN AS + Maven Test then I am getting message BUILD SUCCESS but I can not show my test status cases below it so can you please help me out for this
      Review screenshot URL : prntscr.com/oq0b3u

  • @rushrpa3433
    @rushrpa3433 5 лет назад +1

    Thank you Naveen, it is really helpful. I new to this, but I could able to perform your task by own after your class. Many Thanks :-)

  • @samratjulme8418
    @samratjulme8418 3 года назад

    Thank u sir..great video ...keep uploading...and updating.... 🙏👍👌🙏

  • @skyatianlan2356
    @skyatianlan2356 3 года назад

    Thanks!

  • @mudaseer21
    @mudaseer21 6 лет назад +1

    Your teaching is apple of our eye

  • @Torkmstr
    @Torkmstr 3 года назад

    Guruji..what an explanation.Thanks, brother

  • @bhardwaj16nidhi
    @bhardwaj16nidhi 6 лет назад +1

    Awesome video on Maven. Thanks Naveen for sharing this.Very helpful.

  • @lakshmivinnakota5011
    @lakshmivinnakota5011 6 лет назад +1

    Thank you Naveen for the detailed explanation, executing testng.xml file in pom.xml is very clear. Thanks for sharing your knowledge :)

  • @jrc2k4
    @jrc2k4 6 лет назад +1

    Superb Explanation Naveen. Thanks a ton.

  • @venkatjayakumar1819
    @venkatjayakumar1819 3 года назад +1

    Just Awesome Naveen... :)

  • @Gaurav_Khurana
    @Gaurav_Khurana 4 года назад

    First of all thanks very much for the detailed explanation.. I am not sure for so many years why i did not saw your channel..
    1 question :- when we skip test cases… will that code gets compiled atleast if not run ?

    • @Gaurav_Khurana
      @Gaurav_Khurana 4 года назад

      I tried this,, and noticed compilation happens for full project including tests even if you do mvn package -DskipTests

  • @kirandas9481
    @kirandas9481 4 года назад +1

    Can you please create a separate playlist for Maven and add these videos to it, as it would be easier to find the files. TIA:) I am following your videos from last 2 months, they are very useful. Appreciate your efforts.

  • @apurbarath4972
    @apurbarath4972 6 лет назад

    Excellent tutorial..hats off Naveen

  • @AbhishekSingh-bj8yc
    @AbhishekSingh-bj8yc 6 лет назад

    Thank you so much for sharing such a wonderful video.... Earlier i was so confused with concept of Maven but it helps me a lot finding the right track. Thanks again.
    Just have one doubt :
    1) What default src/main/java and how can it be used with out test cases / in what condition we can use it ?

  • @anushareddychalla75
    @anushareddychalla75 6 лет назад

    Nice serieslly I'm addicted your vedios
    ..thanks alot..

  • @mayurkarnik310
    @mayurkarnik310 6 лет назад +1

    Great video...very nice n clean explanation.Thanks

  • @চলচ্চিত্রকথা

    Thanks a lot Naveen . You helped demystify maven to me.

  • @rashmi9212
    @rashmi9212 6 лет назад +1

    Thanks Naveen...Thanks for sharing your knowledge.

  • @arunkumar-eb9rx
    @arunkumar-eb9rx 6 лет назад +1

    Thanks for providing the maven tutorial.

  • @nitesh2311
    @nitesh2311 6 лет назад +1

    Great work Naveen. Thank you

  • @bsrinivas165
    @bsrinivas165 7 лет назад +1

    Awesome Explanation... Keep up the great work 💐💐😍😍

  • @A_philodendron
    @A_philodendron 4 года назад

    One of the best vedio on Maven. But, instead of enclosing plugins info in pom.xml, can't we include class details in testng.xml file so that it execute all classes. Pls clarify.

  • @poulomi21b
    @poulomi21b 6 лет назад +2

    Thanks naveen for this creating this wonderful video. I have one question how can I create a runnable jar file , so that some other team member can execute the test suite from cmd. I have used Maven to create the selenium project.

  • @deepikagupta7864
    @deepikagupta7864 4 года назад

    Hi Naveen,
    Could u please tell why u changed the scope of testng from test to compile?
    And ur videos are great.. Thanks for sharing ur knowledge..

  • @GyanSingh-ne7vl
    @GyanSingh-ne7vl 4 года назад

    Hi Naveen , Most of the places Resources is the first phase of Maven Life Cycle ... then Compile and Test ..But as per video it looks recourse is last phase please clear the doubt ....

  • @nikhilbhanvadiya1933
    @nikhilbhanvadiya1933 4 года назад

    very good explanation sir thank you so much

  • @vive121
    @vive121 7 лет назад +1

    You are an inspiration. Thank you for explaining in detail. Keep rocking... :)

  • @vasudeva9522
    @vasudeva9522 5 лет назад

    very very good explanation. thank you so much

  • @shruthiAlways02
    @shruthiAlways02 6 лет назад +1

    Too good explanation.. thank u so much..

  • @rajeshkumar-qz6jw
    @rajeshkumar-qz6jw 6 лет назад +1

    Awesome videos, thanks for sharing your knowledge with us. Can you also let us know how to generate reports using testng while executing the tests in Maven.Thanks in advance!!

  • @reshmapathan6450
    @reshmapathan6450 5 лет назад +2

    Hi Naveen sir,
    Thanks a Ton for this your useful video. The interviewer asked me what is settings.xml file in maven. Do testng.xml and settings.xml serve the same purpose? It would be great if you reply the answer to this comment.
    Thanks in advance

  • @santleon1
    @santleon1 7 лет назад +1

    Hi Naveen, First and formost thank you for sharing your knowledge with us. Can you please post Java interview programs and logic and Test management tools tutorials .. Thanks in advance

  • @bhawnajyoti2000
    @bhawnajyoti2000 3 года назад

    Very nice sir...

  • @SD-yv4jy
    @SD-yv4jy 3 года назад

    @naveen Surefire plugin also generates testng reports in target folder :)

  • @aihaitipaziliti2655
    @aihaitipaziliti2655 6 лет назад +3

    Hi naveen, thanks for uploading such a great videos all the time.
    where can i find your git url.

  • @swethaylr7655
    @swethaylr7655 4 года назад

    Hi Naveen.. could you please explain the benefits of executing test cases through maven over testng.. as maven configuration is again hassle right. So, why do we need to opt for maven execution.. It would be helpful if you can clarify.. Thank you

  • @nasinabhargavi8108
    @nasinabhargavi8108 4 года назад

    For paid course, there is only recorded video ? or any live teaching is done ?

  • @maheshwarithiyagarajan1096
    @maheshwarithiyagarajan1096 6 лет назад

    Hi Naveen, Thanks for this video. I wanna ask you one help here... "Is it possible to share the pom.xml between two maven-projects?" (i.e) I have two maven projects p1 and p2, and i want to use the methods(test cases of p1) inside my new project that is p2... How to do this? Its like reusing the test cases... Is there a way, any specific dependency need to be added in pom or some special configurations need to be done???

  • @mayurkarnik310
    @mayurkarnik310 6 лет назад +1

    Hi Naveen... I need your help regarding jira xray integration. Can u help me regarding how to integrate this with jira and execute it from jira or maven.

  • @sivaprasadkandula
    @sivaprasadkandula 6 лет назад

    Excellent :) Thanks for sharing video :)

  • @bibhumohanty2576
    @bibhumohanty2576 5 лет назад

    Hi Naveen, Thanks for your support.I am finding this error.. No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

  • @bijju1331
    @bijju1331 6 лет назад +2

    hello Naveen,
    why testNG scope has to be compile ?

  • @akrumronny3291
    @akrumronny3291 2 года назад

    Hello Naveen, please can you help me to understand or create a video on how to test a jar file which is generated via maven as shown in the video.

  • @chillamcharlabharath9730
    @chillamcharlabharath9730 7 лет назад +1

    Hi Naveen,
    After adding the Source plugin and running through clean install - i am getting below error message for source plugin
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-source-plugin:3.0.1:jar (default-cli) on project Test: Execution default-cli of goal org.apache.maven.plugins:maven-source-plugin:3.0.1:jar failed: A required class was missing while executing org.apache.maven.plugins:maven-source-plugin:3.0.1:jar: org/codehaus/plexus/interpolation/InterpolationException

  • @shalinirakesh3455
    @shalinirakesh3455 4 года назад

    Hi Naveen...how do i send the build number as parameter while running tests from command line?Also i want to use the build number entered in command line as a reference for my test cases. Like if i create a account in google it should have the build number in the account name so that anyone can understand the record was created by automation for a particular build

  • @ramanwalia007
    @ramanwalia007 6 лет назад

    Hi Naveen, one question.. Using eclipse we can easily make a maven project.. can u tell me then Do we still need to have maven in our system and set jn environment variable

  • @ishantsingh2235
    @ishantsingh2235 6 лет назад +1

    After execution it shows build success.. but it is not displaying the print statements as displayed in yours. Please suggest..

  • @anoos1992yt
    @anoos1992yt 4 года назад +1

    Could you please show us how to execute all 12 test cases without using the TestNG framework.
    Like if I am using a Data-Driven Framework or Keyword driven framework, how can I execute all test cases from different .java classes?

  • @Driverforcash
    @Driverforcash 2 года назад +1

    very nice video!

  • @astronautrocks
    @astronautrocks 5 лет назад +1

    Heyy Naveen! I would love to take your courses. Please do let me know where we can take your course

  • @kalyanijoshi6884
    @kalyanijoshi6884 7 лет назад +1

    Please let me know if there is any demo site for practicing automation for POM model

  • @sunnyvarun6652
    @sunnyvarun6652 3 года назад

    Hi Naveen,
    In POM.xml, can we have only surefire plugin instead of all the three plugins as Surefire plugin consists of the testNG.xml file path?

  • @wilsonfernandes21
    @wilsonfernandes21 7 лет назад +1

    Really helpful.
    Thank u

  • @MegaVasundhra
    @MegaVasundhra 4 года назад

    Naveen Sir, I am facing this issue, The goal you specified requires a project to execute but there is no POM in this directory (/Users/vasundhrasharma). Please verify you invoked Maven from the correct directory. -> [Help 1]
    Please help !!!!

  • @saiful021107
    @saiful021107 7 лет назад +1

    Thanks for your nice explanation, how would i get the all xml codes

  • @priscilla11731
    @priscilla11731 6 лет назад +1

    Hi Naveen,trust you are well. I am getting this error": Could not find or load main class org.testng.remote.RemoteTestNG" do you know what could be the cause?i am running the same code as the above and when i run using maven the build is successful but the is not output from the test-cases

  • @bipinmnair007
    @bipinmnair007 5 лет назад

    Great explanation :)

  • @bhaskarnaidu9967
    @bhaskarnaidu9967 4 года назад

    Good Exolination

  • @meghasandesam
    @meghasandesam 4 года назад

    thanks naveen...

  • @criworld007
    @criworld007 5 лет назад

    you said maven has these life cycle
    compile
    test
    resource or generate jar file..
    i read this on another site..
    Maven has the following three standard lifecycles −
    clean
    default(or build)
    site
    plz explain ?

  • @aamirsaifi829
    @aamirsaifi829 5 лет назад

    Thanks for your knowledge

  • @gautamnitj
    @gautamnitj 5 лет назад

    Naveen Sir ... If I delete manually "project -> target -> XXX.jar" (which was created after "mvn clean install" ) and give "mvn test" still all TCs are executed. I didnt get what exactly this "mvn clean install" does ? which classes are included in the build ? "mvn test" uses which jar file to run TCs ? Thanks a lot

  • @ankitshrivastava1772
    @ankitshrivastava1772 Год назад

    Thanks naveen.

  • @shashanksharma8212
    @shashanksharma8212 4 года назад

    @Naveen Can you please tell me how to do a permanent set up for Maven on MAC, as I have installed and it works fine if I run source ~/.bash_profile command in the terminal every time but other it doesn't recognize the path if I open terminal and given command mvn -version

  • @kanikasharma8260
    @kanikasharma8260 5 лет назад

    Hi Naveen, I am new to Maven and have a question regarding that, after running Maven project, it is displaying in console "No tests to run". However, It shows my build as success. I don't understand what I am missing. Please help.

  • @gokulm6299
    @gokulm6299 5 лет назад

    Dear sir,
    Could you explain the concepts of Genericid, artifactid and version

  • @RINA641
    @RINA641 6 лет назад

    Hello Naveen,
    I am able to execute tests in Maven project from eclipse. Do I need to install maven jars to be able to execute the same from command line? mvn commands are not getting recognised by command line.

  • @meenatidash4773
    @meenatidash4773 6 лет назад

    Hi naveen.Good job.Thanks for sharing.
    please clear my doubt.when i run the program using testNG, got the result.Same program when i tried to run using Maven test,it showing build success but no result is showing.Did i missed something???
    SHOWING SOMETHING LIKE BELOW:
    Results :
    Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

    • @narendrasharma9767
      @narendrasharma9767 6 лет назад +2

      Class naming convention could be an issue. Make sure your class name should end with 'Test' e.g 'AppleTest' or 'Demo1Test' for maven surefireplugin to recognise.

  • @jagadeeshchakravarthy2214
    @jagadeeshchakravarthy2214 4 года назад

    Hiii bro,thank you so much to share an most valuable Knowledge, how can i get your code ?

  • @ramsh855
    @ramsh855 3 года назад

    Hi Naveer or other, Can you please help me here . When I have created Maven Project, I don;t see by defauly Maven Dependency and JRE System Libracy Packages are not shown up. Did I miss something ? Please please help me out. Thanks

  • @ghantaswathi8155
    @ghantaswathi8155 4 года назад

    Thanks alot .. namasthe

  • @habz45
    @habz45 5 лет назад

    Great Video. but need your help. I have done the same you shown here. when I ran maven test, it shows the build success but not picking up the test. I mean the test is not running. not showing any error either. could you please help?

    • @bittusharma33007
      @bittusharma33007 5 лет назад

      Make skip test property as false if u have written it as true earlier.

  • @gauravdharmale6994
    @gauravdharmale6994 6 лет назад

    Hiii Navin.. As i run Maven Test ,the build is successful..but on console there is no Output..?? And Many times It Shows the exception ("MAVEN/MojoFailureException")...Please Suggest the solution

  • @shruthikasiri1096
    @shruthikasiri1096 6 лет назад +1

    How you are editing the Results under Console....please make it more clear.

  • @ashavitkar8337
    @ashavitkar8337 5 лет назад

    Hi Naveen,
    Can you please explain how to compile the code using Maven Eclipse.
    Thanks

  • @swethasankarapu8557
    @swethasankarapu8557 6 лет назад

    Hi naveen,
    Am facing error when I keep compile n surefire plugins
    Error is:org. Apart he. Maven. Surefire. Tests etc. Tesrsetfaileedplugin.
    AnD when i go to command prompt to the project folder location and click on ls command..
    It is telling ls is not recognized as an Internal or external command

  • @adityaloya161
    @adityaloya161 2 года назад

    Are we using Eclipse Luna?

  • @supriyassampath1419
    @supriyassampath1419 5 лет назад

    Amazing video

  • @dineshvelayudham3423
    @dineshvelayudham3423 5 лет назад

    Hi Naveen, I have followed the video. Everything working as expected but when i RClick on the .java file Run as TestNG is not showing...

  • @arun1993apr
    @arun1993apr 4 года назад

    i'm getting error while doing in cmd prompt..when i'm skipping it is build success but if i changed to false it is showing error.. how to solve?