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
What is the use of ordinal identifier in qtp?
Explain different checkpoints in qtp.
Where can I find and view run-time data table?
How many types of actions are there in quicktest professional (qtp)?
Explain sub procedure of vbscript.
What is a programmatic description?
How do you check ticket cost and ticket number in flight application?
What is expert view and keyword view?
Define virtual object?
after initiating one project for testing, when exacltly QTP tester role starts?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
what could go wrong with test automation?
Key word driven framework
What is Distributed testing? How does UFT support it?