Reputation: 6753
I currently have a win 32 application which emits popup windows based on different parameters.
I an trying to write a test that is able to act if the window is visible. if not I want my test to continue without failing.
Are there any examples available?
Best regards,
Upvotes: 0
Views: 2661
Reputation: 76
You can check using (YourWindow).Exists property.
For example,
if (MyPopupWindow.Exists)
Mouse.Click(MyPopupWindow.dxDialogOkButton());
Upvotes: 1