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

Keyword hierarchy in robot framework

I would like to ask, what is the best way to organize keywords in robot framework. I am using robot framework to test backend application using rest interface. I have multiple keywords stored in robot ...
martin balaz's user avatar
0 votes
0 answers
23 views

keywords missing after install robotframework-autoitlibrary

I followed the steps below to install robotframework-autoitlibrary 1.Open cmd in "Run as administrator" mode 2.run the command pip install robotframework-autoitlibrary 3.Now clone the autoit ...
lng60044's user avatar
0 votes
1 answer
2k views

Robot Framework how to set a variable in an xpath?

Trying to set a variable in an xpath that I can then replace the text in for a dropdown menu. Not sure if there is a better way to do this I have tried "Replace Variables" also from the ...
user55499's user avatar
1 vote
2 answers
941 views

How to store Value returned from 1st keyword and then using that value in another keywords without running the 1st keyword again in robot framework

I struck in one problem in which I want to store Value returned from 1st keyword in variable during initial run and then using that variable in another keywords without running the 1st keyword again . ...
Chirag Dhingra's user avatar
0 votes
0 answers
281 views

How to test RobotFramework test library using mock objects

I have created a RobotFramework test library in Python. It internally utilizes paramiko and paramiko-expect packages to connect to various *nix hosts and execute Unix commands. I have been reading ...
Amit Tendulkar's user avatar
1 vote
1 answer
244 views

Robot Framework - Best keyword to tab off an element

I am using Robot Framework and Selenium and have a drop down combo element that I need to focus on and tab off in order to fire a validation message. I cannot use Press Keys or Click Element as it ...
user3356964's user avatar
0 votes
2 answers
911 views

How to paste the text to the next line using Robot Framework?

I have copied some text from the website and then pasted it into the text file. And also I did the same thing to paste the second text using the "Append To File" keyword. I want to paste the ...
Sandaru Dissanayake's user avatar
-1 votes
1 answer
50 views

Is it must to learn RPA tools apart from web automation tools like Selenium?

I see many testers learning RPA tools like UI Path etc apart from Selenium, UFT etc. Is it necessary for a Test Automation engineer to learn about process Automation tools? Or is just Automation of ...
Raj2304's user avatar
0 votes
1 answer
426 views

Is possible to count tags only in concrete part of page using robot framework and selenium library?

im tring to create solution for dynamic page, where is table that can have 2 or more rows and in every row will be some element i need to interact with. I plan to use loop, but firs of all i need to ...
Gigantol Gigantol's user avatar
0 votes
0 answers
97 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 ...
Chawki's user avatar
  • 101
0 votes
1 answer
3k 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 ...
Al2110's user avatar
  • 129
0 votes
1 answer
2k 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 ...
Al2110's user avatar
  • 129
0 votes
2 answers
1k 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 for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?
Oelyu09's user avatar
0 votes
0 answers
192 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://...
agvera's user avatar
  • 131
1 vote
0 answers
304 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 ...
Al2110's user avatar
  • 129
0 votes
1 answer
3k 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-...
Al2110's user avatar
  • 129
0 votes
1 answer
6k 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 ...
Raymond_90's user avatar
0 votes
1 answer
76 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 ...
Oelyu09's user avatar
0 votes
1 answer
653 views

Clicking Windows Calculator buttons with AutoItLibrary for Robot Framework and RIDE

Description of problem and goals I have Robot Framework, RIDE and AutoItLibrary installed. For a simple test case, I want to open an instance of Windows Calculator, click the "7" button, ...
Al2110's user avatar
  • 129
1 vote
1 answer
3k views

RobotFramework: Link/List with locator not found

I am studying Robot Framework with Selenium Library and I can't figure out how to remove "kw" element from the next dropdown: I tried to use xpath for it: *** Settings *** Library ...
illuminato's user avatar
2 votes
1 answer
129 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. ...
rovaru's user avatar
  • 21
0 votes
1 answer
7k 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 ...
user46779's user avatar
0 votes
1 answer
313 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 ...
Al2110's user avatar
  • 129
1 vote
2 answers
1k 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 $...
Anshita's user avatar
  • 21
1 vote
1 answer
513 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.
user46236's user avatar
0 votes
1 answer
273 views

Error while launching RIDE

I have installed Robot framework and installed wxPython and then Ride. When I launch it by executing python ride.py, it runs into an error as shown below. I believe it has something to do with the ...
davidbilla's user avatar
0 votes
1 answer
799 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 ...
agvera's user avatar
  • 131
0 votes
0 answers
3k 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 ...
Kem's user avatar
  • 11
-1 votes
2 answers
2k 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 ...
ADS KUL's user avatar
  • 131
1 vote
1 answer
712 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 ...
Pedro Alves's user avatar
2 votes
1 answer
1k 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 ...
ADS KUL's user avatar
  • 131
0 votes
1 answer
7k 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: ...
ADS KUL's user avatar
  • 131
1 vote
1 answer
302 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 ...
Achint Kumar's user avatar
0 votes
1 answer
2k 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=//*[@...
ADS KUL's user avatar
  • 131
3 votes
1 answer
3k 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=...
AVB's user avatar
  • 33
0 votes
1 answer
1k 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 ...
sneha's user avatar
  • 3
9 votes
3 answers
158 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 ...
PDHide's user avatar
  • 11.1k
2 votes
1 answer
4k 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 ...
Ru eL's user avatar
  • 21
-2 votes
1 answer
3k 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
Deepak Gupta's user avatar
0 votes
4 answers
1k 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 ...
Adarsh99's user avatar
1 vote
2 answers
2k 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 ...
Prasad_Joshi's user avatar
2 votes
1 answer
1k 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 open ...
pavelsaman's user avatar
  • 4,548
2 votes
1 answer
5k 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 ...
DDay's user avatar
  • 131
0 votes
2 answers
4k 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 ...
kahirrao's user avatar
0 votes
1 answer
4k 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\": ...
Trupti's user avatar
  • 1
-1 votes
2 answers
179 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 ...
S.Kr's user avatar
  • 1
-1 votes
2 answers
3k 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 ...
kahirrao's user avatar
1 vote
1 answer
1k 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 ...
dzieciou's user avatar
  • 10.5k
6 votes
5 answers
24k 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=//...
Brian Pai's user avatar
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 ...
Rishikesh's user avatar
  • 885