Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [robotframework]

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

1
vote
1answer
47 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
1answer
68 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
37 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 ...
0
votes
2answers
125 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
28 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
102 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
370 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
58 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
254 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
0answers
389 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
0answers
44 views

Flash Player in Robot Framework

I have a flash player running on a webpage and it is taking time to complete. Manually if I click ESC key, my main page loads. I am trying to automate using Robot Framework. I tried looking at Send ...
0
votes
0answers
382 views

How to select a dynamic list element in robot framework

I'm trying to test UI with Robot Framework (Selenium). I have a drop down which is dynamically populated and i have to select one of the text in it. I'm able to click on the dropdown element which ...
0
votes
1answer
550 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
118 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 ...
0
votes
0answers
24 views

Can selenium EventFiringWebDriver be used under robot framework for java

Generally we define the selenium web driver's event listener when we create the WebDriver variable while running the POM tests under Junit and TestNG. But that's not the case with robot. As the ...
1
vote
1answer
33 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
1answer
1k views

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

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
0answers
77 views

How to resolve “ValueError: need more than 1 value to unpack”?

Im getting the error: 'ValueError: need more than 1 value to unpack' when I run the below code: ${style}= Get element attribute id=statusIndicator ${style} ${bgcolor} Split String ${style} ...
0
votes
2answers
145 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
0answers
59 views

Robot Framework Database Cleanup

I am currently implementing test automation using Robot framework to component test our dockerized system. Since I am not that familiar with best practices of QA, I would like to know your opinion and ...
0
votes
2answers
65 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
215 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
170 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
115 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
1answer
1k 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 ...
4
votes
3answers
3k 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 ...
3
votes
1answer
1k 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
509 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 ...
0
votes
0answers
81 views

Any of the Browser is not opening, when I execute the script using Robot framework

I just started to learn the Robot framework, I don't why none of the browsers are opening, when I execute the script, please find below for my environment details: I am using Python2.7 and Pycharm ...
1
vote
1answer
896 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 ...
0
votes
0answers
688 views

Unable to select dropdown values using Robot Framework with python

Trying to select the value from Business line dropdown in Robot Framework using Python. But it's not working. Here is my HTML Code: <div id="isc_3SV" style="position:relative;z-index:1000;width:...
2
votes
2answers
466 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
337 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
2k 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
2k 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
45 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
2k 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
1k 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
448 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 ...
0
votes
1answer
756 views

How to trigger tests from robot framework using bamboo

I am new to Bamboo, and I have a set of test cases which we are planning to execute using a Bamboo task. How do I configure Bamboo to run my robot test cases?
4
votes
4answers
607 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
553 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 ...
0
votes
2answers
8k 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. ...
5
votes
2answers
4k 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....
2
votes
1answer
1k 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?
1
vote
2answers
162 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 ...
0
votes
1answer
489 views

Robot Framework: Test execution hangs after sometime(after execution of 40 to 50 testcases) via Internet Explorer

I am excuting a testsuite, which includes around 160 testcases via IE. But the execution hangs after sometime. Testcases are simple ones,mostly to check the presence of elements or to get the text ...
0
votes
2answers
247 views

Does Robot Class functionality behaves correctly independent of the OS we use?

I am trying to upload an image in the div section with the help of following code which makes use of Robot Class. Test Environment: OS: Mac OS, Selenium: WebDriver, Client: Java. Code: ...
1
vote
2answers
3k 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
177 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. ...