6,817 questions
Score of 0
1 answer
118 views
JSON cannot be parsed as the type Int32
When sending a POST on Robot Framework I got this error:
Message: There was an error deserializing the object of type ContentDirect.CoreService.Contract.Message.SubscriberManagement....
Score of 0
2 answers
87 views
Loading variables into JSON
I have a very large JSON file and I need its values to come from variables defined globally in another file. Is it possible to use placeholders in this JSON with names matching those variables so they ...
Score of 1
1 answer
58 views
Robotframework list of dictionary : Why are index and output not correct?
I have this code:
** Variables **
&{Person1} name=Alice age=25 city=New York
&{Person2} name=Bob age=30 city=London
@{PeopleDictList} &{Person1} &{Person2}
@{...
Score of 0
1 answer
37 views
RobotFrameWork Usage example of Group Syntax
The robotframework for Group syntax states:
All groups within a test or a keyword share the same variable namespace. This means that, unlike when using keywords, there is no need to use arguments or ...
Advice
1
vote
4
replies
60
views
Is robot framework able to test that something is *not* happening?
Assume I have a system with a mqtt interface that control some lights (could be home assistant for instance).
So a test case for day operation could be
connect to mqtt broker
publish "DAY" ...
Score of -1
2 answers
138 views
SSH Library Robot framework - remote python script execution
I am using Robot Framework SSH Library - to perform the following operations.
Connect to a remote machine via SSH
Copy a python file into the remote machine. [The python file obtains the process with ...
Score of 0
0 answers
50 views
Pabot.PabotLib | tests open different pages when running in parallel
I am using Robot Framework with Python and the Browser library.
I test a web application. For each test, I create a new browser session, either in the test setup or during the test itself:
Open ...
Score of 1
0 answers
61 views
Why all browsers are executing scripts as headless on windows 11 when I trigger from Jenkins job
I need to run RPA python scripts on on windows11 device ,When I start executing from local machine using pycharm it’s physically browsers are visible.
But when I trigger same code from Jenkins job ...
Score of 0
0 answers
76 views
Robot Framework / Selenium – Chrome doesn’t download JSON file in Docker Bamboo agent
My Robot Framework test fails with:
Keyword 'File Should Exist' failed after retrying 10 times.
The last error was: File '/tmp/downloads/importResults.json' does not exist.
Context
Tests run inside ...
Score of -5
2 answers
122 views
How to use Convert JSON To Dictionary?
How to use Convert JSON To Dictionary?
1.file json is correctly.
2.import library correctly.
The issue is this keyword "Convert JSON To Dictionary" still red error line.
This is error ...
Score of 0
1 answer
123 views
Why Robot Framework's SSHLibrary and Python's Paramiko give different outputs for same command? [duplicate]
In a network device for a script I am building, Robot Framework's SSHLibrary produced the identical result when typing the command manually in the device.
But when writing the code with paramiko:
...
Score of 2
0 answers
114 views
Robot test framework for Rust
I need to generate unit-test and integration-test reports (cargo test command) of a Rust project. To do this I am using RobotFramework. When I try to run cargo test command it fails with an error /usr/...
Score of 2
3 answers
101 views
Robot framework- xpath - how to use translate() function
Robot framework- xpath - how to use translate() function
Consider tc1.robot file as below:
...
*** Test Cases ***
LoginTest
...
sleep 5
click element xpath://input[matches(@...
Score of -2
1 answer
72 views
Unable to download Robot Framework using PIP [duplicate]
I am new in automation testing.
I already installed python. I already checked the python and pip version.
But I am unable to install robot framework using the command prompt.
I am getting an error ...
Score of 0
1 answer
78 views
Error: Invalid data encountered during Robot Framework result import into Xray
I'm trying to synchronize Robot Framework test results that are executed via GitLab CI into Xray, but the import fails with an 'invalid data' error. Could you help identify the root cause or suggest ...