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
Can launch two instances of qtp on the same machine?
When should I use smart identification?
How will you compare keyword and expert view?
What are some test assets and related extensions of qtp?
How to test background color and dynamic images during run time can you put the check point for moving objects?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Explain the concept of object repository & how qtp recognizes objects?
Have you done batch testing in qtp? If yes how you are doing?
Explain quicktest professional (qtp) testing process?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
How is test case write?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
Write a script to verify font style and color of a windows object using descriptive programming
The hybrid framework can be implemented for any application. Is it true?