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
8
votes
4answers
17k 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?
8
votes
7answers
994 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....
6
votes
3answers
10k 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 ...
5
votes
1answer
3k 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 ...
4
votes
2answers
3k 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 ...
4
votes
3answers
5k 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 ...
4
votes
4answers
9k 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 (...
4
votes
2answers
2k 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 ...
4
votes
1answer
616 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 ...
4
votes
1answer
30k 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 ...
4
votes
2answers
6k 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....
4
votes
1answer
2k 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 ...
3
votes
4answers
883 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 ...
3
votes
4answers
586 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 ...
3
votes
2answers
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 ...
3
votes
1answer
318 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 ...
3
votes
2answers
3k 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=//...
3
votes
5answers
12k 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 ...
3
votes
0answers
2k views

Jenkins Build Is Hanging

We are using jenkins for the continuous integration. I have already created a jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine. But ...
2
votes
3answers
12k 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 ...
2
votes
3answers
4k 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 ...
2
votes
3answers
9k 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 ...
2
votes
2answers
5k 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!
2
votes
2answers
4k 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 ...
2
votes
2answers
4k 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 ...
2
votes
1answer
331 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. ...
2
votes
2answers
22k 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 ...
2
votes
1answer
1k 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 ...
2
votes
1answer
2k 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. ...
2
votes
1answer
5k 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 ...
2
votes
3answers
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 ...
2
votes
1answer
2k 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?
2
votes
1answer
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 ...
2
votes
6answers
9k 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="...
2
votes
2answers
9k 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 ...
2
votes
1answer
3k 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 ...
2
votes
2answers
8k 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']...
2
votes
2answers
854 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 ...
2
votes
3answers
1k 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 ...
2
votes
1answer
2k 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 ...
1
vote
1answer
415 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 ...
1
vote
2answers
387 views

Jbehave Vs Robot Framework - pros and cons

Which one is the better option for web application testing - JBehave or Robot Framework? Comparison between JBehave and Robot Framewrok.
1
vote
2answers
89 views

How to call a keyword recurvisely in Robot Framework

I have a keyword which checks, if a button value is Completed, once it is found, I want that keyword to stop and return the status. However the the button value Completed is not fixed to any time ...
1
vote
1answer
286 views

Dumping global variables in Robot Framework when a test fails?

I have a doubtful pleasure to work with legacy tests written in Robot Framework that abuse usage of global variables. I would like all global variables to be dumped when the test fails. How can I ...
1
vote
1answer
40 views

How do I put validations or assertions in choosing the particular file format?

I am using Robot Framework with Python and Selenium. I need to verify that files have the correct format: specifically that they are image files (e.g.: .jpg, .jpeg, etc). How do I use validations or ...
1
vote
2answers
3k views

How to interact with material-ui datepicker using Robot Framework/Selenium

The Web application I am currently working on has changed the calendar widget. They are now using the datepicker from the material-ui library. The problem with this widget is that it does not have ...
1
vote
2answers
14k 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
2answers
274 views

What is the best way of separating tests from keywords using RobotFramework?

Our team wants to migrate the tests from QTP. We have the automation flows for UI, API and some database tests. After a long research, I found robotframework would be a nice tool.However as I started ...
1
vote
2answers
13k views

How to get no. of elements with particular 'id' using robot framework?

I am writing an automation test script for our web application using Robot framework and Selenium2Library. One of my test case involves the following scenario. I have to run a particular test case ...
1
vote
2answers
2k views

Robot Framework Integration

We have a project which uses Robot Framework 2.7.7, while we are using HP-QC for Bug tracking. Is it possible to integrate Robot Framework with HP Quality center?