Issue with Use Application: Global Protect

Dear UiPath Community,
I am trying to automate one process, but I am facing an issue trying to do screen scrapping.
The goal is to check if VPN is connected and connect if it is not. The steps are:

  1. Go to Global Protect App (on taskbar):
    image

  2. Clicking and checking if it is connected (GetText):
    image

  3. If it is not connected, clicking button “Connect”
    image

    image

The issue is that when I am clicking on the icon on the taskbar, and i.e. on the button “Connect” UiPath is not recognizing it as the same application:
image

Any idea how to fix it?

Appreciate your help,
Kinga

1 Like

@Kinga_Formela

Are you using a web recorder or you are taking activities from the panel for every action?

Hi Pravin_Patil1,
I am using App Recorder:
image

Just record the steps till connected check (Get Text)

after that take click from activity panel outside of attach browser or attach window and try to indicate

Hi,
we also use Global Protect in our company, but Virtual Machines have been deprived of it, because it makes no sense if the VM is on a server inside the company and must connect to the VPN.

How are you solved on your side that you have to use GP?

Can you post a selector view in Ui Explorer?

I can’t even GetText from the window. I can’t perform any action on this window.

You cannot take any action as it is probably secured. Use the IMAGE click:

image

@Kinga_Formela I’m also using global protect and I’m able to get text.
Kindly check the below Screenshot.

image

Best Regards,
Vrushali

1 Like

@Adrian_Star
It is needed for attended process for now.
Ui Explorer for this item:

I suppose that is an issue: the ctrl name for this element is ‘Connected’ or ‘Not Connected’, but after that, the window name is ‘GlobalProtect’.

Could you please share the .xaml file with me?

@Kinga_Formela I have just used GetText activity to extract the " Connected " text

Unfortunately, it does not work for me.

@Kinga_Formela Cloud you please try with Desktop Recording?

Kindly check the attached workflow. I have just used Desktop Recording

demo.xaml (12.5 KB)

What kind of an error you are getting?

3 Likes

It works perfectly using Desktop Recording. Thanks!
The thing which concerns me now is that when I am opening your file I can see ‘Recording’ button:
image
but when I am opening any of my files I have only ‘App/Web Recorder’:
image
so I can’t use:
image

Can you please tell me why and how to enable it? Ui Path Studio version is the same.

1 Like

@Kinga_Formela I’m using Uipath Studio 2020.10.2 community

1 Like

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