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

What is the quicktest professional testing process?

843


How is a Step generator used in UFT?

929


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

816


Where to use function or action?

892


How does qtp identify gui object?

794


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1721


Will down time for server and content maintenance/upgrades be allowed? how much?

867


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

2230


How you can decide which type of object repository you have to use?

938


How do you know the location Id of an object if you know its index id?

818


In qtp is it possible to check broken links of a page?

789


How to use descriptive programming?

895


Explain the check points in quicktest professional?

796


Can any body please tell me the steps of keyword driven framework of QTP.

1779


When do go for loop condition in test?

881