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
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
Explain how you can replace string in qtp?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
give me the code to save all messages of inbox of gmail into a folder and notepad
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Sql questions to find second max salary and how to use joins
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Explain in brief about the quicktest professional automation object model?
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?
Hi How to retrieve data from web element line by line?
Explain runtime dynamic settings?
In qtp, how you can exit for loop?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me