Click text activity problems

Hello guys. So I have a strange problem that I cant figure out how to solve. I have a workflow, that includes a get text activity. The thing is, that one day, after like over a year of working non stop it has stopped working. It doesnt find the text, even tho it is present in front of the screen. When i tried to replicate the same workflow on another computer it works just fine (i just copy pasted from the original PC to another to see if it would work). Packages are up to date on both computers, they are on the newest version.

The error that I keep getting:

UiPath.Core.Activities.TextNotFoundException: Text was not found   at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
--- End of stack trace from previous location ---
   at UiPath.UIAutomationNext.Activities.NApplicationCard.OnFault(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
   at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hi @Povilas_Jonikas

Please try to grab the selector again , test it , compare it with the version of the package which is working .
Also try to use the Modern activities instead of classic while selecting the activities .
Hope it helps.

1 Like

Thanks for the answer @Kanak_Lata_Singh,

After comparison of the selectors, they seem identical (Left one is working, right one is not)

What about modern activities? Which one is similar to the classical “Click Text” activity?

Hi @Povilas_Jonikas

Please refer below .
The first one highlighted is Click Activity in Modern activities .

You can choose the selector again , and publish the package again in both the machines , and check again.
Hope it helps.

Thanks, this worked :slight_smile:

1 Like

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