How to set focus on main windows after another window pops up

uiautomation
studio

#1

How to move child window and come back parent window with please give me screen shot


#2

Hi @KKG,

“How to move child window and come back parent window with please give me screen shot”

-> Can you elaborate and share what u have tried on this…


#3

You can use activate activity to activate any window on screen.


#4

Suppose i ma performing some action in webpage, In same page when i click one button open another pop up window. So i want to perform on pop up window again come back main window.


#5

Hi @KKG,

Well in that case, suppose u have 2 windows ,
-> Win1 - Main Windows which u r working on
-> Win2 - Popup Windows which comes up when u click on a certain button on Window1.

So, when u click the Button on Win1 , a new window Win2 pops up, do all the required actions that u want to carry out on the Win2 and use “Click” Activity and click on Close Button (red Cross on Top Right of Window) of the Second Window .

Now u r already on the main window.

But :slight_smile: I don’t understand why do u want to move the Child and Parent Window as it makes no difference.
The BOT will still be able to perform all the operations without any fault.

Just make sure “Simulate Click/Type” is checked in Properties Pane of the Activities that you have in ur workflow.

Cheers Mate :slight_smile:


#6

Hi @KKG,

I would suggest you to to use ‘Attach browser’ and ‘Attach window’ activities to perform actions on specific browser page or window.

Capture

Regards,
Rahamat


#7

Hi prassin6,
When i clicking red coted button, displaying this pop up window. So i want to perform some action again come back in main window. First of all you tell me which activity required for this scenario. If you explain with screen shot then better.
Thanks,
babu