Tutorial 8 - TestNG @DataProvider and @Factory annotations
Вставка
- Опубліковано 8 вер 2024
- In this tutorial, you'd learn about the two annotations we use to make our tests data driven. Dataprovider and Factory are used to provide data to the test cases.
I have also explained the difference between DataProvider and Factory annotations.
Like and subscribe to see more such tutorials. Feel free to ask questions in comment section..
music : bensound.com
good information.Thank you
Hi sir ,
When u observe the result ur getting output not random fashion with @factory method ..any idea of how to get a randomly using @factory method
in testNg.xml file use group-by-instances="true" , preserver order="true" with tag
How to provide both dataprovider and groups to any testcase
how to check dataprovider value is empty or null and print in the report...
Sir how about the career of Annotation Engineer...?
Do you mean to say - career of automation engineer?
@@xtremeExcel yes sir .
It's a good journey. All you need to do is to stay updated with tools, technologies and frameworks and keep exploring..
@@xtremeExcel ok thank you sir