Verifying StatusBar Text in SAP GUI with Robot Framework

Hi everyone,

I’m currently working with SAP GUI and I need to verify the text shown in the StatusBar as part of my test automation using Robot Framework.

I tried installing the robotframework-robosapiens library using the following command:

bash

CopyEdit

pip install robotframework-robosapiens

But I keep getting this error:

pgsql

CopyEdit

ERROR: Could not find a version that satisfies the requirement robosapiens (from versions: none)

I’ve already updated pip, activated a virtual environment, and tried different setups, but the error persists. I also tried cloning the GitHub repo manually, but it seems unavailable (404 or not maintained).


:red_question_mark:My questions:

  1. Has anyone recently managed to successfully install robotframework-robosapiens?

  2. Are there any recommended libraries to scan and identify SAP GUI elements, especially for capturing StatusBar messages?

  3. Have you had success using pywinauto, sapguilibrary, or any other tool to interact with the SAP GUI interface?


Any help or guidance would be greatly appreciated.
Thanks in advance! :folded_hands:

Hi Josefina,

welcome to the forum.

Let’s unwrap your requests. First the questions about general experience:

  1. Yes, just last week I installed robotframework-robosapiens. It’s actively maintained, so it should be fairly easy to install following the instructions.
  2. That I don’t know.
  3. I did not try anything else. RoboSAPiens just worked for me.

Now, about the issues installing robosapiens with pip: The issue almost certainly has nothing to do with RoboSAPiens. pgsqlis no dependency of RoboSAPiens, so it must come from another demand in your project.

404 errors indicate a network issue, since the repo is available and maintained.

Are you maybe in a regulated Windows based environment? What I often see are Microsoft Windows setups highly over regulated by company IT support, which makes it difficult to run other Python environments than the pre-installed system wide environment.
Also, web proxies may be an issue blocking pip from accessing python packaging index. That no version of robotframework-robosapiens is found could be an indicator for a blocking web proxy or firewall.

I hope this helps a bit.

Regards,

Markus

1 Like