Unexpected window and Ovelapped window
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unexpected window and Ovelapped window
Hi,
The AUT is a Delphi exe.
When I have not checked the "Ignore overlapping window" in Project parameters, I have randomly my tests that fails due to "Overlapping window". The problem is that this window is part of the AUT and its presence is normal.
When I check that option, I have instead an "Unexpected window" error at the same places. This time too, the unexpected window is normal.
I just can't let 10% of my tests fail because of that issues.
Any help would be appreciated,
Thank you
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think I would try creating an event handler that lets the extra window be ignored.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What exactly does the incident involve?
This window must be constantly displayed on the screen? Can't you close it like that?
Write the exact details. From what you are writing this TestComplete behaves correctly and returns an error.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your valuable suggestions Marsha, Wamboo!
@m_essaid Did you manage to solve this?
Please share the solution with us.
Or, if you didn't, please provide more info as Wamboo is requesting.
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you @Marsha_R and @Wamboo ,
I'm investigating this issue with the help of the Smartbear customer support, so I will do a point when I'll have figured out the issue.
For the moment, I have an overlapping window that could be an AUT window, a Windows explorer window, or any other program's window that get in front of the window on which TE needs to work with.
I catch the OnOverlappingWindow and use a .Activate to bring to the front the overlapped window.
It has reduced a lot the tests failures, but I still have some issues.
I'll tell you further.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@m_essaid I wasn't able to locate your support ticket, is there a reference number?
I was wondering if progress was made there🙂
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
