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 / arun singh

first of all u have to change the column name.
i.e., double click on A and run the program.

got it.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know how to connect database? Can you tell me the procedures?

539


How did you use regular expressions in QTP and also in WR?

2153


explain keyword driven framework with banking domain?

1551


How to handle Java tree in QTP?

736


How to test results for qtp ?

780






How does qtp identify objects in the application?

575


How to analyzing test results using quicktest professional (qtp)?

575


What is Associate Repository in QTP 9.2 ?

593


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1437


What is the default object synchronization timeout in qtp?

632


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2964


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1611


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1407


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

5915


If I give some thousand tests to execute in two days what do you do?

572