10-06-2010, 06:37 AM
Hi
I tried using the debug. Still it showing the same message. But in OR the object is exist. Now what shall i do to solve this problem?
I used this code to check whether it finds the object or not,
It prints that "Image not found".
Cheers,
Preetha.
I tried using the debug. Still it showing the same message. But in OR the object is exist. Now what shall i do to solve this problem?
I used this code to check whether it finds the object or not,
Code:
strBrowser="title:=xxx"
If Browser(strBrowser).Page(strBrowser).Image("name:=End of Record").Exist(1) Then
Print "Image found"
Browser(strBrowser).Page(strBrowser).Image("name:=End of Record").Click
Else If not Browser(strBrowser).Page(strBrowser).Image("name:=End of Record").Exist(1) Then
Print "Image not found"
End If
End If
It prints that "Image not found".
Cheers,
Preetha.