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
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
What is text check point and text area check point?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
Can any one send me the QTP Basic Coding Samples?
How to use reporter.report event in qtp ?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
Is virtual object supported in low level recording mode?
What is qtp window?
Mention what are the different types of recording modes in qtp? Which will be used when?
Is text area check point supports for web applications?
Can any suggest me what is exposure testing?
Your roles and responsibilities and daily tasks? (As automation tester)
Explain how qtp identifies object?
Where you are storing your script?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...