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
2answers
69 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
38 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
1answer
67 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
2answers
88 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 ...
0
votes
1answer
296 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\": ...
-1
votes
1answer
41 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 ...
-1
votes
2answers
461 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 ...
1
vote
1answer
269 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
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
vote
2answers
335 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 ...
0
votes
2answers
100 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 ...
0
votes
0answers
72 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
296 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
349 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
1answer
246 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.
4
votes
1answer
561 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
257 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
375 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
100 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"] ...
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 ...
0
votes
1answer
3k 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: ...
0
votes
1answer
625 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 ...
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 ...
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. ...
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
1answer
303 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 ...
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
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 ...
1
vote
2answers
286 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 ...
0
votes
2answers
134 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 ...
1
vote
2answers
374 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
320 views

Automation Testing the python code for Autonomous Driving Environment?

I am newbie to testing world. I am 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 ...
1
vote
1answer
249 views

How to highlight the particular text in a tag and format the text (like Bold, Italic and so on) using Robot Framework

I have a text in div tag as "Robot Framework tutorials" I wanted to highlight only "Robot" and mark it as bold using Robot framework. Can anyone help me how to highlight the text ?
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 ...
5
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 ...
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 ...
0
votes
2answers
1k views

Issue with Data driven testing in robot framework

I have written code using robot framework, to open a browser and enter the values in a fields, but what is happening, it is opening the browser and redirecting the URL, but it is not writing to the ...
1
vote
1answer
2k views

How to select window by name, which is contained in a variable?

Could you advise how can I select window by name, which is contained in variable? Name of window generates ramdom and this value exists in my ${addressId} variable. I tried to use: Select Window ...
2
votes
2answers
818 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 ...
1
vote
0answers
431 views

How to extend Selenium2Library by creating new RobotFramework keywords using Selenium WebDriver in Java?

I'm trying to extend the Selenium2Library python library (1.8.0) by implementing new Robot Framework keywords using Selenium WebDriver in Java. In order to do that, I need to be able to retrieve the ...
1
vote
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
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 ...
1
vote
0answers
68 views

Robot framework: how to point to libraries folder other than default?

I've set up a Maven project that uses Selenium (as a dependency) and would like to add Robot. The thing is, according to http://robotframework.org/MavenPlugin/: Third party libraries (e.g. Selenium ...
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 ...
0
votes
1answer
2k views

How to Access the data in Span element using Robot Framework

I am new to Robot Framework. I am trying to access the element/link inside a span tag. The number is a quote ID, which is a hyperlink that redirects to another page. Should I use Click Element or ...
0
votes
1answer
1k 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 - https://www.amcharts.com/demos/donut-chart/. I tried lot of variation to have tool tips but Its look like its coming from javaScript so I am not able ...
3
votes
4answers
852 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 ...
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 ...
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. ...