Тёмный

P17 - Parameters of Test Method and Return types of Dataprovider | TestNG | Testing Framework | 

H Y R Tutorials
Подписаться 60 тыс.
Просмотров 22 тыс.
50% 1

In this video, I have explained about "Parameters of Test Method and Return types of Dataprovider".
Point covered:
1. Is it mandatory to return Object[][] from the dataprovider?
2. What are the return types of a dataprovider?
3. How do we specify the parameters in the method signature of a test method?
=======================================
▶️ Next Video Link: • P18 - How to use the d...
◀️ Previous Video Link: • P16 - What is a Datapr...
↔️ 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

Опубликовано:

 

18 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@HYRTutorials
@HYRTutorials 2 года назад
↔️ TestNG Playlist Link: bit.ly/3wXyuXB ✴ Checkout my other playlists: bit.ly/3gLIAVL ☕ Buy me a coffee: bit.ly/33ljBWc
@tubesrrt
@tubesrrt 22 дня назад
This is indeed a rare view on Data Providers. A good interviewer can trick you by asking the return type of DP. In fact, sometimes even the interviewer would be expecting the answer as "only 2D Object Array" ! This happened 2 times with me and he was arguing about it! 😆
@raviraju8448
@raviraju8448 2 года назад
Even though I am a non-IT, I can Easily understand your videos and learn a lot. Tq very much for this stuff.
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou so much bro 😊
@hanumanthak6661
@hanumanthak6661 2 года назад
Excellent videos and in-depth concepts Mr HYR! Thanks for the videos which gives confidence.
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou buddy 😊
@sravanthisravs3480
@sravanthisravs3480 Год назад
Speechless ... best video about the Data provider , very crisp and clear.. Thanks a lot !!!!
@HYRTutorials
@HYRTutorials Год назад
Thanks buddy 😊
@ashwajitthukral9101
@ashwajitthukral9101 2 года назад
You have excellent clarity like what and how to teach..thanks for your effort mate!!! 👍
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou buddy 😊
@SivaChaitanyaReddySanivarapu
@SivaChaitanyaReddySanivarapu 2 года назад
Your videos are very informative Sir, i am following your videos from a couple of months and it is very useful in my daily work activities. Please continue 🙏🙏
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou, I will
@sruthivenum2851
@sruthivenum2851 2 года назад
Your such a great person I really very thankful to you I learn so many with your sessions
@HYRTutorials
@HYRTutorials 2 года назад
Woww, thankyou buddy 😊
@arunksharma90
@arunksharma90 Год назад
Best Content available on RU-vid !! many thanks !
@HYRTutorials
@HYRTutorials Год назад
Thanks buddy 😊
@sowjanyavanarasi7928
@sowjanyavanarasi7928 5 месяцев назад
Awesome video.My all doubts got cleared.Thank you so much.
@KiranKumar-pm2ui
@KiranKumar-pm2ui Год назад
Very clear wxplanation,as of niq i didn't see this much of explanation in any video
@HYRTutorials
@HYRTutorials 10 месяцев назад
Thanks buddy 😊
@indiantourism975
@indiantourism975 Год назад
EXCELLENT EXPLANATION BRO. U ALWAYS EXPLAINED CLEARLY AND EASLY😊
@HYRTutorials
@HYRTutorials Год назад
Thanks buddy 😊
@Bell4Fun
@Bell4Fun 2 года назад
Wonderful ..In my team even experienced guys are not aware of this concept .....
@HYRTutorials
@HYRTutorials 2 года назад
Thank you 😊
@learnlogic339
@learnlogic339 2 года назад
Chala chala thanks meku, chala clear ga explain chesaru, plz upload one video based on all teastng related, where i have to mention priority and groups and dataprovider, in one example
@HYRTutorials
@HYRTutorials Год назад
Sure buddy, thankyou
@meghraj
@meghraj Год назад
Amazing ,you covered data provider very well
@HYRTutorials
@HYRTutorials Год назад
Thanks buddy 😊
@ramalakshmi5640
@ramalakshmi5640 2 года назад
Just wow , unique explanation 👌👌👌👌👌👌👌👌
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou buddy 😊
@sauravkumar6666
@sauravkumar6666 2 года назад
The way of explaining is simply awsm.
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou buddy 😊
@sauravkumar6666
@sauravkumar6666 2 года назад
@@HYRTutorials Sir plzz upload more videos fast......
@HYRTutorials
@HYRTutorials 2 года назад
@@sauravkumar6666 I'm trying buddy
@sauravkumar6666
@sauravkumar6666 2 года назад
@@HYRTutorials Ok Sir.
@sruthivenum2851
@sruthivenum2851 Год назад
Excellent teaching clearly understand topic thanku sir
@HYRTutorials
@HYRTutorials Год назад
Thankyou buddy 😊
@Bell4Fun
@Bell4Fun 2 года назад
Please make some videos on Advance concepts like Threadlocal,Factory,Singleton ....cheers
@HYRTutorials
@HYRTutorials 2 года назад
They will be covered as part of framework development after this series buddy
@DebunkSensibly
@DebunkSensibly 9 месяцев назад
Its too good!
@HYRTutorials
@HYRTutorials 9 месяцев назад
Thanks buddy 😊
@RohitKumar-tk3df
@RohitKumar-tk3df 10 месяцев назад
Boss excellent tutorial
@HYRTutorials
@HYRTutorials 9 месяцев назад
Thanks buddy 😊
@AyyAppA_009
@AyyAppA_009 2 года назад
Hope doing well. Thanks Yadagiri Reddy…Rare video about DataProvider return types.
@HYRTutorials
@HYRTutorials 2 года назад
Thankyou buddy
@user-eh9wv6ph1s
@user-eh9wv6ph1s 9 месяцев назад
Hi @HYRTutorials, thank you for this video. Can we write back(add column and write status) to our DataProvider annotation for TestNG when we are using a data driven (Excel) file? is it possible and kindly show us. Thank you
@yaswanthtirupathi6551
@yaswanthtirupathi6551 Год назад
Thank you so much bro😊
@HYRTutorials
@HYRTutorials Год назад
Happy learning buddy 😊
@learner1986
@learner1986 11 месяцев назад
Sir i am not able to use 1D array in test method.its showing dp1eithervreturn 2D object arraynor Iterator,not class
@HYRTutorials
@HYRTutorials 10 месяцев назад
Which version of TestNG you are using buddy?
@UdayKiran-xx8wt
@UdayKiran-xx8wt 2 года назад
anna u used directly method name as dataProvider name "dp1" instead of defining dataprovider name separately. thanks for telling 2nd way
@HYRTutorials
@HYRTutorials 2 года назад
We should know all the ways. So that we can easily answer in the interviews and it helps in understanding testng in a better way also
@satishkumar.r9832
@satishkumar.r9832 2 года назад
Hi Sir, Please create a video for TestNG Listeners and Extent Reports
@HYRTutorials
@HYRTutorials 2 года назад
Sure brother
@farheenmohammed4994
@farheenmohammed4994 2 года назад
👏
@HYRTutorials
@HYRTutorials 2 года назад
😊
@RohitKumar-tk3df
@RohitKumar-tk3df 10 месяцев назад
Super boss
@HYRTutorials
@HYRTutorials 9 месяцев назад
Thanks buddy 😊
@anijayadhu8926
@anijayadhu8926 3 часа назад
public Object[][] dp() { return new Object[][] { new Object[]{"valid", "valid"}, }; } Please explain this code... This is working... We have taught like this... Please explain this..
@kolob204
@kolob204 Год назад
can we use List of HasMaps as type?
@HYRTutorials
@HYRTutorials Год назад
yes, obviously you can use that buddy
@user-hc9lq7ui8h
@user-hc9lq7ui8h 8 месяцев назад
jira, api testing cheyandi bro with real time project
@kajolbahl872
@kajolbahl872 7 месяцев назад
How do you specify Index in data provider s[0] s[1]
@Srinivas-gn1ib
@Srinivas-gn1ib 2 года назад
Bro please do manual testing videos
@HYRTutorials
@HYRTutorials 2 года назад
I'm not sure whether i will be doing the manual videos or not in english but after few days i will do the manual videos in telugu language
@princip533
@princip533 Год назад
It will be better if you gave this video with selenium code..
@HYRTutorials
@HYRTutorials Год назад
If we understand the concept of reading them in the test method then putting them in selenium script is easy buddy
@AbdulRahman-ng8jb
@AbdulRahman-ng8jb Год назад
Iterator not working..Are there any changes that happened?
@HYRTutorials
@HYRTutorials Год назад
Nothing changed buddy.
@AbdulRahman-ng8jb
@AbdulRahman-ng8jb Год назад
@@HYRTutorials @DataProvider(name = "test") public Iterator UserName(){ List lis = new ArrayList(); lis.add("Designer"); lis.add("Tester"); lis.add("PO"); return lis.iterator(); } @Test(dataProvider = "test") void Testing(){ } *Is that correct?*
@AbdulRahman-ng8jb
@AbdulRahman-ng8jb Год назад
*Data provider must return Object[][] or Iterator* Getting this error
@AbdulRahman-ng8jb
@AbdulRahman-ng8jb Год назад
Figured it out -> TestNG new version(7.6.1) not supporting -> Iterator with Object method -> Working till 6.14.3
@HYRTutorials
@HYRTutorials Год назад
@@AbdulRahman-ng8jb probably
@kajolbahl872
@kajolbahl872 7 месяцев назад
What is s[0] and s[1]
@anterq
@anterq Год назад
hi i am watching in 2023 are they still relevant ? can you do live training for automation testing on youtube?
@HYRTutorials
@HYRTutorials Год назад
These videos are still relevant only because there are no major changes in the TestNG
Далее
Functions in Python are easy 📞
10:38
Просмотров 406 тыс.
01. Internal Working of HashMap & Java-8 Enhancement
19:11
Learn JSON in 10 Minutes
12:00
Просмотров 3,1 млн