cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to Close EDGE tabs

CarlosGomez1
Level 3

Hi Experts,

 I converted my Bots from IE to Edge, but I'm having problems because the process sometimes loses the map of the fields to close the EDGE tab. so I have to spy the active tab again...

that's not difficult, it's just that where I work, you have to do documentation, justify the change and submit a ticket to promote the change to production and that takes time.

Could some of you guide me on the best way to close the active tab using EDGE?

My Blueprism version is 7.1.



------------------------------
Carlos Gomez
------------------------------
1 BEST ANSWER

Helpful Answers

John__Carter
Staff
Staff

You can spy the close button using the tab name as a dynamic parameter, something like this (UIA works too):

12277.png

And you can activate an AA tab using the 'default' action:
12278.png

And for UIA it's the Select Item action12279.png



------------------------------
John Carter
Blue Prism
------------------------------

View answer in original post

10 REPLIES 10

John__Carter
Staff
Staff

You can spy the close button using the tab name as a dynamic parameter, something like this (UIA works too):

12277.png

And you can activate an AA tab using the 'default' action:
12278.png

And for UIA it's the Select Item action12279.png



------------------------------
John Carter
Blue Prism
------------------------------

faheemsd
MVP

Dear Carlos Gomez,

You can activate the specific tab and send the GSK with "^w" (ctrl+w).

This will give you exact results for closing the tabs in Edge application.



------------------------------
SYED FAHEEM
RPA Developer
Arab Financial Services
Manama
------------------------------

Hi,

I spied the Tab using this:

12281.jpg

and in the navigation, i use focus and navigation. Is it wrong?

12282.jpg


------------------------------
Carlos Gomez
------------------------------

Thank for your early response.

Yes i use it (see image below), the issue is due the I use a focus first and it generate an error due it loses the map/spied field frequently (I spied the tab with the X) and i have to Re-Spy the tab again.

12292.jpg


------------------------------
Carlos Gomez
------------------------------

Dear Carlos,

If your Browser tab already visible Infront of you then you don't need to spy, you can just activate the application and use Global Mouse Send keys (Preferred).

I could see that your using Global send key events.



------------------------------
SYED FAHEEM
RPA Developer
Arab Financial Services
Manama
------------------------------

Good Afternoon Carlos,

What are the key considerations when working with Modern Browsers in BP 7.X?

I have linked a Blue Prism article above that could be helpeful, it covers many topics on best practices when working with modern browsers. In there there is a section of when to use terminate vs kill and what the difference is. 

I hope this helps as well. 



------------------------------
Angelo Carcagno
------------------------------

Hi Syed,

Do you mean, replace the "FOCUS" with other command?. Could you please send me an screenshot?. I am not sure how activate it before execute the GSK.

Regards 



------------------------------
Carlos Gomez
------------------------------

Thank you!



------------------------------
Carlos Gomez
------------------------------

Dear Carlos,

Drag and Drop the Application Modeler Root name or Target Application name (While creating the application modeler you will be giving the name) on to the Navigation stage and select the Activate Application. After that use the Global Send Keys.



------------------------------
SYED FAHEEM
RPA Lead
Arab Financial Services
Manama
------------------------------