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 / sameer
=======
DataTable(ParameterID [, SheetID]) =NewValue This is what
is specified in data table help.
That means you should use:
DataTable.SetCurrentRow(1)
DataTable(1,dtGlobalSheet) = "Test" ...If you are to insert
data in the first row and first column of global sheet.
I am using the same...n it's working..
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
How to handle dynamic objects in quicktest professional (qtp)?
Hi, how can we check or avoid the memory leakage in QTP9.2?
how to download mercury qtp9.2 ny internet ?
How many types of trigger events are there in qtp?
Can you write a script to check if the folder exists or not?
How to connect to a database?
Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
If object is not recognized by qtp but the object is standard object what is your approach?
How will you check a web application for broken links using qtp?
How you can decide which type of object repository you have to use?
What is the qtp testing process?
When to use shared and local object repository?
What is keyword driven framework?