Question

Not able to detect object in SAP even if selector is correct

  • 24 April 2023
  • 2 replies
  • 151 views

Badge +1

I am automating SAP desktop application. 

I am using if condition to check if object exists and if it does then extract the required information.

But this if condition is failing to detect the object sometimes even when the object is present, other times it is working ok.

what could be the possible reason for this? And how can I resolve this issue?

 


2 replies

Userlevel 5
Badge +9

@vrushali 4099 

Verify if you meet the following requirements:

 Enabling Scripting on the Client Side,

 Enabling Scripting on the Server Side, and 

Enabling Accessibility settings.

Ref: 

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/cloud-sap_action.html

 

Regards

Badge +1

@Raul Jaimes All the requirements mentioned are in place. This is intermittent issue; code is working 80% of the time. It is failing 20% of the times. That too when selector is available and correct

Reply