TestNG Tutorial #13 - Move TestNG DataProvider into Different File

Поділитися
Вставка
  • Опубліковано 11 лют 2025

КОМЕНТАРІ • 12

  • @KrisuParikh
    @KrisuParikh 2 місяці тому

    thank you

  • @studiesonsoftwaretesting9768
    @studiesonsoftwaretesting9768 3 роки тому +1

    Thank you for the video

  • @siddharthverma6308
    @siddharthverma6308 3 роки тому +2

    Sir, Instead of using dataProviderClass attribute, can we extend the our test case class to dataprovider class, e.g. in this case can we use DataProviderDemoTest extends DataProviderDemo.

    • @sivaramsathiamoorthi7257
      @sivaramsathiamoorthi7257 2 роки тому +1

      But in many scenarios we would be extending the before and after suits as a base class and in Java we cannot extend more than one so its better to use DataProviderclass

  • @max27lab56
    @max27lab56 4 роки тому

    thanks sir

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

    Instead of changing the data provider every time for different methods (arguments) can't we generalize it

  • @anilkashyap5953
    @anilkashyap5953 4 роки тому

    sir while overloading the method it shows data provider mismatch

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

      make sure the name of dataprovider should be same in both the test methods

  • @sumantrajdeshpande1829
    @sumantrajdeshpande1829 2 роки тому

    and Also make clear Indian pronouncessions. so that, we could understand it fastly. rest of the things are perfect.

    • @lb8101
      @lb8101 2 роки тому

      🤣🤣🤣🤣 wow