selectWindow - how does this command work?

Liam B said:

Peter Nicolaisen said:

Hi everyone,

I’m running into the problem of trying to bring Katalon to focus on a newly opened window/tab.
I tried looking up solutions online, but most of the stuff I found is pretty cryptic to me as a new user (and as someone who has 0 knowledge of Java or programming in general).

I tried using the name or title of the new window, but to no avail.
Can anyone give me a little hint?

Thanks in advance!

Hi Peter,

You’d need to pass title of the Window to the command. E.g.: title =New Window

Let us know if you have any other issues.

Thank you for using Katalon Recorder,
Liam

Hi Liam,
thanks for the help.
Sadly, I can’t bring it to work.

Is this how it’s supposed to be used?

Are the blanks or is the dash in the window title throwing it off maybe? If so, is there a workaround?

katalon_selectwindow1.png