Web.selectWindow

Hi

It seems like the Web.selectWindow command doesn’t work properly

Which oxygen version are you using?
And can you explain please what doesn’t work exactly?

I am using version 0.28.0. When I click a link in my Gmail, a window is opened. However when I select the opened window, the window is not selected

The problem is that when trying to select window by title, the window is not selected

Hi Nir,
I am unable to reproduce this. Do you use waitForWindow before selecting it? Because selectWindow doesn’t wait by itself and will fail if the window doesn’t exist when it’s called.

Something like:

web.waitForWindow('title=SOMETITLE');
web.selectWindow('title=SOMETITLE);

I didn’t use the command wait for window. Maybe that’s the reason why it is not working