I was using Automation in Windows Legacy Framework.Where my SAP activities worked properly.After a while i converted windows legacy to windows framework.
Post which when i am testing the robot.I am geting an error “Value doesnot fall in expected range”.For Some of the Select SAP Menu Item Activity across the Process.Tried validating the selectors they remain same.
Could Someone help with this please?
Can you run in debug mode and check the inner exception details from locals panel…that might give you more info on what exactly failed…and the error is not because of selector…but might be because of the value your are trying to pass or use
On trying in debug mode there is not much information available it says only "System.Argument Exception : Value doesnot fall in expected range ".I checked the arguments as well everything looks as expected.
Not sure where it went wrong.Any further ideas or inputs?
It is failing at Select SAP Menu Activity(I tried continue on error to bypass )
But there should be a way to get this fixed.
Attached the screenshot if you can find something.
I see that the SAP Select Menu Item activity is used on what seems to be a simple ComboBox element, for this use case a simple Select Item activity should be the correct approach.
The SAP Select Menu Item activity is designed to be used for SAP Menus and Toolbars such as these:
Yes it’s working but Not stable if I have 20 IDOC to process its mange to click maybe 5 then fail for the next 2 then again manage to click 2 or 3 then fail again with the same error.
I am using the Select SAP menu Activity. This activity is not Stable it has been working fine for last 8 months and now suddenly it has stopped working.
The Button is there
its very visible and active, but robot throws an error saying "Exception MSG: Value does not fall within the expected range. Source–Select Menu Item click > Replace IDC"
It’s not happening with all cases but if have 50 Cases then almost 10 cases fail because of this error. You can refer to the screenshots I have provided earlier.
Lets use a proper wording. “the activity is working for 8 months” - means it is stable and reliable. If you are not changing nothing on UiPath side and the automation starts breaking I would seach for the source of troubles on SAP side. Just to make super clear!
In the case above I may think about some kind of synchronisation issue, SAP is not responding in proper time, the data are not loaded. Think exactly about the time when it is happening. It his after 10 documents, or always after 20? what is the behaviour of SAP if the processing is super fast. Please investigate in this area.