Page 1 of 1

Switch window

Posted: Wed Jan 30, 2019 12:27 pm
by mohan.pentyala
Hi

I am stuck up at below scenario, can you please help me,

When I click on the print preview on my application one more window will be opened but it will not be in focus, It will display as another window under my application, Now I have to navigate to that window and validate the window.

I have tried to switch by taking process name but that window didn't have any process name just it is adding as a subwindow of my application,

Is there any way I can achieve this?

Re: Switch window

Posted: Wed Jan 30, 2019 12:31 pm
by odklizec
Hi,

Without seeing, at very least, Ranorex snapshot (NOT screenshot) of the problematic app/window, there is not much anyone here can do or suggest. Generally speaking, you should store xpath of the problematic window in repository and then use Focus or EnsureVisible action to bring the window to focus/make it visible? But again, without seeing the snapshot (or sample app), there is not much else anyone here can do or suggest.