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
1
vote
1answer
31 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 ...
0
votes
2answers
33 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 ...
0
votes
2answers
82 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 ...
1
vote
2answers
289 views

Not able to reference value of variable in Robot Framework

In Robot Framework, I want to reference the value of a variable, I had set earlier. But when I reference the value by: xpath= //*[text()=\${uid}] I do not get the value of the variable uid but ...
2
votes
6answers
8k 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
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']...
0
votes
1answer
58 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 ...
0
votes
1answer
2k views

PROTRACTOR: Right click on link and open in NEW TAB

TestCase: Right click on link element and open in NEW TAB or NEW WINDOW. I could able to right click on the element using the below code . BUT NOT SURE HOW TO SELECT THE OPTION OF "OPEN Link in NEW ...
0
votes
2answers
2k views

Automation Using iframe

As of now I am working on automation of iframes using Robot framework but I am not able to input text. Current Frame Contains xpath=//iframe[contains(@id,'sq-card-number')] NONE #Frame Should ...
0
votes
1answer
206 views

Escape character issue in “run keyword if” in Robot Framework

This script is not working as the string contains single quotes (') and double quotes (") and comparing the string is not working in this case. ${Key1}= set variable It\'s in \"Detailing\": ...
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 ...
0
votes
2answers
133 views

Comparing data from from a webservice response with data that is in the database

I am automating testing web services in robot framework RIDE and I am getting the response I am expecting and saving the response to variables. So I would like advice on how to go about comparing the ...
0
votes
1answer
1k views

How to run Robotframework test cases in a particular order from different suites?

We have at least ten test suites each having at least 10 test cases. I would like to know if there is a way to run selected tests from each of the suites in an order I would like? For example with ...
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
1answer
2k 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=//...
-1
votes
1answer
39 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
1answer
80 views

Can't find element locator

I have created this Keyword: Validate Header Wait Until Page Contains id=outputtext-text-Header:ApplicationHeaderCoachView1:ApplicationHeaderCoachViewInner1:Output_Text1 Element Should Be ...
8
votes
4answers
16k 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
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
votes
2answers
399 views

How to deal with pop up window?

The process I want to automate is - When a button (Sign in on https://www.happyeasygo.com/) is clicked pop up window appears to login. Then I have to enter my username: Script * Settings Library ...
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 ...
2
votes
2answers
21k 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
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. ...
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
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 ...
1
vote
1answer
257 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 ...
3
votes
4answers
580 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 ...
0
votes
0answers
70 views

Couldn't find iframe on test case

I have this test case: Select Frame id=coach_frame63454108.cf1 Wait Until Element Is Visible ${ap.gui.header.appname} Page Should Contain Element ${ap.gui.header.appname} Page ...
3
votes
1answer
281 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 ...
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 ...
1
vote
0answers
338 views

Attach Existing browser session in SeleniumLibrary RobotFramework

I have an LDAP alert box that pops up as soon as the browser is opened. I am Using Robotframework with the seleniumlibrary for my automation scripts.The issue is that the execution of the script ...
1
vote
2answers
269 views

Selenium screenshots not visible in Robot Framework HTML log file when executing with pabot

I'm having trouble with Selenium screenshots when using pabot to run my tests. They're simply not visible in the HTML log file as seen in the example below (only a dot is appearing) : The HTML log ...
-1
votes
1answer
6k views

No keyword with name found error when running a script where resources are separate [closed]

I'm fairly new to automation and I've been doing some training on Pycharm. My problem is that my script is failing due to 'No keyword with name 'Common.Begin Web Test' found.' when I separate the ...
0
votes
2answers
4k 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 ...
3
votes
5answers
11k 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 ...
0
votes
1answer
2k views

Getting Invalid Element State Exception

I am trying to clear text from <div> section using XPath using the below line. Clear Element Text xpath=//*[@id="intro-overlay"]/div I am getting below Error: ...
1
vote
1answer
221 views

How to validate the non-clickability of an UI Object in robot framework?

I have to validate an UI object that is not-clickable. In UIautomator, for that element clickable is False. So I want validate that in script. Please give me idea for the same.
1
vote
0answers
3k 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 ...
3
votes
1answer
494 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 ...
0
votes
1answer
581 views

How to modify/delete <div> section using Robot Framework

I am trying to delete a <div> section using Robot Framework. How can I do that ? Also, Is there a way to modify the class within a <div> ? e.g. <div name="test" class="..">. I'm ...
1
vote
2answers
365 views

Can we run Robotframework test cases through Maven Surefire Plugin to run them parallel

Hi I have created some test cases in Robot framework and now I wat to run them in parallel. I know there is Pabot to run test suites in parallel but my requirement is to run them through Maven ...
0
votes
1answer
245 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 ...
1
vote
2answers
363 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
0answers
97 views

How to get actual element position from webpage during css transition in python?

I am trying to speed up a test by not waiting for a css transition to happen, but rather have a WebDriverWait handle the task for me. Currently it looks to me that lambda elem: elem.location["x"] ...
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 ...
0
votes
1answer
294 views

Performance issue - Robot Framework vs Python

I am currently working on the development of a keyword that allows to separate the contents of a text file into 2 parts and create 2 new files containing each of these 2 parts. The file format is ...
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?
5
votes
3answers
9k 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 ...
1
vote
1answer
39 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 ...
0
votes
2answers
15k 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=