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

  Рет қаралды 82,016

H Y R Tutorials

H Y R Tutorials

2 жыл бұрын

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

Пікірлер: 142
@HYRTutorials
@HYRTutorials 2 жыл бұрын
↔️ TestNG Playlist Link: bit.ly/3wXyuXB ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@purvidholakia3570
@purvidholakia3570 Жыл бұрын
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.
@HYRTutorials
@HYRTutorials Жыл бұрын
Thank you so much buddy 😊
@Sakthivel-od1sr
@Sakthivel-od1sr Жыл бұрын
THE BEST Tutorial Teacher Ever Seen....
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@RiddleRapture2930
@RiddleRapture2930 2 жыл бұрын
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.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thank you
@SivaChaitanyaReddySanivarapu
@SivaChaitanyaReddySanivarapu 2 жыл бұрын
Your's explanation is superbb bro. Thank you very much for all your videos
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thank you, Keep watching
@jagadeeshkm2328
@jagadeeshkm2328 Жыл бұрын
Yes yes.... I guess everybody can able to understand easily this concept beautifully explained
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@rashmishenoy
@rashmishenoy 2 жыл бұрын
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.
@anushavadlamudi9931
@anushavadlamudi9931 Жыл бұрын
Clear explanation appreciate your teaching.really you are awesome.thankyou so much for your videos
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@twistedstyles
@twistedstyles 2 жыл бұрын
your making my job easier, my boss is gonna love me now, thx!
@HYRTutorials
@HYRTutorials Жыл бұрын
Wow that's great
@lekkalasuvarchala12
@lekkalasuvarchala12 2 жыл бұрын
Crystal clear broo👏
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou buddy 😊
@factsofallahal-shaheedserv7816
@factsofallahal-shaheedserv7816 2 жыл бұрын
Thank you sir, nice explanation
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Keep watching
@yashu2808pr
@yashu2808pr 2 жыл бұрын
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
@anushachennoju2040
@anushachennoju2040 Жыл бұрын
Very good explanation sir. Thanks a lot
@HYRTutorials
@HYRTutorials Жыл бұрын
Thankyou buddy 😊
@Swami9827
@Swami9827 Жыл бұрын
he truely deserve likes
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@gaddipatiprabhakar2889
@gaddipatiprabhakar2889 2 жыл бұрын
Thank you for Video On TestNG Annatations....
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thank you
@nitheeshreddy1870
@nitheeshreddy1870 2 жыл бұрын
😎
@HYRTutorials
@HYRTutorials 2 жыл бұрын
@@nitheeshreddy1870 thankyou 😊
@kranthikumar7443
@kranthikumar7443 2 жыл бұрын
Nice Explanation Bro... Waiting for next session...
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou
@MohammedSameer-rx5rz
@MohammedSameer-rx5rz Ай бұрын
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.
@jincymathew8277
@jincymathew8277 2 жыл бұрын
Well Explained
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou 😊
@chundimohan9140
@chundimohan9140 2 жыл бұрын
Thank you so much anna ❤️
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thanks for liking buddy 😊
@yaswanthtirupathi6551
@yaswanthtirupathi6551 Жыл бұрын
Thank you so much bro
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@kraju8760
@kraju8760 2 жыл бұрын
Thank you sir.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Most welcome
@king37740
@king37740 Жыл бұрын
Great work
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊
@babupemmada1580
@babupemmada1580 Жыл бұрын
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?
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy You can press Ctrl+7
@christourcreator8302
@christourcreator8302 Жыл бұрын
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
@kdevi3654
@kdevi3654 Жыл бұрын
Thank you so much sir
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@raviteja-qk3br
@raviteja-qk3br Жыл бұрын
Thank you Boss
@HYRTutorials
@HYRTutorials Жыл бұрын
Happy learning buddy 😊
@tejalali5115
@tejalali5115 2 жыл бұрын
thank you
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Welcome buddy 😊
@user-hc9lq7ui8h
@user-hc9lq7ui8h 8 ай бұрын
jira gurinchi videos cheyandi bro
@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?
@HYRTutorials
@HYRTutorials Жыл бұрын
Yes buddy.
@pjswathi
@pjswathi 2 жыл бұрын
Hi What is the use of Before Suite and After Suite? In which scenario can we use?
@HYRTutorials
@HYRTutorials 2 жыл бұрын
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.
@shwetaprabhu9158
@shwetaprabhu9158 2 жыл бұрын
can u make video on how to create reusable methods in selenium
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Sure. Will cover that in framework development sessions
@GrafMKristo
@GrafMKristo 2 жыл бұрын
Super course! One moment: that's not "suit" - that's "sweet". I'm talking about SUITE prononciation.
@HYRTutorials
@HYRTutorials 2 жыл бұрын
English has different pronunciations in every country buddy. Can't keep up with that 😉
@ritwikmishra2985
@ritwikmishra2985 Жыл бұрын
Sir please give some examples what tests can we include in Before suite, before class and after suite and after class?
@HYRTutorials
@HYRTutorials Жыл бұрын
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
@lokeshkommuru5685
@lokeshkommuru5685 2 жыл бұрын
Super ..
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou 😊
@gopian4769
@gopian4769 Жыл бұрын
clear concept...what is alighned keyword in tesetng suite? thank yuo sir
@HYRTutorials
@HYRTutorials Жыл бұрын
Ctrl+I or Ctrl+Shift+F
@angelslifestyle3959
@angelslifestyle3959 2 жыл бұрын
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.
@vaishalijain16
@vaishalijain16 Жыл бұрын
Nice explanation 👌 Sir can you please provide the series on Page object model
@HYRTutorials
@HYRTutorials Жыл бұрын
Thanks buddy 😊 Yeah sure
@chethanreddydr
@chethanreddydr Жыл бұрын
@@HYRTutorials yes bro, please make a video on page object model
@HYRTutorials
@HYRTutorials Жыл бұрын
@@chethanreddydr Sure buddy
@bojjarajesh5427
@bojjarajesh5427 Жыл бұрын
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
@praveenkumarsingireddy1137
@praveenkumarsingireddy1137 2 жыл бұрын
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
@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-qe6kc9uh3k
@user-qe6kc9uh3k 11 ай бұрын
make videos on page object model in selenium..it will help us
@HYRTutorials
@HYRTutorials 10 ай бұрын
Sure buddy
@techicalkunal3683
@techicalkunal3683 2 жыл бұрын
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.
@Targetgroups123
@Targetgroups123 2 жыл бұрын
👍🏻👌👌👌
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Thankyou
@praveenkumar-lh8wc
@praveenkumar-lh8wc Жыл бұрын
Please make a video on @FindBy annotation (object repository in selenium) and add it to selenium play list
@HYRTutorials
@HYRTutorials Жыл бұрын
Sure buddy
@nikithchethan5796
@nikithchethan5796 2 жыл бұрын
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
@nikhilvenom692
@nikhilvenom692 9 ай бұрын
how did u call driver variable without creating object in test method
@HYRTutorials
@HYRTutorials 9 ай бұрын
Because it is initialed in another annotation buddy.
@ramakrish5647
@ramakrish5647 2 жыл бұрын
anna sales force marketing cloud ? nerchukundam ankumtuna ?? ala umtumdi bro
@HYRTutorials
@HYRTutorials 2 жыл бұрын
emo bro epdu work cheyyaledu and peddaga chesina vallu kooda telisina vallu leru
@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 Жыл бұрын
Watch the parameters video in this playlist buddy
@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 Жыл бұрын
@@HYRTutorials exactly this is the mistake I did sir. Thanks a lot
@HYRTutorials
@HYRTutorials Жыл бұрын
@@diwakarreddy2367 No worries buddy. Sometimes it happens.
@SwapnilChakote
@SwapnilChakote 6 ай бұрын
Best
@hareshbandla8887
@hareshbandla8887 2 жыл бұрын
one interviewer asked me which code keep in testNG anotatations , i told him some anotationcode but i dont know the all anotations code
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Now you knew it
@hareshbandla8887
@hareshbandla8887 2 жыл бұрын
@@HYRTutorials YES
@nagurbashashaik7959
@nagurbashashaik7959 Жыл бұрын
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
@sivaram-wv9wz
@sivaram-wv9wz 10 ай бұрын
@Priority
@techicalkunal3683
@techicalkunal3683 2 жыл бұрын
sir i am not able to scroll sidebar how can i do?, i tried by js,by xpath
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Are you getting any exception?
@vaibhavdemewar97
@vaibhavdemewar97 2 жыл бұрын
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.
@shivakumar-mr3di
@shivakumar-mr3di 2 жыл бұрын
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: kzfaq.info/sun/PLacgMXFs7kl8e8xIdMDQEi2c6eQnO1toK
@shivakumar-mr3di
@shivakumar-mr3di 2 жыл бұрын
page object model videos can you please send me
@gayasshaik30
@gayasshaik30 2 жыл бұрын
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
@bojjarajesh5427
@bojjarajesh5427 Жыл бұрын
Can you please upload testNG videos in telugu
@HYRTutorials
@HYRTutorials Жыл бұрын
It will take time buddy
@user-lt5rn8dj9f
@user-lt5rn8dj9f 9 ай бұрын
please explain in telugu videos also sir...............
@HYRTutorials
@HYRTutorials 9 ай бұрын
TestNG ni Telugu lo ippatlo cheyyanu buddy
@tamizhpurii5712
@tamizhpurii5712 6 ай бұрын
Sir can you give me Testng notes
@knjaswanthi9683
@knjaswanthi9683 6 күн бұрын
Anna 🙏
@venusiri197
@venusiri197 2 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 жыл бұрын
11k people watched this video,only 235 click the like button😡
@HYRTutorials
@HYRTutorials 2 жыл бұрын
Yeah that's the sad reality buddy
@sharanshanmugam5543
@sharanshanmugam5543 Жыл бұрын
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
@SurajGunjal
@SurajGunjal Жыл бұрын
@CasheLookups
@HYRTutorials
@HYRTutorials Жыл бұрын
🤔
@SurajGunjal
@SurajGunjal Жыл бұрын
@@HYRTutorials sir hybrid framework par series banao sir
@HYRTutorials
@HYRTutorials Жыл бұрын
Haa will try buddy
@SurajGunjal
@SurajGunjal Жыл бұрын
@@HYRTutorials Sir we are waiting for keydriven framework and page object model series 🙏
P8 - Parameters in TestNG | TestNG | Testing Framework |
26:30
H Y R Tutorials
Рет қаралды 47 М.
Пробую самое сладкое вещество во Вселенной
00:41
P13 - How to group your tests in TestNG | TestNG | Testing Framework |
43:31
P3 - Create and run your first TestNG test | TestNG | Testing Framework |
13:32
P5 - Assertions in TestNG | TestNG | Testing Framework |
11:41
H Y R Tutorials
Рет қаралды 64 М.
Don't Write Comments
5:55
CodeAesthetic
Рет қаралды 774 М.