Forum Discussion
e.g., it stopped the test, instead of breaking out of the while loop, and continue the test?
- rraghvani30 days ago
Champion Level 3
Does the object Aliases.IC.MDIForm1.MdiClient.ChartForm, actually exists?
Check the project settings for "On error:"
- BD_Geoactive30 days agoContributor
Does the object Aliases.IC.MDIForm1.MdiClient.ChartForm, actually exists?
Yes it does. There are multiple objects ('chartForm') that are opened, Using While Loop to close every single of them 1 by 1 until the object in question returns (VisibleOnScreen) false.
I will check on the project settings.
- rraghvani30 days ago
Champion Level 3
So it's a multiple document interface having a number of windows, and you are closing each window if they are opened i.e. Visible Equals True?
I'm assuming you are using a wild card for the name mapping of Aliases.IC.MDIForm1.MdiClient.ChartForm?
When the last window is closed, what is the value of Aliases.IC.MDIForm1.MdiClient.ChartForm.Exists?