cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected window and Ovelapped window

Highlighted
Valued Contributor

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

6 REPLIES 6
Highlighted
Community Hero

I think I would try creating an event handler that lets the extra window be ignored.

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/handling-events/creating-handl...

Highlighted
Community Leader

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.

Highlighted
Community Manager

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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Valued Contributor

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.

Highlighted
Community Manager

@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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Valued Contributor

Hi @sonya_m ,

The reference number is #00419877

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get properties of a web page element

See replies!

Compare images using the Region Checkpoint

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors