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 / prashanth
Hi Friend,
Try this...
In the Datatable, in the first row, first column u can
find "A". DoubleClick on "A" and give any name like..."Test"
Now, in the Active Screen...
DataTable.Value("Test", Global)="Test data"
'Now if you want to use the value present in the datable,
in the script...
K=DataTable.Value("Test", Global)
Now, the value "Test Data" is stored in the variable "K"
Thanks,
Prashanth
prashanth.vikey@gmail.com
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
why text area checkpoints cannot used for web applications
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
What is the synchronization point in qtp?
What is the XML file architecture ?
why you have standardized functions? plzzz guys with real time exp. do answer
what is supply chain management?
The hybrid framework can be implemented for any application. Is it true?
How do we analyze the checkpoint results?
What is the short cut keys for the following?
How to create runtime property for an object?
In qtp, how you can exit for loop?
HOw to add the recovery file at runtime to the test file .
Output values? i want a practical example
In qtp, explain what is crypt object