Hi friend
I have query regarding QTP datatable.
I want to insert data in datatable during runtime.

suppose i wrote

datatble.value(1) = "Test data"

so when i run the script it says column(1) doesn't exist.

Then i write something in column A1 manualy and run the
script again.

Now it works fine.

Pls clarify how i can put value in blank cell of datatable.

Answer Posted / medena

DataTable.GetSheet(1).AddParameter "Test",""
datatable(3,1)="Data Test1"
DataTable.SetNextRow
DataTable(3,1)="Data Test2"

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between modular framework & datadriven framework

1597


Explain types of descriptive programming?

591


how to post xml data from QTP scripts to any application?

1504


is it possible to add sheets to excel at runtime

3235


Explain the parameter in qtp?

582






I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

599


What is Test Fusion Report in QTP?

622


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1628


what function you write to do database testing with the help of qtp?

1360


Difference between action & Reusable action?

689


Can I change properties of a test object?

631


What Folder Structure following in Keyword Driven Frame work?

2287


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1567


Dis advantages of XML checkpoint ?

1581


How will internal and external links be validated and updated? how often?

641