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

By using Ouput Values concept we can insert in datatable
during runtime. but we can see the value only in Test
result,select runtime table in left side of he test results

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

699


What are the different attributes used with regular expression?

552


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3249


if our qtp vb Script may be Currepted then What we want do?

1485


How to use the object spy in quicktest professional 8.0 version?

546






Difference between copy to action and call to action?

594


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

563


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

611


Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?

1526


How many types of recording modes in qtp?

587


What is the short cut keys for the following?

647


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

557


What are the technologies supported by qtp?

563


What is the use of an object spy tool in qtp?

559


How many add-ins comes by default with quicktest professional?

554