15 votes

TestNG vs Robot Framework - pros and cons

TestNG has been created as an alternative to JUnit in unit testing. While, RobotFramework has been created for acceptance testing. Each has remarkable features: TestNG TestNG is easily integrated ...
Dhiman's user avatar
  • 4,580
8 votes

TestNG vs Robot Framework - pros and cons

I think the question should be: Java WebDriver + TestNG Vs Robot. I have worked on both Java + TestNG and RobotFramework. Here is my analysis by points. Ease of use TestNG: You need to know Java &...
Vinaykumar Patel's user avatar
7 votes

How to automate UI testing of an app using a Google login

We have found that dealing with third party software in CI/dev environments was a great source of intermittency/failure and pain. So in our CI environments, we always create stub services for third ...
user3557137's user avatar
7 votes
Accepted

Designing an open source test framework without compromising security

I'm afraid the general answer would be "you have to rely on the community" since the code is visible to huge amount of people, a lot of people review it and anyone is free to publish their concerns ...
Alexey R.'s user avatar
  • 11.6k
5 votes
Accepted

How much does robot framework help in terms of employablity?

It's not a tool that makes you more employable, it's your experience. Knowledge of some tool may give you some advantage but only if you have other skills. No one looks for a guy who can click around ...
Embedded's user avatar
  • 510
5 votes

Robot framework: best practices for higher-level keywords?

I don't think there is a universally agreed-upon set of best practices. In my experience, the very best practice is to create at least one library file per website page (see page object library for ...
Bryan Oakley's user avatar
5 votes

Designing an open source test framework without compromising security

Adding to @Alexey R. answer. You should definitely rely on the community for evaluating and finding security and other issues. The same applies not only for test frameworks but also for tools and ...
Rsf's user avatar
  • 7,089
4 votes
Accepted

How to set a value for a variable in Robot framework test case?

The syntax is cumbersome, but there are a couple things you can do. If you don't care about the message returned by the first keyword, you can use Run keyword and return status. This is perhaps the ...
Bryan Oakley's user avatar
4 votes

As a QA manager, how do I show cost saving from my automation

This is a pretty complex one to work through, but you can do it with some data diving as well as well as the information you've given. Time and Labor in your group - assuming you have your automation ...
Kate Paulk's user avatar
  • 31.5k
4 votes

How to run Robotframework test cases in a particular order from different suites?

Unfortunately, the best workaround for this is to use prefixes with underscores, as it is mentioned in the User Guide. For example: 01__my_suite.html -> First test case/suite to be executed. ...
hfc's user avatar
  • 141
4 votes
Accepted

How can I limit a keyword's execution time without failing?

You Can use Wait Until Keyword Succeeds keyword . like: Wait Until Keyword Succeeds 5x 4s click Element xpath=........ Here 5x is how many times you want to execute your action and 4s is ...
kartik singh's user avatar
3 votes

Expecting results in boolean[True/False] but getting status as "None" - Why? How to resolve?

The variable ${CheckboxStatus} is None because the script provided to Execute Javascript doesn't return anything. To fix it, add the return statement: Verify Operator Checkbox ${CheckboxStatus}= ...
Florent B.'s user avatar
3 votes
Accepted

RobotFramework: Global variables which change only locally

I don't have a Robot Framework environment to test right now but I think you can use: BuiltIn.Set test variable ${variable1} value
gliviu's user avatar
  • 56
3 votes

ROBOT FRAMEWORK: [Error] Parsing ___.robot failed: Data source does not exist

"data source does not exist" simply means that you gave a filename to robot, and robot can't find that file. For example: $ pybot /path/to/non-existent/file [ ERROR ] Parsing '/path/to/non-existent/...
Bryan Oakley's user avatar
3 votes

Robot framework not picking up keyword implementation

A few corrections which will not directly solve the issues you're facing, but will put you in the right direction. About your robotframework source: The settings names are actually Test Setup and ...
Todor Minakov's user avatar
3 votes

Issue with Data driven testing in robot framework

The error should be very self-explanatory: you are passing an argument to the keyword FIRST_NAME ("got 1"), but that keyword doesn't take an argument ("expected 0"). To define your keyword to take an ...
Bryan Oakley's user avatar
3 votes
Accepted

"Run Keyword And Ignore Error" - what is it useful for?

I have used it when doing an If statement, actually in the documentation that you pasted It says exactly that! The keyword name and arguments work as in Run Keyword. See Run Keyword If for a usage ...
Dodd's user avatar
  • 46
3 votes

'ESC' key in Robot Framework

If you are using SeleniumLibrary with Robot framework, then you use the Press Keys keyword for send ESC key on the currently active browser. If you use the excel format editor, then Press Keys | ...
QA9's user avatar
  • 591
3 votes

Debugging tests written with Robot Framework

The Eclipse plugin called RED ([GitHub]1) has support for the standard debugger. More information can be found in the RED GitHub Help pages.
A. Kootstra's user avatar
3 votes

Unit Testing and Integration Testing with Robot and Cucumber

DL;DR: It's possible, but you shouldn't. All the tools you've mentioned are essentially test runners, meaning they execute a DSL focused on test code in someway. JUnit and GoogleTest execute methods ...
João Farias's user avatar
  • 10.5k
3 votes

How to call a keyword recurvisely in Robot Framework

You could use Wait until keyword succeeds The keyword will repeat executing until it succeeds you can specific the time to repeat the keyword like so *** Test Case *** Repeat Keyword Test Navigate ...
AutoTester213's user avatar
3 votes

Designing an open source test framework without compromising security

Developers have the same issue when using open-sources libraries in the application you are building. Most developers also do not have the knowledge of most security risks this brings into their ...
Niels van Reijmersdal's user avatar
3 votes
Accepted

Fails with Dictionary has no key even after validating key exists

Issues: You are using create dictionary keyword so it will have only the below content: { status=Divorced | employmentType=PAYG | income= } so each time you creat a new dictionary, it will have ...
PDHide's user avatar
  • 11k
3 votes

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

I am not sure what the code you have there do as it is incomplete. So assuming that you want to do data driven testing, use RobotFramework-datadriver: Structure of data file. Installation: pip install ...
PDHide's user avatar
  • 11k
3 votes
Accepted

Integration for Hadoop using Robot Framework

DatabaseLibrary is based on DB API 2.0 which supports these database systems: Generic Database Interfaces and APIs. So you won't be able to use this library in your case. I think you best option would ...
pavelsaman's user avatar
  • 4,538
3 votes
Accepted

Getting Windows download directory path in Robot Framework

To simplify the link I sent to the comment section: *** Settings *** Library OperatingSystem *** Test Cases *** Get User Home ${user_home}= Get Environment Variable UserProfile Log ...
pavelsaman's user avatar
  • 4,538
3 votes

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

Should a manual tester learn automation? Should a automation engineer learn DevOps? Should a DevOps engineer learn development? The questions go on and the answer is always the same "Depends on ...
PDHide's user avatar
  • 11k
2 votes

Robot Framework Integration

You haven't described much in terms of "integration" but from your message I can understand that what you are looking for a way to open new defects in your QC/ALM defects module. This can be achieve ...
Nir Rozen's user avatar
2 votes
Accepted

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

You can use the Selenium2Library Get Element Attribute keyword to get the style attribute: | | ${style}= | Get element attribute | id=check_style@style You can then either use a regular expression ...
Bryan Oakley's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible