Questions tagged [robotframework]

The Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It is a keyword-driven testing framework that uses tabular test data syntax. The Robot Framework is written in Python.

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Inquiry About the Scroll Bar of the div Tag

While writing automation scripts in Robot Framework, I encountered an issue with the div tag scroll bar that caused data extraction to fail. Below is an HTML example: <div id="box"> &...
Kai Fang's user avatar
0 votes
0 answers
25 views

How to click on svg icon in Robotframework

I need to click on an svg icon but it always gives me an error. Below I detail my code click element xpath=//path[contains(@d,'M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-...
alesandro92's user avatar
0 votes
0 answers
28 views

Issue with chromedriver while running robotframework tests

I get the below error message when I try to run the roboframework tests. Script: def Myfunc(): for element in Group1.copy(): if (str(element)[0:2] == Atype): options = ...
Annsh's user avatar
  • 1
0 votes
1 answer
17 views

Taking a screenshot in robocorp browser timeout error

it's my first time using robocorp so I don't understand what these errors mean... Please help me understand what is causing this error when I try to take a screeenshot using the browser library from ...
Blitz Ritter's user avatar
0 votes
0 answers
34 views

Errno 22: Invalid argument: Robotframework / Python

Issue with creating log file: I am currently running my robot framework script using Python. Once the test suite has been executed, I get the below error message. I see the report is generated but it ...
Annsh's user avatar
  • 1
0 votes
1 answer
39 views

Global instance of class in Robotframework

I have a problem working with the robotframework and since its kind of hard to debug I have trouble to find the core of the problem. Following, I will try to explain my issue with as much detail as ...
cer's user avatar
  • 3
1 vote
0 answers
24 views

No screenshots are displaying in log.html of robot framework

I am using selenium2 library, robot framework in Pycharm. Recently my system has been changed. I am able to get the screenshot in defined screenshot folder but these screenshots are not displaying in ...
ADS KUL's user avatar
  • 43
0 votes
0 answers
14 views

The attachToapplication shows timeout handshake

Integrating squish with robotframework using python library. Creating the test case using attach to application ${autname} ${host} ${port} ${timeout} Shows a timeout expired during hand shake How to ...
AMINE JEBALI's user avatar
0 votes
1 answer
35 views

Test setup for 200 iterations

I'm doing an Android app test with Appium. The test is configured for 200 iterations and is meant to test the process of updating an external hardware component that the app is BT connected to: *** ...
Benni's user avatar
  • 969
0 votes
1 answer
29 views

Xray robot framework integration Jira

I am encountering an issue when attempting to import a Robot Framework execution report in XML format using the Xray API. The API response indicates an error: "Couldn't find generic test type.&...
thearchit3ct's user avatar
0 votes
0 answers
31 views

JPype and robotframework custom keywords

I'm trying to use JPype with Robotframework to be able to use java-based SUTs. I used this (https://forum.robotframework.org/t/connecting-java-with-robot-framework/5253) forum Post to implement it (...
szoszk's user avatar
  • 389
0 votes
0 answers
24 views

Unable to fetch data from HTML table and convert it into Data frame in robot framework with Python

I am trying to fetch data from html table and convert it into dataframe using robot framework. I have created custom keyword to fetch data from data frame locator = xpath://div[@class='virtualized-...
ashwini linge's user avatar
-1 votes
0 answers
44 views

How to upload pdf through robot framework

I am trying to upload one file through robot framework but every time it's showing "invalid argument". Code: Open Browser`http://localhost:8100/` Sleep 1 Set Focus To Element xpath:/html/...
reyansh yadav's user avatar
0 votes
0 answers
26 views

Package capture for robot framework with pyshark

I would like to create two keyword for Robot Framework to capture network traffic. Start Package Capture Stop Package Capture This is the content of networkcapturelibrary.py import pyshark, threading ...
Krisz's user avatar
  • 711
0 votes
0 answers
27 views

How to automate mobile validation box in robot framework?

I am trying to automate mobile number validation box but after entering mobile number and trying to focus on validation triangle button, It's throwing error. Code: #Mobile Set Focus To ...
reyansh yadav's user avatar
0 votes
0 answers
17 views

Execution of Robot Framework tests in Samsung Browser on SauceLabs

I'd like to configure Robot Framework tests to execute them on Samsung browser in SauceLabs. I used the config: Open Application remote_url=${saucelabsUrl} ... platformName=${...
Regenshirm's user avatar
-1 votes
1 answer
32 views

Multiple keywords with name XYZ found. Give the full name of the keyword you want to use - Robot Framework library issue

i am running some tests in RF, via Copado Robotic Framework. When running tests i encounter this error: Multiple keywords with name 'GoTo' found. Give the full name of the keyword you want to use: Or ...
R_Man_91's user avatar
0 votes
1 answer
49 views

