Replies

  • Through excel sheet, we can pass "n" number of test data to automation scripts therefore every automation engineer in the Software testing company must be familiar with using excel file in the selenium projects.
    We can use Dataprovider library to get the data from excel sheet and pass to @Test method of automation scripts.

    You have to perform below scenarios
    Excel sheet should have data which you want to pass to the scripts like “Username” column

    Create a method to read excel sheet and get the value from sheet with the help of Dataprovider. like

     @DataProvider(name="Username")
    MethodtoReadExcel()
    {
    }

     Create a Test method which accept parameters of excel sheet and add dataprovider name for @Test method to get the data

     For example:

     @Test(dataProvider="Username").
    TestMethod()

    }

     

    The Best Software Testing Services Company - QASource
    Partner with the leading software testing company - QASource, and accomplish all your software testing services goals within strict deadlines and bud…
This reply was deleted.
    results->result as $result) { ?>
  1. jobtitle;?>
    company;?>(formattedRelativeTime;?>)city;?>, state;?>
    Welcome to Mobile QA Zone, a Next Generation Software Testing Community.Invite your friends to join this community.Write to us to become a featured member.