Robot Framework Tutorials
Robot Framework Tutorials
Hello,
This channel is dedicated to those who want to start automating with Robot Framework but also to those who are already using this tool and want to find out new tips and tricks they might have missed.
I will use my 13 years QA experience to create videos that explain the process of automating with Robot Framework on Web, Mobile and Desktop and I will also teach you how to configure certain tools for best results.
As part of the tips and tricks videos, there will be some videos teaching you how to make your life easier in terms of writing you automation framework and creating your automation projects.
Content of this channel will be uploaded a few times a week and I plan on including full tutorials from scratch to install, configure and get started with Robot Framework the right way. This channel is not owned or sponsored by Robot Framework or the Robot Framework Foundation.
You can support the channle by buying a coffee here :) : www.buymeacoffee.com/rftutorials
Пікірлер
Aún no están disponible los demás videos de esta serie? Muchas gracias por este tipo de material es de gran ayuda.
i used the --listener RetryFiled:1 but when a test fails it keeps rerunning indefinitely. I wanted to know if there is a bug or something
Is that a typo? You wrote Filed instead of Failed
@@RobotFrameworkTutorials Thank you for your answer. No it wasn't a typo, but i am including the to be continuous template in my .gitlab-ci.yml file which seems to be causing the problem. When I don't include the template the listener works fine. I wanted to know if this is a known issue.
@@aminekacem615 I honestly don't know but you can always raise an issue on Robot Framework side
@@RobotFrameworkTutorials Ok thank you
several years passed and it's still good!
thank u so much . I am using RF now over a year and I took the lessons from UDEMY's Bryan Lamb, but your lessons are way more better. Very easy to follow.👍
This tutorial helped me a lot to startup with Robotframework. Thanks much.
Hi Please share alternatives for intellibot#patched, it isn't working with latest Pycharm
Hello, There is another plugin called Robot Framework Language Server but that will no longer be maintained soon. I suggest switching over to VSCode and robotcode as a plugin. This new plugin is actively maintained
@@RobotFrameworkTutorials Can share steps to the robot Framework Language Server in vscode or pycharm. based on your suggestion i tried Robot Framework Language Server but i m stuck in setting up the plugin
@@parthasarathysreenivasan9130 you should go with robotcode and VSCode. It's easy to set up. Plus, here is a video in which the creator of the robotcode plugin exlains how to install and use it: kzread.info7Uad_250YuI
Hi sir , Thank you for this video . I have an question that i installed appium library through pip command ,but when i configure it in pycharm like library AppimLibrary .then it is not showing or recognizing the library .
Please be aware that all content is case sensitive. If you are still expriencing issues, try running the test: if it works, then it's a IDE plugin error. If the test does not run, the problem lies elsewhere.
Hi, I am stuck at trying to use the listener method explained @9:37. I have installed the listener using pip, but when executing the command line argument (pointing to my testsuite) I get errors like "MissingSchema: Invalid URL '': No scheme supplied". Could you help me with this?
That is most likely an error from the Browser library. You might have introduced a wrong url when opening the browser.
can u add it for linux and with real mobile and not virtual
What if the Intellibot plugin is a patch version from a private body? Can we trust it?
One way to make sure is to visit their repo and answer that question yourself. From my side, that is a safe alternative 😃
Thanks for videos-Series. It help me a lot :)
I really wish there was a quick guide to setting this up, for users that already have Python and NodeJS installed... and just want to run a browser test.
YOu can run the pip command to install robotframework, then run pip install robotframework-browser and finally rfbrowser init. This creates the whole environment so you can start automating web with RF and Browser library based on Playwright
from 2:58 and 3:51 minutes i just found that (obviously) the version of pycharm is updated so (as i do not understand so much) tried to follow and when i created the prject it sais "creating the virtual environment" so did i make some mistakes?
No, no mistake there. You can use the global python installation and libraries or a virtual environment, which installs all that in your project folder. But the execution should stay the same.
hello - thanks for the video. It seems that uiautomatorviewer has been deprecated. Is there an alternative?
Yes, there is a standalone app called Appium Inspector available here: github.com/appium/appium-inspector/releases/
Very informative videos! Question: I do not get the list of commands/hints when I type a command, say, "Run". Thanks
That is provided by the IDE plugin that supports Robot Framework language. The plugin presented in the series is no longer maintained so I suggest switching to VSCode as an IDE + robotcode as a plugin.
Thank you so much! I have no words to describe how much you've helped me. The way you explain everything from the mosts basic level, providing lots of details and building up great foundations, was essential for my understanding of Robots and my last project. One of the best tutorials in tech I've found so far.
You're very welcome!
Just a second chapter and so good impression of you and your guidance skills. Appreciated much even in 2024! Hope you just keep as best as possible into another many years of your life. BR.
thank you! This is what I was looking for. I'm doing tests for messenger
how to rerun test cases in case of failure that has loading issues ? i don't want to rerun in case of code issue i need to rerun based on conditions how can it will done?
Thanks dear for the knowledgeable playlist :)
how can we start appium server and emulator to run mobile automation tests?
You have a whole playlist dedicated to mobile automation on the channel. I suggest going trough it and you will find all the needed information
Thanks for this. Is that applicable to make these commands run in container
Yes, absolutely. It is just another robot command.
This covers even Python language?
No, only Robot Framework using existing libraries
Hi, I need you help with this problem WARN AppiumDoctor ✖ android, apkanalyzer.bat could NOT be found in C:\Users\yara_\AppData\Local\Android\Sdk!
Thanks Dear for the great knowledge You can use a free tool for screen mirroring call "Screen Copy"
Is there a huge diference between the new release version 7.0?
Hello. The syntax differences between the version used in the tutorial and RF 7.0 is minor.
There is an easier way to test on 2 Android devices using a single appium server and without providing adbPort, systemPort etc. Instead of this if you provide wdaPort with different values as arguments to Open Application keyword, then it works.
I do agree with you. I made the example more complex to prove you can have multiple instances of Appium server. Also, at the time of creation of the tutorials Appium was pretty unstable when running multiple instances on the same Appium port. I still don't recommend it.
What a great tutorial playlist, thank you 🔥
Hi Sir i followed same your steps but while execution of sample program i am getting error can you please help to resolve this ? This is Program: *** Settings *** Library AppiumLibrary Library Screenshot Resource ../TestCases/LaunchApp.robot *** Variables *** *** Keywords *** Launch Mobile Application [Documentation] Launching Mobile application with required browser and its compatibilties. Open Application localhost:4723/wd/hub platformName=Android platformVersion=12 deviceName=RZ8NA09SG2V appPackage=io.appium.android.apis appActivity=io.appium.android.apis.ApiDemos automationName=UIAutomator2 this is error: PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> robot -d output --loglevel TRACE .\TestCases\LaunchApp.robot ============================================================================== LaunchApp ============================================================================== LaunchApp | FAIL | ============================================================================== Output: D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\output\output.xml Log: D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\output\log.html Report: D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\output eport.html PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> PS D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code> robot -d output --loglevel TRACE .\TestCases\LaunchApp.robot [ ERROR ] Error in file 'D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\Keywords\Launch_App_Keywords.robot' on line 4: Error in file 'D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\TestCases\LaunchApp.robot' on line 5: Resource file with 'Test Cases' section is invalid. ============================================================================== LaunchApp ============================================================================== [ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No application is open TestCase-01 [UI] Verify Launch Application :: UI Test cases to che... | FAIL | WebDriverException: Message: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource ------------------------------------------------------------------------------ LaunchApp | FAIL | 1 test, 0 passed, 1 failed ============================================================================== Output: D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\output\output.xml Log: D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\output\log.html Report: D:\Automation\Appium_2024\Appium_My_Learn_Project\Appium_Learn_First_Project_with_VS_Code\output eport.html
i need for Mac
kzread.info/dash/bejne/a3iglKqfnJmqmMo.html
Is it possible to test electron based desktop application using Robot framework. How ?
Yes, you can test electron apps with Robot Framework by using SeleniumLibrary or Selenium2Library. Electron apps can be tested just as any browser.
I need to know how to install it on Mac please
Here's a video for the Mac installation, also from my channel: kzread.info/dash/bejne/a3iglKqfnJmqmMo.html
Hi, thanks for the great video. but can you help to create video how to verify toast message in appium robot framework
Hello, If you are reffering to those toast messages that briefly appear and dissapear from the UI, it cannot be automated, because the toast itself is not registered in the UI xml like all other elements
very good tutorial..Helped me to understand the concepts
Nice
I want to click a button on its right side. can someone please help me?
What library are you using?
Thanks I did complete watching - 1. too long, would be 5 minutes 2. not really doing any test but log, which means no handshake of robot with other code, thus won't tell you how they can interacted, or when fail how to debug.
Continue wathcing, including the playlist for mobile automation. You will get all the information you need 😀
I really appreciate this video, like training in the class, thank you so much.
This is really cool video. Thanks for sharing this.
make ios app testing using robot framework playlist plz
Thanks a lot, i am tying to run the basic .robot program using pycharm 2023.2.3, it is not having option for run
You can maybe try the other plugin for Robot Framework, called Robot Framework Launguage Server
how can achieve scrolling...could you please upload a video of scrolling in mobile automation
For scrolling on the mobile app interface you can use 2 keywords from AppiumLibrary: Swipe or Swipe By Percent
right now, the latest jdk was version 21. would your recommend to use this latest version?
I didn't make the update from 17 yet so I could not say at this time
Hi, Could you help me to find which plugins I need to use for *.resource file because all keywords are in white colour. So how I can get visual effect as like your IDE?
Hello, there is no other plugin than the one in the tutorial. Intellibot should work for both robot and resource files. Additionaly, you can install another plugin called Robot Framework Language Server, which is newer than intellibot and offers greater support. Don't forget to uninstall intellibot if you decide to go with the other one, as there cannot be 2 plugins for the same purpose in your IDE. Good luck
Hello uiautomatorviwer.bat file is missing Even there is no tools folder in sdk folder i followed and did exact same things like how u did Could you please let me know what should i do? I have java 8 version only
Thank you so much for the useful tutorial. The screens of the work done in editor would be more readable if it is in light theme for clarity and contrast. Kindly consider fixing this if it is in your bandwidth. So it helps others.
Thank you for the feedback. I intend to use bigger fonts in the next videos.
unfortunatelly the Chat21 is not there anymore so we can follow the tutorial
It seems that this app is not available in certain countries although is still available on Google Play. Regardless, you can search on Google for the chat21 apk and install it directly on your emulator with adb install chat21.apk (or whatever name your downloaded apk has)
Thank you so much.@@RobotFrameworkTutorials
kzread.info/dash/bejne/hH-CmZqspsmZnNo.htmlsi=vbXJEmH5qpSCN0ik
I don't see Robot.exe option menu in my Language and Frameworks. Is there any clue why?
Have you installed the plugin called intellibot #patched?
@@RobotFrameworkTutorials Yes, I did.
very good tutorial, but the music on background is distracting
Thanks for the feedback. I did remove the music in later videos