selectWindow - how does this command work?


#1

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!

grafik.png


#2

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


#3

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


#4

title (not titel) perhaps?


#5

Russ Thomas said:

title (not titel) perhaps?

*facepalm*
thanks

-edit:
fixed the typo, but still does not work


#6

Thank you for your feedback. We are working on this issue and will have an update soon.


#7

We’ve released version 3.4.4 with two ways to select a window:

  • By index: selectWindow | win_ser_1
  • By title: selectWindow | title=This is a title

If you have any issue, don’t hesitate to tell us. We always appreciate your feedback.

Please see example at https://github.com/katalon-studio/katalon-recorder-samples.

Demo video:


#8

does not work in 3.4.10. neither win_ser_x nor title=, where title contains a space.
chrome 65 or ff 59 on win10


#9

i note your examples are one-word titles w/no spaces. tho your syntax description a couple of posts above here indicate embedded spaces ok.


#10

Hi. Please make sure that you allowed popup in Chrome. The demo also showed this step.