Monday, July 18, 2011

Difference between Global datasheet and Local Datasheet

Difference between Global datasheet and Local Datasheet


You can directly fill the rows in your global datatable and parameterise the values without handling any for loops.

For example, if there are 10 rows filled in, QTP by default runs for 10 times and stops after executing 10th row.
msgbox Datatable("columnname")
Note: if sheet is not mentioned, it takes data from first sheet with index of 1. which is the global sheet by default.

But if you fill your data in Local datasheet, you need to specifically write logic to handle from which row
QTP need to pick up the data and from which row it should stop.

msgbox Datatable("columnname","Action1")

No comments:

Post a Comment