Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [robotframework]

Robot Framework is an open-source test automation framework for acceptance testing and ATDD (acceptance test driven development).

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Robot framework keyword hierarchy

Hi I have one problem with organizing robot keywords. I have some high level keywords which should be used directly in Test Cases and the I have lower level keywords which should not be used directly ...
0 votes
0 answers
22 views

How to download multiple files in local system using POST API request in robot framework rather than in binary form data

I struck in one scenario in which i need to download multiple files in local repository using POST API request in robot framework. I tried below code but not able to resolve the issue. ${headers}= ...
0 votes
1 answer
1k views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?
0 votes
1 answer
1k views

How to paste the text to the next line using Robot Framework?

I have copied some text from the website and then pasted it into the text file. And also I did the same thing to paste the second text using the "Append To File" keyword. I want to paste the ...
1 vote
1 answer
286 views

Robot Framework - Best keyword to tab off an element

I am using Robot Framework and Selenium and have a drop down combo element that I need to focus on and tab off in order to fire a validation message. I cannot use Press Keys or Click Element as it ...
0 votes
0 answers
23 views

Keyword hierarchy in robot framework

I would like to ask, what is the best way to organize keywords in robot framework. I am using robot framework to test backend application using rest interface. I have multiple keywords stored in robot ...
-1 votes
2 answers
2k views

How to get incremental xpath for newly added rows in webtable using robot framework-python-selenium

I came across a certain requirement. There is a web table where new rows are added daily.I want to write an automation script in Robot Framework-Python-Selenium-Eclipse-RedEditor Plugin. Right now, I ...
1 vote
1 answer
4k views

Unable to handle Google Authentication pop up window in robot framework test case

I am having a problem on handling google authentication pop up window in robot framework. The process I want to automate is - When a button( Sign in with google) is clicked , google authentication ...
0 votes
0 answers
33 views

keywords missing after install robotframework-autoitlibrary

I followed the steps below to install robotframework-autoitlibrary 1.Open cmd in "Run as administrator" mode 2.run the command pip install robotframework-autoitlibrary 3.Now clone the autoit ...
-1 votes
2 answers
182 views

Unit Testing and Integration Testing with Robot and Cucumber

I understand that both frameworks are great for acceptance testing but how hard or more complex is writing lower level tests such as integration tests or unit tests using the mentioned frameworks when ...
0 votes
2 answers
4k views

Robotframework installation - keyword not found error

I have set up robotframework on my machine and I have installed all necessary plugin and using Pycharm as IDE. But I am getting keyword not found error and also SeleniumLibrary library which I have ...
3 votes
4 answers
13k views

Wait for a random time with robot selenium 2 library

After submitting a POST request with a button click from a webpage, I want to wait for 60 seconds and click a link on that same page. The wait for 60 seconds part, is that possible to implement with ...
0 votes
0 answers
2k views

Robot Framework how to set a variable in an xpath?

Trying to set a variable in an xpath that I can then replace the text in for a dropdown menu. Not sure if there is a better way to do this I have tried "Replace Variables" also from the ...
2 votes
4 answers
29k views

ROBOT FRAMEWORK: [Error] Parsing ___.robot failed: Data source does not exist

I just setup Robot Framework yesterday. I went to YouTube to see some videos on how to set up and I found one that was just uploaded last month. I follow all the steps and I numbered it below. ...
1 vote
2 answers
1k views

How to store Value returned from 1st keyword and then using that value in another keywords without running the 1st keyword again in robot framework

I struck in one problem in which I want to store Value returned from 1st keyword in variable during initial run and then using that variable in another keywords without running the 1st keyword again . ...
2 votes
1 answer
1k views

Eclipse and RED (Robot Editor) won't open files in Robot project - NullPointerException

I have a project in Robot framework. I use Eclipse version 2019-09 R (4.13.0), Build id: 20190917-1200 for editing and writing tests. I also use RED version 0.8.13.201907181006. Whenever I try to open ...
0 votes
0 answers
314 views

How to test RobotFramework test library using mock objects

