How to add multiple values in rows, under a single column of
a run time datatable?
Answers were Sorted based on User's Feedback
Answer / uday
datatable.GetSheet(1)
For i=1 to 5
datatable.SetCurrentRow(i)
datatable.Value(1,1)=i
Next
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / saff
BY importing the data from external excel sheet
1) first addsheet
2) importheet from excel to the local datatable
datatable.addsheet(tagretsheet)
datatable.importsheet sourcefile,sourcesheet,targetsheet
or else
u can manualy give the values into the shhet
datatable.value(parametername,sheetname)=parametervalue
| Is This Answer Correct ? | 5 Yes | 13 No |
What is difference between Quality centre and Test Director?
If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
What is Environment Variable and when we apply this in QTP?
what about f2&f6 function keys
what we do after completion of functional and regression testing
How is UFT 11.5 version different from UFT 12.0?
How can i learn Descriptive programming in QTP. Please reply.
how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help
QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?
If the object property is changing very frequently, what was your approach?
CAN ANY ONE PLEASE EXPLAIN DIFFERENT TYPE OF FRAMEWORKS USED IN QTP?EXPLAIN EACH OF THEM?..POST TO VANILKUMAR_1981@YAHOO.CO.IN
I want to assign values in a table in my software, in first column i will give values, table is of 4x4 i.e 4 row and 4 columns, i m using VBScript in my automation work. it is a simple table for giving values.