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
How to associate shared object repository to test in qtp?
Which functionalities of QTP used in banking project?
What is ObjectParamater?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What is the synchronization point in qtp?
What is the difference between Keyword Driven test and Data Driven test?
what is the difference between IE & Netscape in web testing on a log in page
Which recording modes need more memory?
Explain QTP using different development techniques ?
How to open a new test using quicktest professional (qtp)?
Explain the features of quick test pro(qtp)?
How to integrate the qualitycenter with qtp
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
What is the difference between the keyword view and expert view?