Monday, February 6, 2017

Data Table

In Open Script Data tables can be used to store test data and pass to the test script.

Creation of Data Table
          Go to Script -> Script Properties -> Modules -> Check Data Table from Modules list. Next go to View and select Data table then Data Table added to your script.

Syntax
          String empid=datatable.getValue(i, "Emp Id").toString().trim() or
          String empid=datatable.getValue(“Sheet1”, i, "Emp Id").toString().trim();

Next Topic : Function Library

No comments:

Post a Comment