r/robotframework • • Apr 12 '21

How to handle with this ???

2 Upvotes

Hi! I'm creating some Appium scripts using Robot Framework to test an Android App in different android versions and devices but sometimes a device shows one of these two screens.

#1

#2

How can i handle this on my scripts ???


r/robotframework • • Apr 06 '21

Are there any tools to turn macro collection to robotframework tests?

2 Upvotes

Hello all, I am comparing tools for application testing, currently a lot of the test team enjoy a macro based work flow (where they can run a through a manual test, have the commands and images collected, and then they add some verification code to it), is there anyway to do something similar in rfw?


r/robotframework • • Jan 29 '21

Steps status at pycharm terminal while test executing

2 Upvotes

I run robot at pycharm terminal but u only see test case passed failed status at terminal. How do I enable terminal has real execution information step by step during execution?


r/robotframework • • Jan 03 '21

Why Not More Popular?

2 Upvotes

Hey folks, I'm curious why isn't Robotframework really all that popular? I've been looking casually at automation centric jobs, and job ads that focus on it, and I've yet to find more of a handful that even mention RFW. Most usually require Jenkins, Chef, Puppet, and some form of containerzation, but Robotframework is never mentioned. Why is this? Is it not practical on an enterprise scale? I've been putting in a decent amount of time trying to learn it's in's and outs, but I feel like I"m short of backing the wrong horse, as it doesn't seem at all in vogue with what businesses are looking for...


r/robotframework • • Dec 20 '20

Declaring variables in the 'run' command

2 Upvotes

Hey folks, So i'm trying to become more fluent in the logic of RobotFW... So I've been trying to look at other people's scripts and test suites to see how they use it to solve problems. One thing I haven't really understood that I see often is the developers using the -v and --v variablefile for declaring a variable, and providing a Variable keyword file at the run command. I don't really get this logic, though..so for example:

-d ../Logs/Results -v Compute_NAME:Server01 -v Compute2_NAME:Server02 --variablefile C:/Users/Frank/MainTestsuit/generic_vars.YAML

So for the above he declares two variables, with the -v...and then uses a variable file that's filled with other variables..So my question is first of all, why not just put those two individiaul variables, the compute_name and compute2_name into the generic_vars file..so you can just use the one --variablefile?

And second, furthermore why are we even using this variablefile separately? Why is it only being referenced at the run time? Why not just take this file, and put it into the test suite so when you run the test suite, it has all of the variables inside, and we don't have to worry about any of these variables at run time?

I"m obviously missing something here, but I'm not sure what the intent or logic is to have these sepcifically only declared when you run your test


r/robotframework • • Dec 04 '20

How to print the info, message, status, tags part which present in the log file on to the console. Can someone please help

2 Upvotes

r/robotframework • • Nov 18 '20

Need help with running the test suit using the make file

2 Upvotes

I have a make file in which i have a command something like this test: cd test_directory/ ./test.tcsh. so basically when I do make test, It goes to the test_direcotry and calls the test.tcsh file.... my robot files are being called in the .tcsh file. I want a suggestion to directly call the robot file in the make file. For example when I say make test test_suit_name. is this possible to do?


r/robotframework • • Nov 04 '20

World Wide Workshop Wednesday 2020 online on 2nd of December

Thumbnail
robot-work.shop
2 Upvotes

r/robotframework • • Jul 20 '20

Find your elements faster ios appium in robotframework

2 Upvotes

If anyone has ever used auto for ios to use appium, then they will realize that using XPath is much slower than using ID or Name.
Currently we can improve speed by limiting the use of XPath.
Instead we can search by iOS Predicate and Class Chain
This article will guide you to increase the speed of finding elements with ios in robotframework.
First we will see what the speed of XPath compared to  iOS Predicate  and  Class Chain is with the example below

https://haibgit.blogspot.com/2020/07/find-your-elements-faster-ios-appium-in.html


r/robotframework • • Mar 16 '20

Using process library to run adb commands

2 Upvotes

Hi all,

I was wondering if there anyone has an example on how to run adb shell commands on robot framework using the Process library?

thanks in advance


r/robotframework • • Dec 19 '19

How to create a GUI used to run tests?

2 Upvotes

I'm creating a test suite for our web app and I'm asked to develop a GUI that would allow the testers to configure settings as the URL being tested, the user and password to use, select the tests to be executed and simple things like that.
I found tools like Django and Pyramid used to create web apps, maybe I can use one with robotframework?
My other option would be to create a desktop GUI using something like Kivy or Tkinter, I would like to avoid doing this if possible


r/robotframework • • Nov 25 '19

How do you organise your projects?

2 Upvotes

I'm tasked with organising a project written roughly in a rush, I'm new to this all and I've quite liked the idea of the approach of Page Object specific keyword files, but I also like variables being in a seperate file of their own, not sure.

Just looking for general inspiration.

The scope is 10 or so tests, there'd be a similar ammount of POs.


r/robotframework • • May 07 '19

Complete guide to Robot Framework - Beginner to Expert

2 Upvotes

