QTP Data Table Having 10 records with 10 to 15 fields(lets
say).now i want to get alternative records from datatable.pls
can any one answer it?
Answers were Sorted based on User's Feedback
Answer / veeranki naveen goud
set dtsheet1 = datatable.GetSheet(1)
rcount = dtsheet1.GetRowCount
ccount = dtsheet1.GetParameterCount
For i = 1 to rcount step 2
dtsheet1.SetCurrentRow i
For j =1 to ccount
n = dtsheet1.GetParameter(j).ValueByRow
(i)
msgbox n
Next
Next
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / veeranki naveen goud
set dtsheet1 = datatable.GetSheet(1)
rcount = dtsheet1.GetRowCount
ccount = dtsheet1.GetParameterCount
For i = 1 to rcount step 2
dtsheet1.SetCurrentRow i
For j = 1 to ccount
n = dtsheet1.GetParameter(j).ValueByRow(i)
msgbox n
Next
Next
Regards,
Veeranki Naveen,
Noida.
| Is This Answer Correct ? | 4 Yes | 1 No |
datatable.AddSheet"pushkar"
datatable.ImportSheet "C:UserspushkarDesktopBook1.xls","Sheet1","pushkar"
rw=datatable.GetSheet("pushkar").GetRowCount
clm=datatable.GetSheet("pushkar").GetParameterCount
For i=1 to rw step 2
For j=1 to clm
a=datatable.GetSheet("pushkar").GetParameter(j).valuebyrow(i)
msgbox a
Next
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
I am new to automation testing.I am learning QTP 9.2.my question is how to install the defferent addins(other than Default Addins) is there any defference in QTP after installing the Addins.where we can get the addins?
What is the difference between systemUtil and invoke method..?
what is the difference between link and hyper link?
Tell some commonly used Excel VBA functions?
what is the framework followed by ur company in qtp
Hi any body can tell me the in detaled information about Description.Create() thanks in advance
Pls Solve Error(SAP-CRM):- Cannot identify the specified item of the SAPNavigationBar object.Canfirm that the specified item is included in the object's item collection.
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?
Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window
How QTP recognizes Objects in AUT?