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 is UFT 11.5 version different from UFT 12.0?
How to export quicktest professional (qtp) results to an .xls file?
Why to use descriptive programming?
How can you write the scripts that operate on different objects depending on run-time information?
What is checkpoints for qtp?
Explain different types of action in qtp?
What is a Patch in QTP?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
Explain data driven framework?
How to start recording using quicktest professional?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Where we can use the analog mode and where we can use the low – level mode?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
What are the differences between quicktest professional (qtp) and winrunner?
How to test login module with different username and password by using data driven testing in QTP?