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
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?
Mahesh Suryakant Gote's user avatar
9 votes
3 answers
157 views

Designing an open source test framework without compromising security

Context The robot framework website mentions robotframework-autoitlibrary in its external library listing and it points to http://code.google.com/p/robotframework-autoitlibrary/.And I found a ...
PDHide's user avatar
  • 11k
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....
poc's user avatar
  • 251
8 votes
4 answers
35k views

"Run Keyword And Ignore Error" - what is it useful for?

In Robot Framework, there is a keyword Run Keyword And Ignore Error. From the manual: Runs the given keyword with the given arguments and ignores possible error. This keyword returns two ...
Embedded's user avatar
  • 510
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 ...
Fred's user avatar
  • 201
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 ...
Ernest Mueller's user avatar
6 votes
1 answer
2k views

Debugging tests written with Robot Framework

When isolating a root cause of a failing test written in Python or Java, I use a debugger built in my IDE (e.g., Intellij) to debug it. Is the same possible for Robot tests? Particularly, what's a ...
dzieciou's user avatar
  • 10.5k
6 votes
5 answers
23k views

how to find element by xpath for android appium

Since these nodes don't have ids and text, I have used xpath to find the element but find element fails I have tried different xpaths as below but none work. xpath=//android.view.View[10] xpath=//...
Brian Pai's user avatar
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 (...
earlyadopter's user avatar
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 ...
Arun Ramachandran's user avatar
4 votes
3 answers
6k views

Fitnesse vs Robot

We are choosing what system to start using in our company. it should be used for both backend (REST API, some DB checks) and UI testing it should use a simple language so even non-programmers/tester ...
Radek Skokan's user avatar
4 votes
1 answer
40k views

How to set a value for a variable in Robot framework test case?

Is there any option in Robot framework to set the value of a variable "TRUE" or "FALSE" depending upon a condition ? I want to run a keyword only if a condition is TRUE, i.e. a keyword should run ...
Arun Ramachandran's user avatar
4 votes
2 answers
3k views

Problems with escaping the equals sign in a Watir Robot argument

We're currently using the very lovely Robot Framework for our automation. Unfortunately, we've run into a hitch with the '=' character - we have a number of places in the app where we have a link to ...
testerab's user avatar
  • 5,115
4 votes
2 answers
9k views

How to verify a tooltip text using mouse over in selenium?

I have a test scenario that is to verify a tooltip text on a particular element so I tried to use a Selenium inbuilt keyword "Mouse Over <xpath>" but this doesn't work though the test is passing....
sravan's user avatar
  • 41
4 votes
3 answers
2k views

what is the relation between test plan, test suite and test case?

I have searched a few things about the differences and relations between test plan, test suite and test case and I found out the following picture as a summary: Is my understanding fully right? Is ...
hossein shemshadi's user avatar
4 votes
0 answers
3k views

Jenkins Build Is Hanging

We are using Jenkins for continuous integration. I have already created a Jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine. But now,...
Arun Ramachandran's user avatar
3 votes
4 answers
1k views

As a QA manager, how do I show cost saving from my automation

Just want to give an example: We have regression test suite of 1000 TC. Currently it take 10 people to execute it manually in 10 days. After automation of this suite, lets assume we will need 3 people ...
Joshihere's user avatar
3 votes
2 answers
6k views

Robot framework: best practices for higher-level keywords?

According to Creating user keywords: User keywords can be created in test case files, resource files, and test suite initialization files. So I'm wondering what's the best practice regarding ...
Floella's user avatar
  • 319
3 votes
4 answers
654 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 ...
QA4it's user avatar
  • 1,412
3 votes
4 answers
12k 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 ...
Imran Chowdhury's user avatar
3 votes
1 answer
3k views

Fails with Dictionary has no key even after validating key exists

I have a scenario where I need to do different set of actions depending on dictionary key and value Dictionary can be any of the below &{DICT_VAL_APPLINPUT}= Create Dictionary status=...
AVB's user avatar
  • 33
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. ...
qaautomation2018's user avatar
3 votes
1 answer
11k views

Robot framework not picking up keyword implementation

I'm trying to set up robot on top of an Eclipse Maven-Selenium-TestNG java project I created, but it doesn't seem to be picking up default keywords (I haven't even tried adding my own yet). I have ...
Floella's user avatar
  • 319
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 ...
Onivas's user avatar
  • 81
3 votes
1 answer
653 views

Getting Syntax Error while launching RIDE

I have installed Robot Framework, as well as wxPython 2.8.12.1. After I installed RIDE, and launch RIDE by executing ride.py, I am getting the following error: C:\Python27\Scripts>ride.py ...
Rishikesh's user avatar
  • 885
3 votes
7 answers
27k views

Element is not clickable at this point. Other element would receive the click

The exception is `WebDriverException: Message: Element is not clickable at point (548.xxxxxxxxx, 2xx.5). Other element would receive the click: <span class="regs2" style="" id=&...
Bustaq's user avatar
  • 403
3 votes
2 answers
2k views

Should you add explicit waits for all elements in RobotFramework/Selenium tests or only the ones that fail?

I am learning test automation with Robot framework, using this site for practice: http://automationpractice.com/index.php I know that it is considered a good practice to add waits to make sure the ...
Arthur M.'s user avatar
  • 163
3 votes
5 answers
16k views

How to edit field in Robotframework using Selenium2library

My problem is being unable to enter text in login and password fields in certain page. I would like to know how to be able to enter text in this situation. I have been able to automate entering text ...
Timide's user avatar
  • 306
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']...
Luixv's user avatar
  • 383
2 votes
3 answers
17k 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 ...
Arun Ramachandran's user avatar
2 votes
1 answer
5k views

How can I limit a keyword's execution time without failing?

I am testing an API on a server. When I close the connection from another external computer to that server it takes some amount of time to complete. I want to limit the amount of time my test waits ...
DDay's user avatar
  • 131
2 votes
3 answers
7k views

Robot framework with java: where to put browser driver path?

I'm trying to set up a maven+robot+selenium3+testNG project using Eclipse and java. So far, I've created a maven project and added the dependencies and plugins to its pom.xml so I don't have to ...
Floella's user avatar
  • 319
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!
Luixv's user avatar
  • 383
2 votes
1 answer
1k views

How to fetch username and password from excel one by one to test login functionality in robot framework-selenium-python

I am trying to login to my application one by one using different credentials in robot framework-python-selenium but it is not working. Below is my code. Please suggest. Open Browser ${URL} chrome ...
ADS KUL's user avatar
  • 21
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. ...
Jong Onin's user avatar
  • 331
2 votes
2 answers
5k views

Automation halts when browser popup appears in chrome for robot framework

I am using latest version of chrome 53.0.2785.57 beta-m (64-bit). When I execute my test script, at a point of time when deleting a line item chrome default confirmation popup appears and test fails ...
aakash sahani's user avatar
2 votes
1 answer
400 views

Expecting results in boolean[True/False] but getting status as "None" - Why? How to resolve?

I execute javascript below and it must return True or False and it would do the Run Keyword If the statement is False but what in ${CheckboxStatus} is None, instead of Boolean value True or False. ...
David Eugenio's user avatar
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 ...
Adnan Ghaffar's user avatar
2 votes
1 answer
4k views

"No Keyword with name" error while using AutoIt Library Robot Framework

Got an error encountered "No keyword name" error in AutoIt Library Robot Framework. I installed the AutoIt Library by using pip install and it was successful. I tried to automate input text in the ...
Ru eL's user avatar
  • 21
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 ...
pavelsaman's user avatar
  • 4,538
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 ...
Mack's user avatar
  • 23
2 votes
1 answer
602 views

Are tests written in Robot Framework easy to maintain?

Robot Framework claims to be: a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It has easy-to-use tabular test data syntax and it utilizes ...
dzieciou's user avatar
  • 10.5k
2 votes
3 answers
1k views

Robotframework & Selenium2Library & Python - User sign up test problem (emaill address +n generation)

I am beginner in writing automated tests with robotframework(Python and Selenium2Libraries) and I've faced to the issue related to user registration flow. Challenge is: The application under test ...
Adam's user avatar
  • 21
2 votes
1 answer
3k views

RobotFramework and Blazemeter

Has anyone used RobotFramework to write automated browser tests and then used Blazemeters chrome plugin to record those tests and utilize Blazemeters performance test tools? Is this even possible?
pgtips's user avatar
  • 318
2 votes
1 answer
5k views

Robot Framework data-driven automation testing: Can data derived from a database be used as a data source for a test template?

I am familiar with using template keywords in data-driven Robot Framework testing and know that external sources of data such as text files and csv files can be used to provide test data. However, the ...
user3918800's user avatar
2 votes
1 answer
128 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. ...
rovaru's user avatar
  • 21
2 votes
2 answers
14k views

How to upload a csv file from local machine using robot framework script?

Is there any option in robot framework to upload a csv file ( or any kind of file ) from local machine ? Here is my testing scenario - While clicking on 'Upload file' button a new window will pop ...
Arun Ramachandran's user avatar
2 votes
1 answer
5k views

Can you run Powershell scripts with command line parameters in Robot?

We use Robot Framework to run our tests and we do use the Run command to execute some Powershell scripts to perform some external tasks. This works when we set up the command line parameters in one ...
MichaelF's user avatar
  • 2,353
2 votes
1 answer
3k views

How to start all tests with a clear session after browser crash,

Im using WebDriver and Python to automate a website. I have a suite of tests and sometimes running into the following problem. Test no.1 = Login to home page, navigate to Account page, perform some ...
Haris's user avatar
  • 23
1 vote
1 answer
467 views

How much does robot framework help in terms of employablity? [closed]

I have been learning Robot Framework with python. The basic idea is to make myself more employable. I just started with RF because it was looking interesting but as I started to explore, I found very ...
harinarayan's user avatar