Ask a Question

The unexpected window setting doesn't work

KellyWiegand
Occasional Contributor

The unexpected window setting doesn't work

Hi,

I've set the unexpectedWindow Event control in both Playback and script, but it keep pressing ESC instead of ENTER.

Did anyone meet this issue before?

KellyWiegand_0-1679984950069.pngKellyWiegand_1-1679984985634.png

KellyWiegand_2-1679985063784.png

 

 

 

1 REPLY 1
rraghvani
Trusted Contributor

As mentioned in OnUnexpectedWindow Event, "The OnUnexpectedWindow event does not work for windowless objects. That is, if an unexpected window is a windowless object (for example, a modal window implemented in a web application with a div element) the OnUnexpectedWindow event does not occur. For more information, see Handling Unexpected Windows."

 

Also, if you've set Enter for unexpected window but it's simulating Esc, it could be a bug in TC. However, the function might work with a desktop application though!

cancel
Showing results for 
Search instead for 
Did you mean: