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

Before inserting value in the cell, first we need to create
column by using "addparameter" then we can insert value in
that column.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer       View All Answers

Please Help Members By Posting Answers For Below Questions

when a test case is written how u test using qtp


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link


What are the views available in quicktest professional?


Is the qtp course will help to create a virtual object?


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji


For which type of projects the iterative model is not suitable?


Sql questions to find second max salary and how to use joins


I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)


Explain sub procedure of vbscript.


Explain quicktest professional testing process?


What is the Command used to start the QTP


Difference between test object and run time object?


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


can u explain relative path architecture framework in qtp?


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????