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 ...
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 &...
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 ...
6
votes
Accepted
Fitnesse vs Robot
Overview
Robot framework is an excellent choice that meets all of your goals. Robot can be used for UI tests (via selenium), REST and SOAP service tests, database tests, and just about any other type ...
6
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 ...
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 ...
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 ...
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 ...
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 ...
4
votes
Wait for a random time with robot selenium 2 library
Putting a sleep in a selenium test is generally not the best solution. Selenium has keywords to wait for some condition on a page, such as wait for condition, wait until element is visible, wait until ...
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 ...
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 ...
3
votes
Robot framework installation
At least in Robot Framework User Guide, Getting started
it has a nicely detailed installation instructions.
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
3
votes
How to automate UI testing of an app using a Google login
I think the plethora of anti-robot measures might indicate that Google does not want you to interact with it using robots, even if you are a Google Apps customer. From Google support: Automated ...
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}= ...
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 ...
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 ...
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 | ...
3
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.
...
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
2
votes
Accepted
what is the relation between test plan, test suite and test case?
I think your understanding is fundamentally correct.
A test plan is just that -- a test plan. It is how you plan to go about testing an application or change to an application as a whole. The plan ...
2
votes
How to use Run Keyword If in Robot Framework
It seems like you don't want to report error if element was not found. In such case, the most straight-forward way is to run the keyword and ignore errors if element is not found:
Run Keyword And ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
robotframework × 128automated-testing × 50
selenium-webdriver × 48
python × 27
selenium2 × 16
test-automation-framework × 11
browser-automation × 8
ride × 8
java × 6
appium × 4
eclipse × 4
maven × 4
autoit × 4
xpath × 3
uiautomation × 3
database × 3
performance × 2
cucumber × 2
jenkins × 2
selenium3 × 2
csv-file × 2
ie11 × 2
mobile-applications × 2
robot × 2
keyword-driven × 2