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
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
What ate the Technologies supported by QTP?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
What is synchronization? What are the ways you can synchronize?
What is the standard timing delay for web based application in qtp?
What are the different ways to invoke an application using QTP?
Diff b/w Health care domain and Banking Domain?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
what is vmodel?advantages and disadvantages of vmodel?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
What is the default object synchronization timeout in qtp?
Explain the types of properties that quick test learns while recording?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
What are table and db checkpoints?