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
when a test case is written how u test using qtp
What is the difference in testing a client-server application and a web application?
What is difference in global and action sheet in qtp?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
how will you load the test cases in ddt?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
Explain different type of event trigger option.
What ate the Technologies supported by QTP?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
explain keyword driven framework with banking domain?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
What is test object model in quicktest professional?
What is the difference between per-action and shared?
What are the key elements available in test result window?