P7 - TestNG annotations and the flow of execution | TestNG | Testing Framework |

Поділитися
Вставка
  • Опубліковано 8 сер 2021
  • In this video, I have explained about "TestNG annotations and the flow of execution".
    Below questions are explained in this video:
    1. What is an annotation?
    2. What is the use of TestNG annotations?
    3. What are the annotations available in TestNG?
    4. How to use these annotations?
    5. What is the execution flow of TestNG annotations?
    =======================================
    ▶️ Next Video Link: • P8 - Parameters in Tes...
    ◀️ Previous Video Link: • P6 - Hard Assertions v...
    ↔️ TestNG Playlist Link: bit.ly/3wXyuXB
    🔗 Code used in this video: www.hyrtutorials.com/2022/03/...
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc
    👑 Join my youtube channel to get access to perks:👇
    / @hyrtutorials
    ========================================
    ========================================
    Connect me @
    🔗 Website - www.hyrtutorials.com
    🔗 Telegram - t.me/hyrtutorials
    🔗 Facebook - / hyrtutorials
    🔗 LinkedIn - / hyrtutorials
    🔗 Twitter - / hyrtutorials
    🔗 Instagram - / hyrtutorials
    ========================================
    ========================================
    🙏 Please Subscribe🔔 to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
    #hyrtutorials #selenium #testng
    TestNG by Yadagiri Reddy

