Ask a Question

WaitWindow is returning a window that doesn't match the selection criteria

SOLVED
John_OR
Occasional Contributor

WaitWindow is returning a window that doesn't match the selection criteria

When I'm expecting a stub object back from WaitWindow I'm instead getting a different window that doesn't match my WndCaption.  I'm pretty sure this was working as expected until I upgraded to v15.  My expectation is I get back a stub object with .Exists = False

Does anyone know what's up with this?

 

Thanks, John

 

John_OR_0-1635792952902.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: WaitWindow is returning a window that doesn't match the selection criteria

If this was working before you upgraded, you should talk to Support about it directly.  Here's the link:

https://support.smartbear.com/testcomplete/message


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

3 REPLIES 3
tphillips
Frequent Contributor

Re: WaitWindow is returning a window that doesn't match the selection criteria

It would be really useful if you could test this against TestComplete 14 if it's possible.

 

Can you include details about the Window Class (WndClass) of the resulting object? Do you get any warning or messages about ambiguous object recognition in the test log (or any other messages)?

 

What type of object is Aliases.Sys.Ezp.Session.Client? Is it a Window object?


--------------------
Senior SQA Automation Engineer
John_OR
Occasional Contributor

Re: WaitWindow is returning a window that doesn't match the selection criteria

Hi, thanks for the response.

 

>It would be really useful if you could test this against TestComplete 14 if it's possible.<

The test passed when last run with v14.  The project has since been upgraded to v15 format as have my installations of TestComplete and TestExecute.  There is no going back now.

 

>Can you include details about the Window Class (WndClass) of the resulting object?<

I'm having trouble parsing that question.  What "details" are you looking for?  Yes, there is a log warning about an ambiguous window recognition.  Perhaps this screen capture will address the question:

John_OR_0-1635802060315.png

 

>What type of object is Aliases.Sys.Ezp.Session.Client? Is it a Window object?<

Client is a WndClass MDIClient

 

Best regards, John

Marsha_R
Community Hero

Re: WaitWindow is returning a window that doesn't match the selection criteria

If this was working before you upgraded, you should talk to Support about it directly.  Here's the link:

https://support.smartbear.com/testcomplete/message


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: