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
0
votes
1answer
18 views

Can Robot Framework framework iterate over example data?

The BDD sample below is written using Katalon Studio Scenario Outline: Verify Price of <plan> Plan Given <accountType> account is currently logged in When User navigates to Publish ...
0
votes
0answers
32 views

No keyword with name Error

I'm new to automation and I've been doing some training on Pycharm. I have just separated out my script into a resource file to clean it up as per the Udemy course I am using. When i try and run the ...
-1
votes
2answers
30 views

How to get incremental xpath for newly added rows in webtable using robot framework-python-selenium

I came across a certain requirement. There is a web table where new rows are added daily.I want to write an automation script in Robot Framework-Python-Selenium-Eclipse-RedEditor Plugin. Right now, I ...
-1
votes
0answers
19 views

How to get different report for different tests in robot framework

Below is the result I am getting for my login test. Output: C:\Users\Ads\eclipse-workspace\TestProject\output.xml Log: C:\Users\Ads\eclipse-workspace\TestProject\log.html Report: C:\Users\Ads\...
0
votes
1answer
28 views

There exists any integration for Hadoop using Robot Framework

Is there any library that I can use to integrate Hive/Impala/Spark scripts using Robot Framework? I tried using pyodbc but it forces to connect to SQL Server: *** Settings *** Library ...
1
vote
1answer
56 views

How to fetch username and password from excel one by one to test login functionality in robot framework-selenium-python

I am trying to login to my application one by one using different credentials in robot framework-python-selenium but it is not working. Below is my code. Please suggest. Open Browser ${URL} chrome ...
0
votes
1answer
157 views

failed: ModuleNotFoundError: No module named 'robot.parsing.populators' error

I was using python 3.6 for robot framework and selenium. As my client wants to upgrade to python 3.7.1 we did that. Now facing issue in running my automation scripts with the message as failed: ...
0
votes
1answer
28 views

Unable to locate element in search dialog box

I have opened a search dialog box with the help of robot class but now I am trying to enter the text in that search dialog box but it is not entering the text with help of robot keypress. The source ...
0
votes
1answer
60 views

Importing test library 'AutoIt' failed: ModuleNotFoundError: No module named 'AutoIt' Error

I am trying to file upload in modal form using robot/eclipse but its not working. I added autoit library to red.xml. Giving below error . Below is my code for file upload Click Element xpath=//*[@...
2
votes
1answer
60 views

Fails with Dictionary has no key even after validating key exists

I have a scenario where I need to do different set of actions depending on dictionary key and value Dictionary can be any of the below &{DICT_VAL_APPLINPUT}= Create Dictionary status=...
0
votes
1answer
55 views

Robot framework - Trying to read data in edit mode, but its not fetching the text, instead its fetching “--Select--”

After clicking on Edit, a new page appears. I want to read a few data from that opened page. I used GET Value with locator to fetch id value. Id has 4 values New Open In ...
6
votes
3answers
119 views

Designing an open source test framework without compromising security

Context The robot framework website mentions robotframework-autoitlibrary in its external library listing and it points to http://code.google.com/p/robotframework-autoitlibrary/.And I found a ...
2
votes
1answer
489 views

“No Keyword with name” error while using AutoIt Library Robot Framework

Got an error encountered "No keyword name" error in AutoIt Library Robot Framework. I installed the AutoIt Library by using pip install and it was successful. I tried to automate input text in the ...
-2
votes
1answer
469 views

How to execute one test case multiple time in parallel in Robot framework?

I want to execute one test case multiple times in parallel, for example, execute test_case1 10 times concurrently? I am not able to achieve this using pabot --processes
0
votes
4answers
211 views

Unable to click on 'sign out' link

I am trying to click on sign out link, but not able to succeed: I tried the below ways, Click Element class=mat-icon.notranslate.mat-primary.material-icons Click Button name=Sign Out Click ...
1
vote
2answers
394 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
130 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 ...
1
vote
1answer
647 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
977 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
973 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
75 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
974 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
480 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 ...
4
votes
2answers
6k 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
885 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
193 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
1answer
506 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
3k 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
477 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
437 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.
5
votes
1answer
924 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
1answer
349 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
487 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
116 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
2k 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
4k 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
1k 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
4k 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
1answer
3k 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
3k 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
373 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
45 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
9k 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
374 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
204 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
451 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
455 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
426 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
4k 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 ...
7
votes
4answers
14k 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 ...