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 you debug your script?


what is clean sweep?


How does quicktest professional (qtp) identifies the object in the application?


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods


How do Parameterization and Data-Driving relate to each other in QTP?


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.


Differentiate the type of test cases which can be automated and which cannot be automated?


For which type of project the iterative model is suitable?


How to creating an output value using quicktest professional (qtp)?


How many ways we can parameterize data in quicktest professional?


Who uses qtp tool?


after initiating one project for testing, when exacltly QTP tester role starts?


What is the syntax to call one script from another?


Both static and dynamic arrays are handled by the vb script. Is it true?


How does you pass optional arguments in qtp?