11-26-2009, 12:11 AM
The Area you are testing, when you spy that or look in the Object repository does it have a property assigned to it?
For example
I have a Static area on part of my app that gets written to
I then search for the "Text" Property of that area
From there you can make your own check point:
For example
I have a Static area on part of my app that gets written to
I then search for the "Text" Property of that area
Code:
ScreenValue=Window("Window1").Static("ScreenValue").GetROProperty("Text")
From there you can make your own check point:
Code:
If ScreenValue = "" then
Reporter.ReportEvent micPass, "ScreenValue", "Screen Value was blank"
Else
Reporter.ReportEvent micFail, "ScreenValue", "Screen Value was NOT blank"
End if