How to include bokeh chart into robot framework html report

I try to include a bokeh chart into Robot Framework HTMl report. I use logger.info() from from robot.api import logger to inject the code into the report. I can include a simple html tag like , but ...
Krisz's user avatar
  • 711
0 votes
0 answers
45 views

Page loading in Robot Framework chromedriver is too slow compared to Python selenium

Good day, I ran into issue with Robot Framework RPA.Browser.Selenium, Chrome: Some elements are loading extremely slow (up to 20 seconds per element). I dont believe its related to cache or network ...
sep's user avatar
  • 1
0 votes
0 answers
23 views

how to automate calendar for date of birth by using show date picker in robot framework

I want to automate calendar for date of birth but don't know how to do so. kindly help. [Arguments] ${date_of_birth} Click Element id= xpath:/html/body/ion-modal/app-add-customer-popup/ion-...
reyansh yadav's user avatar
0 votes
0 answers
24 views

Chromedriver lang option in Linux in RobotFramework test

I need to start Chromedriver in Finnish language and below RobotFramework keyword works fine in Windows but not in Linux. Is there other solution than to change Linux system language from English to ...
Tero Hippi's user avatar
0 votes
0 answers
42 views

How can I activate the first line of an element when it is a pane element (UI - win32)?

I should get the first line in the pane activated, but I can't figure out how. Pane The screen has a pane element (/Window/Pane/Pane/Pane[1]/Pane[2]). Clicking pane the application selects the row ...
Taina's user avatar
  • 1
0 votes
1 answer
50 views

Robot framework. Control Linux system on virtualbox doesn't work

I'm tring to run testcase with robotframework but on a remote system on virtualbox. The system is Linux. I downloaded all needed libraries and I always gets error that I can't connect to the remote ...
Teodor's user avatar
  • 21
0 votes
0 answers
36 views

Robot framework can find xpath location on Wikipedia search bar

