Resolving sudden UIPath Type Into 'client Sales Order': The UiElement is no longer valid

I often experience Type Into ‘client Sales Order’: The UiElement is no longer valid, is there a solution to this? This is the implementation in SAP B1, so the steps start from customer input to item input, in some steps there is a type into, sometimes it stops either writing the date or writing the item number or qty and others related to type into. For the input form image I attach. I also attach an example of the error.


into.

Try to make your selector more universal.

If that doesn’t help, changing the Preferred UI Framework from AA Accessibility to UIA (Right corner of Indicate Element, default is Auto) should help.

Validate first and check if element where you want to type is present using check app state. Then type into.

Seems their is selector issue, open in ui explorer and re-indicate and test the same. Check inner text for the column field and give a try.

@CPermadi

Try settings wait for load complete

as per error looks like the page is refreshing when trying to interact

alternately…in latest activities you have retry option in the activity can use that incombination with wait for load complete

cheers

Here is a screenshot of the properties, does the wait for load complete referred to as WaitForReady?

Thank you for your help. However, I’m still not quite sure what the UI Framework means by switching from AA Accessibility to UIA. Can you provide a screenshot example? I also haven’t found this (the right corner of the Indicate Element, the default is Auto).

@CPermadi

Yes please select complete in it

Cheers

Hi @CPermadi

You can open uiexplorer, then go to options, select Ui frameworks and select one of the options their and test these. (Default, Active Accessibility , UI Automation)