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

check video playback on Mobile App

I am working on a hybrid mobile app (React native) automated testing project using robot framework and Appium, i'm looking for a way to test videos streaming. Is there a way to test if the video ...
0
votes
2answers
29k 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=
1
vote
4answers
24k 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. ...
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. ...
2
votes
2answers
8k 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 ...
0
votes
0answers
50 views

Is it possible to automate electron applications with RobotFramework Browser library?

I am currently using selenium and python to launch and access elements from an electron application. I've used RobotFramework Browser (rfbrowser) library to automate angular webpages previously and I ...
0
votes
1answer
284 views

Assigning keyword return value to variable not working in Robot Framework

I have the following Robot Framework keyword, designed to get the full path of the "Downloads" directory in Windows: Get Download Directory ${user_home_dir}= Get Environment Variable ...
0
votes
1answer
171 views

Getting Windows download directory path in Robot Framework

I have a Robot Framework test case that makes use of the following variable: ${download_dir} C:\\users\\myProfile\\Downloads How can I change this so that it always points to the Downloads folder ...
0
votes
0answers
39 views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework in creating ui automation for out project. And I woud like to know how to assign defined keyword as variable value and how to run variable as keyword?
0
votes
0answers
55 views

Robot Framework UI Test Fails Due to CSRF

Recently our devs implemented a CSRF protection, and then my scripts (web ui) started to fail one by one. I looked into it and it's getting this error on console Access to XMLHttpRequest at 'https://...
1
vote
0answers
91 views

RobotFramework AutoItLibrary.Run test case passing, but no window shown

I have Python 3.7.0, Robot Framework 3.2.2, and AutoItLibrary 1.2.7 installed. I have the following test case to simply run an app I have developed in .NET: *** Settings *** Library ...
0
votes
1answer
521 views

Can't import AutoItLibrary in RIDE/Robot Framework

I have Python 3.7.0, Robot Framework 3.2.2 and RIDE 1.7.4.2 installed on Windows 10. I want to use the AutoItLibrary with RobotFramework. I have installed it as follows: pip install robotframework-...
0
votes
1answer
2k views

How to install chrome-webdriver on GitLab CI/CD

I am trying to do some tests using GitLab CI/CD and Robot Framework, I have this simple .robot file: *** Settings *** # Declare Libraries Library SeleniumLibrary # Declare Suite Setup and Teardown ...
2
votes
1answer
89 views

Robotframework/Selenium/IEDriver - Tests fails at times with [object error] error message

I am using robotframework to perform web automation using IE11 and seleniumlibrary. It runs on windows 10 workstations. I use IE driver 3.14.0 32-bit as it allows to run scripts when screen is locked. ...
7
votes
2answers
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 ...
9
votes
4answers
23k 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
689 views

Is there any way to run test cases on different browser at once in robotframework using Ride

*** Settings *** Library SeleniumLibrary *** Variables *** ${url} https://www.youtube.com/ ${browser} chrome *** Test Cases *** Search [Template] Open Browser $...
1
vote
1answer
97 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
175 views

Testing Windows applications with RIDE Robot Framework and Appium?

I have Robot Framework and the RIDE IDE installed. I have tried the Selenium library with RIDE, and works for testing web interfaces. I now want to test Windows Applications. Is it possible to test ...
3
votes
2answers
6k views

Failed to start new browser session: Error while launching browser + selenium + robotframework

I'm using robotframework+seleniumlibrary and I often got the following error when I launch test cases Failed to start new browser session: Error while launching browser I'm connected by "ssh -X ...
9
votes
7answers
1k views

Recommend Automated test tools for cross platform including IE and .NET software

I'm working in an QA team. We do the automated work from the scratch. So many testing methods may be anti-pattern or disobey some discipline. We pay lots of effort on test web pages on our products....
2
votes
2answers
31k 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 ...
3
votes
3answers
13k 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']...
5
votes
4answers
11k views

Are there ready solutions for saving robot framework test results into a database?

I like the level of details and more or less how they look like — report.html and log.html files created as a result of selenium/robot tests run. What I don't like is if I run pybot several times (...
2
votes
2answers
5k views

Robot Framework and Browser support

Has the robot framework support for IExplorer or only for Firefox and Chrome? (If yes, how to configure it?) Thanks!
3
votes
4answers
627 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 ...
5
votes
1answer
8k 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 ...
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 ...
2
votes
3answers
15k views

How to find the CSS style attribute of a particular HTML element using Robot Framework?

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application. One of my test cases involves checking the CSS style attribute of an HTML tag. Is ...
1
vote
2answers
16k views

RobotFramework: Global variables which change only locally

In the root of the test directory, I have this setting.robot file which includes the global variables used in all test suites and test cases. This file has been used as resource in all test cases: ***...
5
votes
2answers
4k 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 ...
1
vote
2answers
9k 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 ...
0
votes
1answer
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.
7
votes
4answers
24k 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 ...
0
votes
2answers
794 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 ...
6
votes
5answers
14k 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
1answer
420 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
2k 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
1answer
321 views

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
2answers
1k 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
4answers
844 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 ...
8
votes
3answers
139 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
631 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
915 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=//*[@...
0
votes
0answers
656 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 ...
0
votes
1answer
2k views

Is there a way to get a substring with a keyword in Robot Framework?

I have a problem where I want to copy a URL from a message, where the URL is not clickable. I tried the following: ${email}= Get Text css:.msg-body ${url}= Get Substring ${email} 413 ...
0
votes
1answer
45 views

What are the tools I need to run robot test every time a deployment is triggered

I'm trying to automatically trigger a robot test project which will not be run in local machine everytime there is a deployment. I need to know the tools I need to somehow execute the automation ...
1
vote
1answer
187 views

Android/iOS: How to dismiss a popup advertisement while automating an application using Appium & Robot Framework?

Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.
3
votes
7answers
19k 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=&...