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

КОМЕНТАРІ • 10

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

    good information.Thank you

  • @dhanapalayyanar1394
    @dhanapalayyanar1394 4 роки тому +1

    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

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

      in testNg.xml file use group-by-instances="true" , preserver order="true" with tag

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

    How to provide both dataprovider and groups to any testcase

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

    how to check dataprovider value is empty or null and print in the report...

  • @mr.bhaskar3684
    @mr.bhaskar3684 5 років тому +1

    Sir how about the career of Annotation Engineer...?

    • @xtremeExcel
      @xtremeExcel  5 років тому

      Do you mean to say - career of automation engineer?

    • @mr.bhaskar3684
      @mr.bhaskar3684 5 років тому

      @@xtremeExcel yes sir .

    • @xtremeExcel
      @xtremeExcel  5 років тому

      It's a good journey. All you need to do is to stay updated with tools, technologies and frameworks and keep exploring..

    • @mr.bhaskar3684
      @mr.bhaskar3684 5 років тому +1

      @@xtremeExcel ok thank you sir