Changing this setting worked for me on a very similar problem I was having.
Having the same issue, and it bumped on me often.
It really seems like having something to do with cache.
For example, I was having a very simple automation to open a browser (Mozilla Firefox), it works for one whole day and several hours the next day morning, and then suddenly it crashed to this error. When I cleared Mozilla cache, it all worked fine.
Hoping there is better explanation on this
I’m having the same problem.
Changing my browser settings isn’t an option.
Is there an explanation for this problem already? I’m using a professional version of UiPath.
This one did it for me. Very nice! =)
Has anyone figured out a solution to this, other than changing the browser settings?
I am facing similar issue in “Type Into” activity in a web automation project. Current selector has been working well all this while and now fails sporadically (may work fine or may not if I try running the automation job in the next attempt)
Message: The UiElement is no longer valid
Source: Invoke - Customer Forms: Invoke- OpenCustomerForm: Type into 'INPUT - Email
Exception Type: InvalidUiElementException
UiPath.Core.InvalidUiElementException: The UiElement is no longer valid —> System.Runtime.InteropServices.COMException: Invalid UI node.
_ at UiPath.UiNodeClass.WriteText(String text, UiInputMethod inputMethod)_
_ at UiPath.Core.UiElement.WriteText(String text, InputMethod method)_
_ — End of inner exception stack trace —_
_ at UiPath.Core.Activities.InvokeWorkflowFile.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)_
_ at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)_
_ at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)_
Selector in use:
Upath version: 16.2.6274.33252.
Any help will be greatly appreciated.
Use uiexplorer to get exact selector.
We can use 2 methods to make selectors dynamic:
Adding wildcards characters in selectors
Asterisk (*) – replaces one or more characters
Question mark (?) – replaces a single character
Refer the below link
Hi @arivu96 ,
I have not still undertood it!
I open an app and was able to selected the text and change it for a new value stored in a variable.
Therefore, when i tried do it again i have the following message: “Type into ‘billing.exe WIP’ : The UiElement is no longer valid”
Do you have any idea about to solve it?
Same problem. As long as selectors are essentials in such automation loosing UiElement in web browser makes UiPath unreliable tool.
Why is this happen?
Can you please explain your situation ? I have been using the UiPath nearly 7 moths. I didn’t meet this situation. I have done so many robot projects in web and window. I try to solve your problem… Here you have many people to help you.
Mainly my robot is loosing track of the element. I have tried setting “Never” in “Website Data Settings” > “Check for newer versions of stored pages” (IE 11) as others recommended and will see if this help.
I need simply to download a file and its crash, one day I set it and everything is ok but the other day I need to show UI Path the element again. After logging, I need to choose an element (called token in inspector) which is a piece of image. In selector it is …=IMG’>, have tried multiple solutions and each seems to be unreliable.
There are more problems along the way but the biggest is that each day it needs some sort of the elements to be pinpointed again.
I understand the concept . But I need more detail . Can you share some screen shots or a link to analysis .
or share the selector.
Same issue please help…
The token I told you changes in periodically. At now it doesn’t shows up so as long as process is set “continue on error” this part works. But I show you latter I want to compare links.
I cannot set in settings “Never” in “Website Data Settings” > “Check for newer versions of stored pages”
because one of the pages doesn’t want to start showing dialog: “Link expired”.
Also I have problem with choosing the folder to “save as…” UiPath is sometimes loosing track of the “ToolbarWindows32” but if its not it doesnt want to open the path after “type into” showing “cannot opent this location with this program. Try to use different location”. Maybe because I want to save it in NAS. No idea.
It is in Polish
Here you are balupad14.
Image identificator looked the same two days ealier;
img style=“width: 500px; height: 100px;” alt=“Jesteś agentem/pośrednikiem lub pracownikiem TUiR WARTA lub pracownikiem TUnŻ WARTA? (Logowanie przez identyfikator zamiast tokena)” src="/image/image_gallery?uuid=7ef2cdaf-ca06-4db9-b2ef-8b377ce03526&groupId=10157&t=1365753151523"
In UiPath the selector looks like this
first I come to the download path. Instead of navigating the folder . you can specify the path directly.
You have an custom activity called “Download File” to download the file into the folder. that I have mention here. Normally we don’t navigate the directory to save the file.
Note : in the filepath property you have specify the full path like “C:\temp\4221525.xlsx”
The second one. I am not sure , It will not show like as you mentioned. May be site can be updated. But I want to know the purpose of this. Are you trying to get link ?.
Still you are facing problem ?
I can able to find out the site that you are trying.
So I need to rewrite the URL i this field? I cannot simply copy it and paste. Moreover I need to login to this link first everytime before I download it. Second The file is changing over a period of time. It is a great idea but i don’t believe its gonna work…
I´ve faced the same issue “UiElement is no longer valid”.
My solution was to increase “DelayBefore” for particular activity … (in my case it was “Click”)
What does this change indicate?