This helps. Add the webtable object to your Object repository and paste the below code in the expert view and execute it.
Let me know if it helps.
Please be aware that the most skeletal part of a raw code has been supplied to you. Please tweak according to your requirement and your coding standards. Logic is the only part which remains untouched.
Code:
rowcount = Browser().page().frame().webtable().rowcount
For i = 0 to rowcount - 1
cellvalues = Browser().page().frame().webtable().getcelldata(i, 1)
if Instr(Trim(Cellvalues),"Venkat") <> 0 Then
Browser().page().frame().webtable().Fireevent "ondblclick"
Next
if the above throws a error or does not work try this,
ItemRowNum = Browser().page().frame().webtable().Getrowwithcelltext("venkatbabu")
Browser().page().frame().webtable().object.Rows(ItemRowNum).Cells(1).Fireevent "ondblclick"
Let me know if it helps.
Please be aware that the most skeletal part of a raw code has been supplied to you. Please tweak according to your requirement and your coding standards. Logic is the only part which remains untouched.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.