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

DataTable.GetSheet(1).AddParameter "Test",""
datatable(3,1)="Data Test1"
DataTable.SetNextRow
DataTable(3,1)="Data Test2"

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain actions in qtp ?

543


What is qtpro? What is quick test pro?

545


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1670


Explain building blocks of the bpt framework ?

547


How many types of parameters are there?

527






How many types of actions are there in quicktest professional?

501


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

547


when to start the automation?

1466


What are the types of environment variables in qtp?

538


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

1516


When you open QTP, how many sheets you can see?

637


What the differences are and best practical application of Object Repository?

577


How does qtp recognize objects in aut?

569


If I change the property value at runtime is it effect is object repository?

591


How to delete an object from the object repository?

584