Ravik
9 years agoSuper Contributor
Hi,
You can create your own custom function which is checking whether object is exist and visible on screen or not and take screen shot of window like -
If objType.Exists AND objType.VisibleOnScreen then
Call Log.Picture (Sys.Desktop.Picture, "Your object is present" )', pmNormal, attr)
If objType.Waitproperty("Enabled",True,5000) Then
objType.Click
Else
Log.error objType& " objType is not Enabled"
End IF
Else
Log.error objType& " objType is not found"
Call Log.Picture (Sys.Desktop.Picture, "Your object is not present" )', pmNormal, attr)
End If
This may help you :)
Related Content
- 2 years ago