In Datatable having the data like this
S.no Name Address
1 raj hyderabad
2 suresh Mumbai
3 shyam chennai
4 dev banglore
i want to get the shyam row id & column id using scipting
i.e 3,3
Answer Posted / pushkar1206
a=datatable.GetSheet("Action1").GetRowCount
For i=1 to a
b=datatable.GetSheet("Action1").GetParameterCount
For j=1 to b
datatable.GetSheet("Action1").SetCurrentRow(i)
If datatable.Value(j,"Action1")="shyam" Then
msgbox i
msgbox j
End If
Next
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
What are table and db checkpoints?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Get the count of files of similar types from a folder.
What is the architecture of your project? Can any one answer for this question plz........
What is quick test pro?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
What are the general steps involved in the data driven framework?
In qtp, how you can use xpath to identify objects?
Both static and dynamic arrays are handled by the vb script. Is it true?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
How many ways is to parameterize the value?
Explain different checkpoints in qtp.
How software tester can use constants and variables in scripts?