Im trying to do some simple task on Wikipedia page where I want to input search text on Wikipedia main page (https://en.wikipedia.org/wiki/Main_Page) xpath=//form[@id='searchform']//input[@role='...
Paul Tran's user avatar
-1 votes
1 answer
40 views

Getting "No keyword with name 'Launch Application' found." while trying to execute whitelibrary code in robot framework

I have installed python : Then my pip list are : I have installed white library and try to execute a script with 1 line with Launch Application keyword. Code: But when I try to execute the script I'...
Parama Sivam's user avatar
0 votes
0 answers
12 views

IS there a way to generate allure report from RobotFramework already existing report

I know how to use Allure with RobotFramework as listener, this the obivious way. But, I want ton know if there is a way to generate an allure report from an existing RobotFramewrok Reports? Thank You
Youness Mourtaji's user avatar
0 votes
1 answer
50 views

TypeError: ElementKeywords.press_keys() got an unexpected keyword argument 'keys'

I am using Selenium Library's press keys for my automation testing Line of code: self.web.se_lib.press_keys(locator=xpathLocatorHere, keys=1) I need to press any number in my script but it throws an ...
Mike Beron's user avatar
0 votes
2 answers
97 views

Selenium, Robotframework - Error: WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED

I am using robotframework framework, using selenium and appium. Recently I have been seing issues with chrome, I updated my chrome driver to 118v to match it with the current chrome version I am using....
Annsh's user avatar
  • 1
0 votes
0 answers
21 views

"Get Elements" in robotframework-browser doesn't return references anymore

I have an issue with Get Element keyword in robotframework-browser 17.5.2 version. Before that on our project we used version 16.3.0 and Get Elements keyword returned a list with some references on ...
Dima's user avatar
  • 1
0 votes
0 answers
12 views

How to read force tag label using robot framework?

The application has two types of user with different access. I wrote two test suite for each user. If user1 login then suite1 is executed and if user2 log in then suite2 executed. to achieve this I ...
Maya's user avatar
  • 11
0 votes
1 answer
23 views

only last iteration value is being updated in a dictionary in robot framework

gtx [Arguments] @{crdnvlslst_params_args} ${dictx} Create Dictionary ${dictx_card_vals} Create Dictionary ${lenofcard}= Get Length ${crdnvlslst_params_args} FOR ${...
Gyro Mixes's user avatar
-1 votes
2 answers
78 views

How to convert the result of a query in Robot Framework

I am running below query: ${points} Query select points from table It gives me below result: [(Decimal('357.0000'),)] How to convert above result as float? I would like to compare it to ...
Natalia G's user avatar
0 votes
0 answers
22 views

Running same script in all nodes in a Hub using Robot Framework

I'm working on a load test for an web platform at the moment and I need a way to execute the same test script in all nodes in a Selenium Hub in Docker containers. We use the Robot Framework for our ...
Vini's user avatar
  • 1
1 vote
1 answer
75 views

Unable to access web application from robot framework container using docker compose

I'm using docker-compose for the web application setup and running robot framework in separate docker container within docker-compose version: '3.7' services: frontend: container_name: isp-...
user2439278's user avatar
  • 1,222
2 votes
0 answers
47 views

Discard changes option is not working in my project for some .robot file

I worked on many projects but never ever faced this problem earlier. The problem is that if I click on the discard changes to the file, it automatically changes to its earlier version and shows again. ...
Satyajit Behera's user avatar
0 votes
0 answers
21 views

How to interact with Calendar in Robot Framework?

I am trying to input date of birth in calendar but every time it's showing element is not interactable. I already tried below options. Code: Set Focus To Element xpath:/html/body/ion-modal/app-add-...
reyansh yadav's user avatar
-1 votes
1 answer
76 views

How to change the vlookup function in excel into python script as the picture shown?

I want to turn the vlookup function into python script, but i don't really know how to make it. The attached picture will be the vlookup funciton that I applied in the excel application. The ...
SooHana's user avatar
0 votes
0 answers
26 views

how can i handle single window modal box for angular in robot framework

I am trying to automate a page which open a new window modal on the same screen. I already tried switch to, select window option but still unable to locate the element. can anyone help how can i ...
reyansh yadav's user avatar
1 vote
0 answers
33 views

CumulusCI TaskImportError: Cannot load Python class for task - No module named 'imp'

I'm working with CumulusCI on macOS and running into an issue when trying to run tests. Every time I attempt to run a test with the command cci task run robot -o suites path/to/salesforce.robot, I ...
ana_nymous13's user avatar
-1 votes
0 answers
29 views

stopping a testcase if page contains a word "error" in an element

In one of my test case there's a process where it goes for 1% to 100%. however, sometimes the process fails at 1% or 4% and error is displayed. I want to add a piece of code during this test case that ...
vinay rana's user avatar
0 votes
0 answers
19 views

How to enable Robot framework fixing syntax error in the body response of API

In my API test, I noticed that Robot Framework made some changes in the API response. In fact, the actual result of my API post request is a JSON missing the “}”, but when I run this post request with ...
RNA's user avatar
  • 1
-4 votes
2 answers
104 views

My regular expression for extracting emails from resumes is also extracting phone numbers from these resumes

I created a regular expression to extract emails from resumes. However, it is also extracting phone numbers from these resumes. How can I solve this? Obs: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-...
Paulo Sena's user avatar
0 votes
0 answers
31 views

Unable to select labels from the dropdown under robot framework

I am trying to automate one screen where i am trying to select a label from the dropdown but unable to do so. can anyone help me? my code: *** Settings *** Library SeleniumLibrary *** Variables *** ${...
reyansh yadav's user avatar
0 votes
0 answers
26 views

Robot Framework/Selenium Script Fails to Execute Javascript on Salesforce Page

I am working on automated testing using Robot Framework and Selenium for a Salesforce application. I have scripted a test case to login to Salesforce, navigate to the Opportunities page, and execute a ...
ana_nymous13's user avatar
1 vote
0 answers
50 views

Cannot run any BrowserStack tests through Robot Framework despite the backend running

So I'm trying to run even an example test case from BrowserStack documentation through browserstack-sdk robot ./tests/LocalTest.robot but all I'm getting is a: [browserstack_sdk.__init__][CRITICAL] - ...
Straightfw's user avatar
  • 2,153
0 votes
0 answers
54 views

Facing issue in Data driven testing using excel sheet in eclipse under robot framework

I am trying to automate login page with the help of data driven testing by excel reading but it's throwing the error. kindly help me. enter image description here *** Settings *** Library ...
reyansh yadav's user avatar
0 votes
1 answer
40 views

How to verify a text which contains a <br> tag using Robot Framework

I have the following problem, I need to perform the following check: wait until the page contains... but since it contains a br tag I get an error. How could I verify that the text is visible? example ...
alesandro92's user avatar
0 votes
0 answers
36 views

Data Driven framework with Eclipse in robot framework

I am trying to automate login page with excelsheet approach in which I have set the path resource file and DataDriver but it's showing error. kindly refer attached screenshot. can anyone help me. code:...
reyansh yadav's user avatar
0 votes
0 answers
24 views

ROBOT FRAMEWORK: Does test teardown execute if test case is skipped using robot:skip tag?

I have 4 test cases in test suite. Because of code changes, one of test case is failing. So I am skipping that test case using robot:skip tag. Suite has "Test Teardown" in Setting section. &...
Vikas Piprade's user avatar
0 votes
0 answers
38 views

How to handle Alerts for ionic app in robot framework

I am trying to automate login page of an ionic app but after click on login button it's showing "bad credentials". I know how to handle pop up alerts but I don't know how to handle these ...
reyansh yadav's user avatar

1
2 3 4 5
137