Overview

Overview

Welcome to QTP interview questions

Hello software Quality engineers. Welcome to our Software testing world and common QTP(Quick test pro) related technical issues, interview questions etc. . Over 2 years, I am trying to update all possible interview questions in testing area of QTP. With your continuous comments on the topics and suggestions, we are growing day by day.

Wednesday, December 19, 2007

Data Tables in QTP

How many types of Data Tables are there in qtp ?

There are two types of Data tables:

1) Global data sheet:

The data in the global data sheets are accesible to all the actions in the script.

2) Local data sheet.

The data in the global data sheets are accesible to only to those actions i the current script.

Data tables can be used by using the below code:
DataTable(“column name”, dtGlobalSheet)

DataTable(column Name”, dtLocalsheet).

Normally we can change the data table values even in the runtime. But those changes will reflect only during the runtime. They will only change the run time data table. And if you want, this run time data can be exported by using datatable.export or datatable.exportsheet functions.

Because you can not save the changes made in runtime to the actual data tables.

No comments:

Post a Comment