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
What is Unicode Compatibility?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
What is output value? How many types of output values are there in qtp?
What is the quicktest professional testing process?
Explain the difference between call to action and copy action?
Write a QTP script to enter a keyword in to Google search engine?
How many types of recording modes in the qtp?
How to use Environment parameterization? Explain with an example.
1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible
what is the difference between built-i function and In-built function?
How to use the object spy in quicktest professional 8.0 version?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
How QTP support all types of applications (platforms)?
Output values? i want a practical example