glarsen_1
12 years agoOccasional Contributor
If... Statements
Whenever i write an If.. Statment to check if a dialog window exists, it always tells me that there is an error:
For Example:
Sub Test
Call Sys.Process("xms").Window("#32770", "*").Window("Button", "OK").ClickButton
If Sys.Process("xms").Window("#32770", "Times Series Plot", 1).Exists Then
Log.Message("This Is a Bug and We Need To Report It")
End If
Call....(continue the test)
Now This is causing problems cause i don't want it to show an error but if the window isn't there, it logs an error.