12-27-2008, 04:49 PM
Hi Ankur,
Use the following code -
Use the following code -
Code:
Set oDesc = Description.Create()
oDesc("micclass").Value = "WebElement"
oDesc("html tag").Value = "TD|DIV" OR ( What ever the GUI spy says)
Set WebElementList =PageObj.ChildObjects(oDesc)
'Count the No. of Images in UI screen
NoOfWebElement = WebElementList.Count()
'This FORLOOP for clicking on exact search value for WebTable.
For i = 0 To NoOfWebElement -1
On Error Resume Next
StrArry = WebElementList(i).GetROProperty("innertext")
If Instr( StrArry,ObjectName)> 0 Then
ObjExist=true
Exit For
else
ObjExist = false
End If
Next:)