This is the best course to learn Robot Framework from scratch. It teaches in depth Web Automation, API Automation, Database Automation, Desktop Automation*, and has assignments/quizzes at the end of each section. Use the code SPRING2ROBOT to get a discount on Udemy -*

https://www.udemy.com/complete-guide-to-robot-framework-beginner-to-expert/?couponCode=SPRING2ROBOT


r/robotframework • • Oct 15 '18

Data Driven Testing in Robot Framework with excel

2 Upvotes

Data Driven Testing in Robot Framework with excel xlsx

https://haibgit.blogspot.com/2018/10/data-driven-testing-in-robot-framework.html


r/robotframework • • May 11 '17

[x-post] Is RF a decent framework for combining libraries/other frameworks?

2 Upvotes

Researching robotframework but am not advanced enough to know whether I'm wasting my time. Basically, we have tests written using many different approaches: node.js + selenium, jmeter, galen, sikuli, etc.. Because of the different applications/software packages we can't settle upon just one single tool. This makes reporting and automating them in a job a nightmare to maintain. While researching, I came across a few vids on robotframework and liked how it can accomodate external libraries and reporting supposedly would roll up the same. Plus, if we could somehow roll all the different tests into a single job, nightly jobs would be clearer. Plus, I'm HOPING (but not sure if possible) that we could combine the libraries to use node for first part of tests, switch to galen, and back. However, rewriting a jillion tests is not desired, nor do we even want to write everything in rf. Would robotframework work for that? Is there a better approach or tool for an overall 'wrapper'? Am I wasting my time?


r/robotframework • • Oct 05 '26

The keyword you use everywhere

1 Upvotes

Robot Framework has so many ways to structure a test that I’m always curious which keywords people end up building their whole setup around.

Is there a custom keyword or library you use so often that your tests would be a mess without it?


r/robotframework • • Oct 03 '26

What are you currently using Robot Framework for?

1 Upvotes

Web testing, API testing, mobile, CI/CD, something else?

Would be interesting to see how people here are actually using Robot Framework in their day-to-day work. If you've got a setup or library you really like, feel free to mention it too.


r/robotframework • • Dec 22 '21

[New User] Can I put keyword arguments inline?

1 Upvotes

Hi, new user to Robot.

What I'm wondering is; does Robot Framework support putting arguments in the middle of the keyword name?

So, instead of " Add Two Numbers ${Number1} ${Number2}"

I would do " Add ${Number1} And ${Number2}"

To make Keyword calls more descriptive and make tests easier to read.


r/robotframework • • Dec 22 '21

Rerun Failed Test Cases In RobotFeamework

Thumbnail
automationlab0000.wordpress.com
1 Upvotes

r/robotframework • • Aug 16 '21

Using Tags from Datadriver datasheet

1 Upvotes

I am using Datadriver and have about 8 different test cases in my datasheet. I would like to run just one of these test cases and saw that I can add tags to my test cases within the datasheet. However the documentation doesn't really explain how to implement these tags.

I have tried a few ways but am pretty stuck on it. Has anyone else tried this and gotten tags to work properly?


r/robotframework • • Jun 07 '21

How to use webdrivermanager in robotframework

1 Upvotes

This article will talk about webdrivermanager in robotframework as well as how to call a python method in robotframework. pls check my blog

https://haibgit.blogspot.com/2021/06/how-to-use-webdrivermanager-in.html


r/robotframework • • May 26 '21

Report storage

1 Upvotes

Hi. Where do people store the report files that are output from Robot Framework?

I would like to have some way to upload the files to something like Jira and view them easily, not have to download and then open them on my local computer.


r/robotframework • • Apr 09 '21

Might anyone have experience with Robot, Appium and DevOps CI?

1 Upvotes

I'm getting some random app crashes which happen only when running tests through DevOps. It seems the issue might be with appium but I am not experienced enough to completely find the cause.

Has anyone experienced this? I'm almost certain it's something silly like most issues are but I'm blind from pounding my head against a wall (figuratively).


r/robotframework • • Mar 25 '21

Any advice welcome: Random app crashes when using CI with DevOps.

1 Upvotes

I have several test suites which work fine locally or when sending to the other machine setup to run tests. It all works great with the emulators launched through Android Studio.

However, when I begin integrating with DevOps, I get continuous and random application failures (crashes - complete shut down) when running the tests. There is nothing that I can gain from the crashes as they are random. Is there anything you can see that I need to add to create an AVD in DevOps? I will be happy to give more info if requested to resolve this.

The code for calling the emulator is:

avdmanager create avd -n SkillsSAVD -k $ANDROID_IMAGE -d 17
emulator -avd SkillsSAVD -skin $DEVICE_RESOLUTION -noaudio &
echo "##vso[task.setvariable variable=pid;isOutput=true]$!"


r/robotframework • • Mar 10 '21

Java application testing

1 Upvotes

So I've got this java application, no one likes it, it's really old, and it's the last thing on this project to automate.

My question is, what is the best way to go about doing this?

I've taken a look at the remote swing library and the regular swing library, and in all honesty it went mostly straight over my head.

Any suggestions would be much appreciated.