DataProvider In TestNG - Data Driven Framework in Selenium - Part 3

preview_player
Показать описание
Data Driven Framework in Selenium WebDriver with TestNG DataProvider - Part 3: DataProvider In TestNG

+How to use @dataProvider annotation
+How to fetch test data from excel using data provider utility
+How to define @dataProvider with @Test annotation in TestNG
+How to parameterize @Test - Test Case using TesNG- data providers

=====================================================
**Download Excel Utility - Xls_Reader java file:

**Download Apache POI API:

=====================================================
****Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

-~-~~-~~~-~~-~-
========================================================
Please watch: "Selenium & Automation Interview Preparation - By Naveen AutomationLabs"
-~-~~-~~~-~~-~- Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:

Follow me on my Facebook Page:

Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:

Paid courses (Recorded) videos:
📗 Get My Paid Courses at
Paid courses (Recorded) videos:
-------------------------------

✔️SOCIAL NETWORKS
--------------------------------

Support My Channel✔️Or Buy Me A Coffee
--------------------------------
✔️Thanks for watching!
देखने के लिए धन्यवाद
Благодаря за гледането
感谢您观看
Merci d'avoir regardé
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
Рекомендации по теме
Комментарии
Автор

Hello All, Sharing the latest Excel Util - Xls_Reader class used to perform read/write operations on Excel files. This util is having all the latest dependencies as per Apache POI api - 4.x.x version. You can get this util from my GIT Repo:

naveenautomationlabs
Автор

@6:16 Creating a class inside package which is consisting Datadriven Test.
@6:53 A code to invoke browser and opening a site using @BeforeMethod annotation.
@9:06 A code to quit browser using @AfterMethod annotation.
@9:49 Writing testcase for locators of the site input fields.
@14:03 Passing suitable parameters for testcase.
@15:58 Using DataProvider annotation to pass data to the testcase.
@17:03 Creating a utility package and inside that package, creating a class.
@17:32 Importing opensource Arraylist method inside class belonging to utlity package.
@20:00 Giving Excel sheet to the class belonging to utility package.
@21:22 Correcting "for" loop according to Excel sheet.
@24:43 Creating an object array to store existing String values.
@25:52 Adding the object array into the arraylist.
@28:03 Calling that Arraylist method into DataProvider annotation of testcase
@29:05 Writing an method to iterate an arraylist.
@30:40 Passing Iterator method from DataProvider annotation inside testcase
@34:48 Running the code.

ksdnsdkumar
Автор

One word sir, , you are just an amazing PERSON!!!1

abhinavdwivedi
Автор

How cool it is !! We are going to read data from Excel to DataProvider and then that DataProvider is going to feed data to various methods in application for Processing. Thank you Naveen !!

navjyot_ironman
Автор

I have viewed about 10 different instructors videos but among them all Naveen Sir's videos are top on the List, the way explanation given is really kool

Thank you Very Much sir for your Greatest Help

krinal
Автор

Hello Naveen Sir, Namaste, I am the Big Fan of you Sir, You have posted this video 3 years back but still helping me and like such kind of students lot of there. Really clear explanations sir. You have put the seeds before 3 years it will grown today as big tree we peoples are utilizing like shadow.
Your are big contribution in Testing Industry Sir. Thank for your once again. Please Keep Posting Sir. :)

thiyagarajanrajasudhakar
Автор

I'm getting ample amount of knowledge watching your videos Naveen. A big thumbs up to you.

shashankupadhyay
Автор

Very Crisp & Clear Explanations, Thank u, Naveen.

nehascrafts
Автор

Very Simply and clearly explained Thanks Naveen.

vinumayil
Автор

Thank you Naveen...such a wonderful video i have ever seen. Clearly explained point to point. Thank you so much

swapnaanneboeena
Автор

Hey, Naveen you have explained the complex topic in the simplest possible way. Kudos to ur explanation.

khajazakiuddin
Автор

Thank you soo much for explaining this in detail. it helped me alot...👍😊

chaithanyareddydevulapalli
Автор

Thank you so much Naveen. Very helpful. Your are spot on. Detailed Explanation. Anyone can Understand.
Data Provider concept is required for my full project.

thulasirao
Автор

Thanks you for providing the in detailed explanation on Data Provider :)

igszeefive
Автор

Nicely explained Naveen, keep it up with good work.

SubodhKumar-fsdl
Автор

Amazing tutorial Naveen sir, thanks a lot, such a complex topic is explained in such a simple way

chandanmukherjee
Автор

The content is amazing and gives an in-depth insight into the concepts involved. Thank you!

trahamatrah
Автор

Thank you so much naveen you cleared my doubt by watching these amazing videos
I really appreciate you brother.

zarifjamshidi
Автор

Very good explanation...really helpful for complex topic to get clear properly..

kenjalgundecha
Автор

Very brilliant explanation and so easy to understand. Thanks a lot.

sanjaychoudhary