Questions tagged [robotframework]
Robot Framework is an open-source test automation framework for acceptance testing and ATDD (acceptance test driven development).
131
questions
1
vote
2
answers
3k
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
2
answers
1k
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 ...
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
...
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 ...
1
vote
0
answers
827
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
1
answer
2k
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.
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 ...
2
votes
1
answer
603
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
2
answers
755
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
0
answers
139
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"] ...
1
vote
1
answer
6k
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
1
answer
12k
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
1
answer
2k
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
2
answers
6k
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 ...
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. ...
0
votes
1
answer
737
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
1
answer
64
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
1
answer
18k
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
1
answer
805
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
2
answers
511
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
2
answers
580
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 ...
1
vote
1
answer
836
views
Automation Testing the python code for Autonomous Driving Environment?
I'm 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 suited test framework for ...
1
vote
1
answer
1k
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
2
answers
8k
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 ...
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 ...
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 ...
0
votes
2
answers
3k
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
1
answer
3k
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 ...
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 ...
1
vote
0
answers
490
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 ...
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 ...
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 ...
1
vote
0
answers
122
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 ...
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 ...
0
votes
1
answer
4k
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
1
answer
2k
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 - Donut chart. I tried lot of variation to have tool tips but Its look like its coming from JavaScript so I am not able to get it.
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 ...
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 ...
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.
...
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....
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?
1
vote
2
answers
369
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
1
answer
1k
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
2
answers
2k
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:
...
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 ...
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. ...
1
vote
1
answer
468
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 ...
0
votes
2
answers
37k
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=
3
votes
7
answers
28k
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=&...
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 ...