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

Hi,
USE THIS,

datatable.getsheet(1).addparameter"Test",""
datatable(1,1)="Test Data"

Run and see the runtime datatable

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1688


hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.

1656


How do client side image and server side image work?

1623


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

1986


Problem with XML checkpoint in QTP ?

3715


How to check feasibility of the appliction?in automation testing?

1748


Explain the concept of object repository and how quicktest professional recognises objects?

798


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

820


What is the purpose of loading qtp add-ins?

860


Explain the checkpoint in qtp?

869


How to use setroproperty?

784


What is RTM (require ment tracebulity marix) fromate?

1743


Hi Samrat, Thank u very much, what u said it is right.

1684


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2139


what is impact analysis on regression testing?

2270