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
How can we conduct U-I Testing by using QTP??????
Are Shared ORs read-only?
Name the properties you would use for identifying a browser and page when using descriptive programming?
How to test background color and dynamic images during run time can you put the check point for moving objects?
what the difference between shared repository and per action repository?
Is text area check point supports for web applications?
What is the meaning Work bench?
What is quicktest professional?
What are the recording modes in wave event?
What is the recovery scenario in qtp?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What is file database?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Hello friends..... On which areas of an application we can not test with QTP