Browser is closed automatically

Dear Team,

I just did a simple bot.

Open the website, enter the First Name and Click on Submit.

I can see the browser is open, but it’s open in the background. I can see the icon in the task bar is blinking that means the browser is launched/opened. but it’s not visible in the foreground why??? Is there any specific properties to select.

  1. I don;t see any activate window activity here to activate the current window.
  2. It launch the website, enter the first name and click on Submit. But it’s closing the browser after finish the job. I didn’t put any browser close activity. could you suggest why it’s closing.

My question, how to bring the browser in foreground, how to use activate window action. and why the browser is closing after click on submit.

Hi @balkishan

Regarding bringing the application/browser to the foreground, you can search for an activity called Activate and drag it into your Use Application/Browser container right at the top.
This will bring the browser to the foreground.

For your browser closing, please check the property Close on your Use Application/Browser activity, and change it to NEVER, if that is the desired behaviour.

Regards
Soren

2 Likes

Thank you @SorenB for your prompt response.

I used Activate and capture the browser element to activate it.

I used NEVER in Close action. Now it is working.

1 Like

No problem :slight_smile:
You actually dont have to indicate any element for the Activate activity to work.
It simply has to be inside your Use Application/Browser container.

1 Like

Thanks @SorenB yes it worked even if don’t capture the element/object.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.