Get Text: The UiElement is no longer valid

Hmm

As you said it is working for sometime and not for sometimes

Let us try upgrading the UIAutomation package and give a try

Go to design tab → manage packages-> all packages → UIAutomation package → upgrade it

Cheers @Shinjid

1 Like

Yes, but to make sure, I added an Attach window first for head level selector and validation.

Thanks. I’ll try this

1 Like

Alongside
When you are keeping in retry scope make sure the get text activity has property like None in WaitForReady

@Shinjid

1 Like

So I’ve decided to Remove the Get Text Activity and just add the steps for changing it to Save as PDF. But since it uses the same selector, the problem still exists. So far, the steps I did are:

  1. Add Click Activities(for changing to Save as PDF) in a retry scope.
  2. Update UiAutomation to a higher version to 21.4.3(The machine uses a lower version of UiPath)
  3. Change Wait for Ready to None.

The problem doesn’t seem to show anymore, but I tend to get an “Invalid UI node” error instead. I’m using edge browser for this one.