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

Hi friends,when we need to insert the values in to datatable
we can write script like

datatable("column name",sheetid)=value

Then the given value will be stored in desired sheet and
given column,

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

601


Explain how qtp identifies objects?

556


How to find Operating system information using QTP script?

562


When and why to use descriptive programming?

593


What is the qtp testing process?

581






How would you export a script from one pc to another in qtp?

644


How will you report the bug and explain the defect tracking sheet you handled?

2531


what is profile tool?

1591


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1334


How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is

6292


explain abt dyanamic changing object with example?

1891


How will you test a keyboard?

588


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

1349


What will be happen if i load object repository at run time, but it has already associated.

1245


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

687