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

1103


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

272


What are the views available in quicktest professional?

55


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

976


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

790






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

908


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

386


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)

971


Explain sub procedure of vbscript.

78


Explain quicktest professional testing process?

58


What is the Command used to start the QTP

981


Difference between test object and run time object?

96


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

850


can u explain relative path architecture framework in qtp?

1052


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

1256