How do I identify a new window opened by an application

I’m very new to UI Vision. I’m writing a macro to update some fields in an application. This wasn’t an issue with the 1st macro since the application “stayed” within the browser.

However, the issue with the 2nd macro is that, after logging in, a new window opens. The fields I’m trying to update is in the new window. I haven’t been able to successfully select the new window.

Is there a trick or secret to identifying the new window so the macro can update the appropriate fields.

Thanks in advance for the help…

I assume this is for desktop automation? If so, you can use

XClick | ImageOfNewWindowTitlebar.png

or

XClickText | Test of new window title bar (this uses OCR)