ui-automationrpasap-gui

Test automation : element recognition differs in 2 SAP environments


We have automated tests on SAP GUI 770 using Ranorex on a SAP integration environment ; everything works well and our automation software is able to identify the different interface elements (all elements have unique IDs) :

SAP Environment 1 : the recognition works, we are able to identify the text fields with their unique names:

SAP Environment 1 : the recognition works, we are able to identify the text fields with their unique names

However, when switching to the 2nd environment, the automation software is unable to recognize the elements, making it impossible to reuse the automated tests (all elements have generic names).

SAP Environment 2 : the recognition does not work, all fields have generic "TextField" names instead of unique ones

SAP Environment 2 : the recognition does not work, all fields have generic "TextField" names instead of unique ones

Both SAP environments are accessed from the same computer, with the same user, with the same security roles.

Is there some setting that we need to change ?

I tried :


Solution

  • Solved !

    The connection must be set to High-Speed Connection instead of Low for Ranorex to work.

    https://help.sap.com/docs/sap_gui_for_windows/63bd20104af84112973ad59590645513/a9b4964a706546a5acde1c25b81d3c7d.html