I have created a RobotFramework test library in Python. It internally utilizes paramiko and paramiko-expect packages to connect to various *nix hosts and execute Unix commands. I have been reading ...
1 vote
1 answer
849 views

Automation Testing the python code for Autonomous Driving Environment?

I'm currently working on automation testing for a python code in the environment of Autonomous Car Company, is Robot Framework suitable for that? Else, which is the best suited test framework for ...
3 votes
2 answers
5k views

'ESC' key in Robot Framework

I am automating a JS process running on a web page. If I click 'ESC key', my main page loads. I am trying to automate using Robot Framework and Python. I checked Press Key \27 but its not working. ...
1 vote
1 answer
732 views

Integration for Hadoop using Robot Framework

Is there any library that I can use to integrate Hive/Impala/Spark scripts using Robot Framework? I tried using pyodbc, but it forces to connect to SQL Server: *** Settings *** Library ...
-1 votes
1 answer
50 views

Is it must to learn RPA tools apart from web automation tools like Selenium?

I see many testers learning RPA tools like UI Path etc apart from Selenium, UFT etc. Is it necessary for a Test Automation engineer to learn about process Automation tools? Or is just Automation of ...
0 votes
1 answer
456 views

Is possible to count tags only in concrete part of page using robot framework and selenium library?

im tring to create solution for dynamic page, where is table that can have 2 or more rows and in every row will be some element i need to interact with. I plan to use loop, but firs of all i need to ...
0 votes
0 answers
101 views

check video playback on Mobile App

I am working on a hybrid mobile app (React native) automated testing project using robot framework and Appium, i'm looking for a way to test videos streaming. Is there a way to test if the video ...
0 votes
2 answers
39k views

How I can verify Text is present or not in robot framework?

I am trying to use the following syntax but can anyone tell me how I can use this as an example? Element Should Contain locator, expected, message=
2 votes
2 answers
10k views

Robot Framework/Selenium - Having trouble with dropdown lists

I know its a common question, but bear with me, as I really have no idea how to even solve this. I need my robotframework code to click on a dropdown list. So the html code for the desired list on ...
0 votes
1 answer
3k views

Assigning keyword return value to variable not working in Robot Framework

I have the following Robot Framework keyword, designed to get the full path of the "Downloads" directory in Windows: Get Download Directory ${user_home_dir}= Get Environment Variable ...
0 votes
1 answer
2k views

Getting Windows download directory path in Robot Framework

I have a Robot Framework test case that makes use of the following variable: ${download_dir} C:\\users\\myProfile\\Downloads How can I change this so that it always points to the Downloads folder ...
0 votes
0 answers
197 views

Robot Framework UI Test Fails Due to CSRF

Recently our devs implemented a CSRF protection, and then my scripts (web ui) started to fail one by one. I looked into it and it's getting this error on console Access to XMLHttpRequest at 'https://...
1 vote
0 answers
310 views

RobotFramework AutoItLibrary.Run test case passing, but no window shown

I have Python 3.7.0, Robot Framework 3.2.2, and AutoItLibrary 1.2.7 installed. I have the following test case to simply run an app I have developed in .NET: *** Settings *** Library ...
0 votes
1 answer
3k views

Can't import AutoItLibrary in RIDE/Robot Framework

I have Python 3.7.0, Robot Framework 3.2.2 and RIDE 1.7.4.2 installed on Windows 10. I want to use the AutoItLibrary with RobotFramework. I have installed it as follows: pip install robotframework-...
0 votes
1 answer
7k views

How to install chrome-webdriver on GitLab CI/CD

I am trying to do some tests using GitLab CI/CD and Robot Framework, I have this simple .robot file: *** Settings *** # Declare Libraries Library SeleniumLibrary # Declare Suite Setup and Teardown ...
2 votes
1 answer
130 views

Robotframework/Selenium/IEDriver - Tests fails at times with [object error] error message

I am using robotframework to perform web automation using IE11 and seleniumlibrary. It runs on windows 10 workstations. I use IE driver 3.14.0 32-bit as it allows to run scripts when screen is locked. ...
7 votes
2 answers
4k views

