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 / rajaputra

Hi,
USE THIS,

datatable.getsheet(1).addparameter"Test",""
datatable(1,1)="Test Data"

Run and see the runtime datatable

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 object and child object.. explain ..if possible give some example for better understanding ..

1717


Does quicktest professional is unicode compatible?

671


How to modify the text checkpoint?

754


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

841


Have you used xml check point in your project?

712






Can U Explain about QTP tool from older version to latest version also its differences?

1700


why should we give deliver good quality software?

1805


How to remove the associated function library?

696


What are the trigger events in qtp?

767


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1626


How to check feasibility of the appliction?in automation testing?

1682


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1820


What is throw object?

1962


What is the limitation to XML Checkpoints?

1796


What are the general steps involved in the data driven framework?

726