# Error Get Element

**URL:** <https://discourse.openiap.io/t/error-get-element/710>\
**Category:** OpenRPA\
**Created:** [August 1, 2023, 8:03am UTC](https://discourse.openiap.io/t/error-get-element/710 "2023-08-01T08:03:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alba](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@Alba](https://discourse.openiap.io/u/Alba)\
**Post date:** [August 1, 2023, 8:03am UTC](https://discourse.openiap.io/t/error-get-element/710/1 "2023-08-01T08:03:28Z")

</div>

Hi all,

We have a problem with a “get element”, when we program the element run correctly and recognize the element. But when it is executed it works randomly, the get element is the following

[  
{  
“filename”: “%windir%\Explorer.EXE”,  
“processname”: “explorer”,  
“arguments”: “”,  
“Selector”: “Windows”,  
“search\_descendants”: “True”,  
“mouse\_over\_search”: “False”  
},  
{  
“ClassName”: “Shell\_TrayWnd”,  
“ControlType”: “Pane”,  
“FrameworkId”: “Win32”  
},  
{  
“Name”: “_Connecting_”,  
“ControlType”: “Button”,  
“AutomationId”: “Item\*”,  
“FrameworkId”: “Win32”  
}  
]

In this we are looking for a vpn icon in the bottom bar of windows when it is in the connecting state.

How can i fix this ramdom error?

Thanks for all  
Alba

---

<div class="post-metadata">

**Author:** ![yashshah](https://discourse.openiap.io/user_avatar/discourse.openiap.io/yashshah/32/2388_2.png) [@yashshah](https://discourse.openiap.io/u/yashshah)\
**Post date:** [August 1, 2023, 8:05am UTC](https://discourse.openiap.io/t/error-get-element/710/2 "2023-08-01T08:05:33Z")

</div>

> [@Alba](#):
>
> are looking for a vpn

Try to run openrpa using admin some applications(like VPN) have higher lvl permission. and openrpa might not have that lvl of permission

---

<div class="post-metadata">

**Author:** ![yashshah](https://discourse.openiap.io/user_avatar/discourse.openiap.io/yashshah/32/2388_2.png) [@yashshah](https://discourse.openiap.io/u/yashshah)\
**Post date:** [August 1, 2023, 8:06am UTC](https://discourse.openiap.io/t/error-get-element/710/3 "2023-08-01T08:06:51Z")

</div>

Please make sure the clear cache parameter is true in get element activity  
 ![image](https://discourse.openiap.io/uploads/default/original/1X/9a9a4168a811376289f532c3998cb94298734578.png)

---

<div class="post-metadata">

**Author:** ![Alba](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@Alba](https://discourse.openiap.io/u/Alba)\
**Post date:** [August 1, 2023, 9:59am UTC](https://discourse.openiap.io/t/error-get-element/710/4 "2023-08-01T09:59:57Z")

</div>

Thanks for your quickly response, we put the clearcache parameter to true and continue with the same error.

---

<div class="post-metadata">

**Author:** ![yashshah](https://discourse.openiap.io/user_avatar/discourse.openiap.io/yashshah/32/2388_2.png) [@yashshah](https://discourse.openiap.io/u/yashshah)\
**Post date:** [August 1, 2023, 10:02am UTC](https://discourse.openiap.io/t/error-get-element/710/5 "2023-08-01T10:02:23Z")

</div>

possible to send screenshot of where you want to click?also can you try set “search\_descendants” to “False” in selector

---

<div class="post-metadata">

**Author:** ![Alba](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@Alba](https://discourse.openiap.io/u/Alba)\
**Post date:** [August 1, 2023, 10:40am UTC](https://discourse.openiap.io/t/error-get-element/710/6 "2023-08-01T10:40:37Z")

</div>

Thanks, we change the “search\_descendants” but continues without found the icon.

Attached you can found the screenshot with the icon we can try found.  
 ![image](https://discourse.openiap.io/uploads/default/original/1X/e3777358702a56101d38bb8b1a13284db976b396.png)

Thanks a lot for all

---

<div class="post-metadata">

**Author:** ![Alba](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/a/ea666f/32.png) [@Alba](https://discourse.openiap.io/u/Alba)\
**Post date:** [August 1, 2023, 10:46am UTC](https://discourse.openiap.io/t/error-get-element/710/7 "2023-08-01T10:46:41Z")

</div>

In addition, when we try to select again the result selector is the same as the one i pasted here, but it works.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [August 8, 2023, 10:47am UTC](https://discourse.openiap.io/t/error-get-element/710/8 "2023-08-08T10:47:29Z")

</div>

Closed on August 8, 2023, 10:47am UTC

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