How to run tests in parallel using Robot Framework Maven plugin?

I'm using the Robot Framework Maven plugin to execute my Robot Framework scripts. I'm using this plugin because some of my keywords are implemented in Java and packaged inside an external library. I ...
9 votes
4 answers
25k views

TestNG vs Robot Framework - pros and cons

What are the pros and cons of using Robot Framework with selenium2Library (webdriver). Which one is the better option for web application testing - TestNG or Robot Framework?
1 vote
2 answers
1k views

Is there any way to run test cases on different browser at once in robotframework using Ride

*** Settings *** Library SeleniumLibrary *** Variables *** ${url} https://www.youtube.com/ ${browser} chrome *** Test Cases *** Search [Template] Open Browser $...
1 vote
1 answer
310 views

Unable to locate element in search dialog box

I have opened a search dialog box with the help of robot class but now I am trying to enter the text in that search dialog box but it is not entering the text with help of robot keypress. The source ...
0 votes
1 answer
316 views

Testing Windows applications with RIDE Robot Framework and Appium?

I have Robot Framework and the RIDE IDE installed. I have tried the Selenium library with RIDE, and works for testing web interfaces. I now want to test Windows Applications. Is it possible to test ...
3 votes
2 answers
6k views

Failed to start new browser session: Error while launching browser + selenium + robotframework

I'm using robotframework+seleniumlibrary and I often got the following error when I launch test cases Failed to start new browser session: Error while launching browser I'm connected by "ssh -X ...
9 votes
7 answers
1k views

Recommend Automated test tools for cross platform including IE and .NET software

I'm working in an QA team. We do the automated work from the scratch. So many testing methods may be anti-pattern or disobey some discipline. We pay lots of effort on test web pages on our products....
2 votes
2 answers
34k views

How to use Run Keyword If in Robot Framework

I want to run Keyword if Element is visible. E.g I want to check that if a button is visible on the page then run particular Keyword. Below is my code. Create button is Keyword and want to run if ...
3 votes
3 answers
17k views

How to know if a checkbox is selected when using robot framework

I am using robot framework. How can I test if a checkbox is selected? I want to run a keyword if a checkbox is selected like: ${checked} = Checkbox Should Not Be Selected xpath=.//*[@id='0,1,1,6']...
5 votes
4 answers
12k views

Are there ready solutions for saving robot framework test results into a database?

I like the level of details and more or less how they look like — report.html and log.html files created as a result of selenium/robot tests run. What I don't like is if I run pybot several times (...
2 votes
2 answers
6k views

Robot Framework and Browser support

Has the robot framework support for IExplorer or only for Firefox and Chrome? (If yes, how to configure it?) Thanks!
3 votes
4 answers
655 views

Robot framework installation

I want to learn robot framework with java and python, but not sure how to use this?. I searched over the net but did not get steps to instal robot framework. I installed only selenium2library file in ...
5 votes
1 answer
9k views

Handling different input fields using Robot Framework

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in .txt format) I am having a problem on handling two ...
2 votes
3 answers
18k views

How to find the CSS style attribute of a particular HTML element using Robot Framework?

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application. One of my test cases involves checking the CSS style attribute of an HTML tag. Is ...
1 vote
2 answers
19k views

RobotFramework: Global variables which change only locally

In the root of the test directory, I have this setting.robot file which includes the global variables used in all test suites and test cases. This file has been used as resource in all test cases: ***...
6 votes
2 answers
6k views

How to automate UI testing of an app using a Google login

We are using a testing framework composed of robot-framework with ExtendedSelenium2Library that our developers are using to write acceptance tests. Our Web site has several auth options, including ...
1 vote
2 answers
10k views

How to select few text lines using Robot Framework?

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application ( in .txt format ). One of my test cases involves to select few lines of text from ...
0 votes
1 answer
2k views

How to fetch tool tip data which comes from java script in chart using selenium?

Hi I am looking to get Tool tips for this chart - Donut chart. I tried lot of variation to have tool tips but Its look like its coming from JavaScript so I am not able to get it.