КОМЕНТАРІ • 143

  • @HYRTutorials
    @HYRTutorials  3 роки тому +1

    ↔️ TestNG Playlist Link: bit.ly/3wXyuXB
    ✴ Checkout my other playlists: bit.ly/3gLIAVL
    ☕ Buy me a coffee: bit.ly/33ljBWc

  • @purvidholakia3570
    @purvidholakia3570 Рік тому +14

    Thank you so much for a wonderful series. I request to all who are watching H Y R Tutorials, Please don't skip the advertisement coming during the tutorials that's how we can appreciate his hard work. I am sure by watching his tutorial we are learning a lot and very fast. Thanks.

  • @Sakthivel-od1sr
    @Sakthivel-od1sr Рік тому +4

    THE BEST Tutorial Teacher Ever Seen....

  • @RiddleRapture2930
    @RiddleRapture2930 3 роки тому +5

    I'm waiting for this topic from you since last 2 weeks bro. Thank you so much for making this 😍😍. I hope u will continue making these kind of stuff more and more. These tutorials are very very useful.

  • @SivaChaitanyaReddySanivarapu
    @SivaChaitanyaReddySanivarapu 2 роки тому +2

    Your's explanation is superbb bro. Thank you very much for all your videos

  • @rashmishenoy
    @rashmishenoy 2 роки тому +3

    Don't know why this has less views, perfect explanation, waiting for more

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Thankyou 😊
      Started the series in the last month only.
      Please share it with your friends and colleagues as well.

  • @jagadeeshkm2328
    @jagadeeshkm2328 Рік тому +1

    Yes yes.... I guess everybody can able to understand easily this concept beautifully explained

  • @anushavadlamudi9931
    @anushavadlamudi9931 Рік тому +1

    Clear explanation appreciate your teaching.really you are awesome.thankyou so much for your videos

  • @Swami9827
    @Swami9827 Рік тому +1

    he truely deserve likes

  • @yashu2808pr
    @yashu2808pr 2 роки тому +5

    This was one of the tough topic for me to understand.. randomly found this video ..
    Neat explanation.. and very easy to understand.. Thank you sir 😄

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Wow thats really great to hear, Thankyou buddy

  • @lekkalasuvarchala12
    @lekkalasuvarchala12 2 роки тому +1

    Crystal clear broo👏

  • @kranthikumar7443
    @kranthikumar7443 3 роки тому +1

    Nice Explanation Bro...
    Waiting for next session...

  • @twistedstyles
    @twistedstyles 2 роки тому

    your making my job easier, my boss is gonna love me now, thx!

  • @factsofallahal-shaheedserv7816
    @factsofallahal-shaheedserv7816 2 роки тому +2

    Thank you sir, nice explanation

  • @anushachennoju2040
    @anushachennoju2040 2 роки тому

    Very good explanation sir. Thanks a lot

  • @bharathpybodi2842
    @bharathpybodi2842 Місяць тому

    Excellent Bro

  • @gaddipatiprabhakar2889
    @gaddipatiprabhakar2889 3 роки тому +1

    Thank you for Video On TestNG Annatations....

  • @christourcreator8302
    @christourcreator8302 Рік тому +1

    Hi Yadagiri, Where can i get these programs that you explained in the TestNG series? I'm grateful to you if you can share them for the practice purpose.

    • @HYRTutorials
      @HYRTutorials  Рік тому

      The code link is in the description buddy

  • @chundimohan9140
    @chundimohan9140 2 роки тому +1

    Thank you so much anna ❤️

  • @king37740
    @king37740 Рік тому +1

    Great work

  • @jincymathew8277
    @jincymathew8277 2 роки тому +1

    Well Explained

  • @babupemmada1580
    @babupemmada1580 2 роки тому +1

    Thank you so much bro for your wonderful videos. I am learning automation by watching ur videos. Could you please help the shortcut for commenting in eclipse?

  • @yaswanthtirupathi6551
    @yaswanthtirupathi6551 Рік тому +1

    Thank you so much bro

  • @kraju8760
    @kraju8760 2 роки тому +1

    Thank you sir.

  • @MohammedSameer-rx5rz
    @MohammedSameer-rx5rz 3 місяці тому

    Annotations in Java are a way to add metadata or declarative information to your Java code. They start with the @ symbol followed by the annotation name. Annotations do not directly affect the execution of the code; instead, they provide information to the compiler, runtime environment, or other tools about how to process the code.

  • @tejalali5115
    @tejalali5115 2 роки тому +1

    thank you

  • @raviteja-qk3br
    @raviteja-qk3br Рік тому +1

    Thank you Boss

  • @kdevi3654
    @kdevi3654 Рік тому +1

    Thank you so much sir

  • @lokeshkommuru5685
    @lokeshkommuru5685 2 роки тому +1

    Super ..

  • @SampathKumarinfo
    @SampathKumarinfo Рік тому

    Hi,
    I have a small doubt, consider there are multiple classes in the package.
    If we apply @BeforeClass annotation to one of the classes, then @BeforeClass will be applied to all the classes in the package while executing them with XML?

  • @GrafMKristo
    @GrafMKristo 2 роки тому +1

    Super course!
    One moment: that's not "suit" - that's "sweet". I'm talking about SUITE prononciation.

    • @HYRTutorials
      @HYRTutorials  2 роки тому +1

      English has different pronunciations in every country buddy.
      Can't keep up with that 😉

  • @Targetgroups123
    @Targetgroups123 2 роки тому +1

    👍🏻👌👌👌

  • @ramakrish5647
    @ramakrish5647 3 роки тому +1

    anna sales force marketing cloud ? nerchukundam ankumtuna ?? ala umtumdi bro

    • @HYRTutorials
      @HYRTutorials  3 роки тому

      emo bro epdu work cheyyaledu and peddaga chesina vallu kooda telisina vallu leru

  • @praveenkumarsingireddy1137
    @praveenkumarsingireddy1137 2 роки тому +1

    Hi
    In my eclipse xml folder is not diplaying in Select Wizard while i m try to create .xml file

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      It depends on the eclipse package type.
      Try to create the file with xml as extension buddy

  • @gopian4769
    @gopian4769 Рік тому +1

    clear concept...what is alighned keyword in tesetng suite? thank yuo sir

  • @shwetaprabhu9158
    @shwetaprabhu9158 2 роки тому +2

    can u make video on how to create reusable methods in selenium

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Sure.
      Will cover that in framework development sessions

  • @ritwikmishra2985
    @ritwikmishra2985 Рік тому +1

    Sir please give some examples what tests can we include in Before suite, before class and after suite and after class?

    • @HYRTutorials
      @HYRTutorials  Рік тому +1

      They are for performing any tasks before and after every rest or suite buddy.
      For eg I want to open the browser for every test and I want to generate the report for every suite

  • @pjswathi
    @pjswathi 2 роки тому +1

    Hi What is the use of Before Suite and After Suite? In which scenario can we use?

    • @HYRTutorials
      @HYRTutorials  2 роки тому +1

      In testng you can execute multiple suits at the same time as well. so in those scenarios if you wish to execute anything before and after each suite then you can use them.

  • @vaishalijain16
    @vaishalijain16 Рік тому +1

    Nice explanation 👌 Sir can you please provide the series on Page object model

  • @angelslifestyle3959
    @angelslifestyle3959 2 роки тому +1

    Very neatly explained but i want to suggest one thing... Could you please explain at slow manner its very fast.... For beginers its hard to recall n understand whole thing...... Thats it!!!!!! Other than that its veryuseful video ❤

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Thankyou 😊
      In initial videos you can feel like that but in later videos I explained a bit slow compared to this.
      And for the time being we can leverage the playback settings in youtube for speed and slow.

  • @techicalkunal3683
    @techicalkunal3683 2 роки тому +1

    sir how can i view all browsers at one time in parllel testing . means i am runing 5 browsers at a time and i want to view all of them parllelely

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      once the browsers are opened, manually you should arrange them.
      or you pass the position of the browser as a parameter from the test. so that while initiating the browser you can use that position.

  • @SwapnilChakote
    @SwapnilChakote 7 місяців тому

    Best

  • @nagurbashashaik7959
    @nagurbashashaik7959 Рік тому +1

    dude how can I connect with you, need your valuable inputs regarding testing process. Thanks in advance. cheers!

    • @HYRTutorials
      @HYRTutorials  Рік тому

      Reach me on hyadagirireddytutorials@gmail.com

  • @nikithchethan5796
    @nikithchethan5796 2 роки тому +1

    Hi Sir,
    Can we join new batch of selenium automation with Java?
    How to contact you?

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Currently I'm not running any batches buddy

  • @naaz7847
    @naaz7847 Рік тому

    hello sir...
    now all the locators of orangehrms app is changes . and i coudnt find out xpaths and all..then how to practice ur codes?

    • @HYRTutorials
      @HYRTutorials  Рік тому

      you can update the code with new locators buddy. We should never rely on one website rather we should learn the concept and apply the same on any website

  • @user-hc9lq7ui8h
    @user-hc9lq7ui8h 9 місяців тому

    jira gurinchi videos cheyandi bro

  • @bojjarajesh5427
    @bojjarajesh5427 Рік тому +1

    If you upload testNG videos in telugu, it many useful for telugu people's.

    • @HYRTutorials
      @HYRTutorials  Рік тому

      It takes lot of effort to make these videos buddy

  • @techicalkunal3683
    @techicalkunal3683 2 роки тому +1

    sir i am not able to scroll sidebar how can i do?, i tried by js,by xpath

  • @Random_Gaming360
    @Random_Gaming360 Рік тому

    Hi
    How can I use @Parameters for login page while I am using page object model design pattern. I hope you will be helpful. Good day.

    • @HYRTutorials
      @HYRTutorials  Рік тому +1

      Watch the parameters video in this playlist buddy

  • @gayasshaik30
    @gayasshaik30 2 роки тому +1

    Anna tester job manchide na nenu fresher selenium testing nerchukuntunna e job manchidena

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      nannu adigithe nenu manchidi ane chepthanu brother because im a tester.
      It all depends on your interest on what you wanna learn and work on.
      Testing is a good field and with out any doubt we can take it

  • @hareshbandla8887
    @hareshbandla8887 2 роки тому +1

    one interviewer asked me which code keep in testNG anotatations , i told him some anotationcode but i dont know the all anotations code

  • @user-qe6kc9uh3k
    @user-qe6kc9uh3k Рік тому +1

    make videos on page object model in selenium..it will help us

  • @diwakarreddy2367
    @diwakarreddy2367 Рік тому

    when iam executing same like you sir,but getting null point exception , only first before method is executing remaing all showing nullpoinexception. i dont know what wrong i did?

    • @HYRTutorials
      @HYRTutorials  Рік тому

      Check the driver variable buddy. You must have created it or closing it in the test method

    • @diwakarreddy2367
      @diwakarreddy2367 Рік тому +1

      @@HYRTutorials exactly this is the mistake I did sir. Thanks a lot

    • @HYRTutorials
      @HYRTutorials  Рік тому

      @@diwakarreddy2367 No worries buddy. Sometimes it happens.

  • @nikhilvenom692
    @nikhilvenom692 10 місяців тому +1

    how did u call driver variable without creating object in test method

    • @HYRTutorials
      @HYRTutorials  10 місяців тому

      Because it is initialed in another annotation buddy.

  • @knjaswanthi9683
    @knjaswanthi9683 Місяць тому

    Anna 🙏

  • @praveenkumar-lh8wc
    @praveenkumar-lh8wc Рік тому

    Please make a video on @FindBy annotation (object repository in selenium) and add it to selenium play list

  • @shivakumar-mr3di
    @shivakumar-mr3di 2 роки тому +1

    Testng concept in selenium link can you please send me.

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      didn't get ur point brother.
      if you are asking about the selenium videos playlist, here is the link:
      ua-cam.com/play/PLacgMXFs7kl8e8xIdMDQEi2c6eQnO1toK.html

    • @shivakumar-mr3di
      @shivakumar-mr3di 2 роки тому

      page object model videos can you please send me

  • @sivaram-wv9wz
    @sivaram-wv9wz 11 місяців тому +1

    @Priority

  • @vaibhavdemewar97
    @vaibhavdemewar97 2 роки тому +1

    Can you explain through actual example because understanding is easy for us

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Yeah buddy.
      Sometimes it's difficult to get the proper examples for every topic

  • @dnyaneshpawar1537
    @dnyaneshpawar1537 Рік тому

    What if I have 2 classes?? How to handle situation? Plz reply sir 🙏

    • @HYRTutorials
      @HYRTutorials  Рік тому

      In that scenario you can execute both of them from TestNG XML file.

  • @bojjarajesh5427
    @bojjarajesh5427 Рік тому +1

    Can you please upload testNG videos in telugu

  • @tamizhpurii5712
    @tamizhpurii5712 8 місяців тому

    Sir can you give me Testng notes

  • @user-lt5rn8dj9f
    @user-lt5rn8dj9f 10 місяців тому +1

    please explain in telugu videos also sir...............

    • @HYRTutorials
      @HYRTutorials  10 місяців тому

      TestNG ni Telugu lo ippatlo cheyyanu buddy

  • @venusiri197
    @venusiri197 2 роки тому +1

    Pls share this tutorial in Telugu bro

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Telugu lo chesina tutorials ni evaru encourage cheyyadam ledu buddy.
      Videos watch chesthunnaru but no one is liking.
      So based on encouragement only will make any course buddy

  • @RajasekharReddyGujjula
    @RajasekharReddyGujjula Рік тому +1

    Konchem clarity gaa cheppandii sir classes, did't understand your classes.

    • @HYRTutorials
      @HYRTutorials  Рік тому

      Konni videos ni two times chusthene baga ardam avthay buddy

  • @gopikrishna1499
    @gopikrishna1499 2 роки тому +1

    Sir you are going too fast sir please tell slowly on your speed flow i can't understand

    • @HYRTutorials
      @HYRTutorials  Рік тому

      In the coming videos I have explained slowly buddy

  • @Archanaparupally
    @Archanaparupally 2 роки тому +1

    11k people watched this video,only 235 click the like button😡

  • @SurajGunjal
    @SurajGunjal 2 роки тому

    @CasheLookups

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      🤔

    • @SurajGunjal
      @SurajGunjal 2 роки тому

      @@HYRTutorials sir hybrid framework par series banao sir

    • @HYRTutorials
      @HYRTutorials  2 роки тому

      Haa will try buddy

    • @SurajGunjal
      @SurajGunjal Рік тому

      @@HYRTutorials Sir we are waiting for keydriven framework and page object model series 🙏

  • @sharanshanmugam5543
    @sharanshanmugam5543 Рік тому +1

    My testcases are failed. I got Cannot invoke "org.openqa.selenium.WebDriver.findElement(org.openqa.selenium.By)" because "this.driver" is null error.
    Please advise

    • @HYRTutorials
      @HYRTutorials  Рік тому

      Somehow the driver instance is null and because of that you aren't able to perform any other operations