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 are the Test design techniques you uses in ur project?
In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)
hi, i was adding the two numbers in qtp scripts but i didn't get the answer. see my below script, i dont know wht is the problem. i passed the value a=3 b= 2, i got the ans 32 instead of 5. i thing the problem is to be c = a+b my mail id karthis4u@gmail.com Dim a, b, c a = inputbox("enter the a ") b = inputbox("enter the b ") c = a + b print c
How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?
any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Browser ("Browsername").Page("Pagename").Weblist ("weblistname"),"items count")) msgbox intFieldItemsCnt
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
how to reverse the string without using bultin functions(i.e mean mid,len ,reverse functions)
Wat is the command used to add an object(properties) to an object repository?
What are the methods of the TextStream object that are used for reading from a text file?
what is vss and cvs what is main difference b/w these two
how to test one edit box using Java addin for Web Applications? write script?
How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row.