Category : robotframework

I have written a test case using Robot Framework & Selenium Library to open chrome://webrtc-internals/ URL in headless chrome browser. Those of you who don’t know what webRTC internals is please read this : https://webrtc.org/. Now coming back to the problem my test case executes successfully on my local machine (Both headless/non-headless mode). But when ..

Read more

I am getting the below error while running the robot file in a docker self hosted environment in ubuntu 20.04 LTS [ ERROR ] Error in file ‘/usr/src/project/tasks.robot’ on line 3: Importing library ‘RPA.Browser.Selenium’ failed: ModuleNotFoundError: No module named ‘RPA’ Traceback (most recent call last): None PYTHONPATH: /usr/local/bin /usr/lib/python36.zip /usr/lib/python3.6 /usr/lib/python3.6/lib-dynload /usr/local/lib/python3.6/dist-packages /usr/lib/python3/dist-packages Source: Docker ..

Read more

I’ve checked the official documentation of robotframework-docker library, and they mentioned an example in it – example.robot *** Settings *** Documentation DockerComposeLibrary tests. Library DockerComposeLibrary Library RequestsLibrary Test Setup Docker Compose Up Test Teardown Docker Compose Down *** Test Cases *** Start Apache Web Server ${service} = Get Exposed Service httpd 80 Log To Console ..

Read more

For some reason, I’m not able to execute a Robot Framework test case in a docker container using Firefox. I’ve already tried many different versions for the geckodriver, but the result is always the same: "TimeoutException: Message: Connection refused (os error 111)". Obs.: with Chrome (no-sanbox), it works fine. Any clue about how to solve ..

Read more

I am using Robot Framework with FlaUI library to GUI-test WPF and WinForms applications, it works fine on Windows 10, I can see as the test scripts open the tested application and do the test steps. But is it possible to do this in a Windows or Linux container, for example in headless mode? Source: ..

Read more

Below is the test case that I am trying to execute inside the docker container. Login To GUI [Documentation] To open GUI and login with valid credentials ${chrome_options}= Evaluate sys.modules[‘selenium.webdriver’].ChromeOptions() sys, selenium.webdriver Call Method ${chrome_options} add_argument –no-sandbox Call Method ${chrome_options} add_argument –headless Call Method ${chrome_options} add_argument –disable-dev-shm-usage Call Method ${chrome_options} add_argument –ignore-certificate-errors-spki-list Call Method ${chrome_options} ..

Read more