08-06-2010, 06:38 PM
Hi Manish,
As per my perspective on your requirement, suggest you to try in the below way
As per my perspective on your requirement, suggest you to try in the below way
Code:
Expected_User="Skanda"
Users_List=Browser().Page().WebTable("Users").GetCellData(2,2)
temp=Split(Users_List, " ")
For i=lbound(temp) to Ubound(temp)
If (Expected_User=temp(i)) then
Index_Val=i
Browser().Page().WebTable("Users").ChildItem(2,2,"WebElement",Index_Val).Click
Exit for
End if
Next