Part2- First Test Case in Robot Framework | File Extensions | Writing Robot File | Reporting
Topics:
-------
1) Project Folder Structure
2) File Extensions
3) Multiple sections in Robot file
4) Writing Test case
5) Variables & Keywords
6) Reporting
Robot Framework Keywords reference:
robotframework.org/SeleniumLib...
#########################
Udemy Courses:
#########################
Manual Testing+Agile with Jira Tool
************************************
► shorturl.at/xNXZ4
Selenium with Java+Cucumber
********************************
► shorturl.at/aIKMW
Selenium with Python & PyTest
********************************
► shorturl.at/ELW09
Selenium with python using Robot framework
****************************************
► shorturl.at/bcDPZ
API Testing(Postman, RestAssured & SoapUI)
*****************************************
► shorturl.at/uAWY7
Web & API Automation using Cypress with Javascript
********************************************
► rb.gy/4uum2n
Playwright with Javascript
**************************
► shorturl.at/gALZ1
Jmeter-Performance Testing
************************
► rb.gy/ocj7r2
SDET Essencials(Full Stack QA)
*************************
► rb.gy/hlnf2v
Appium-Mobile Automation Testing
************************************
► rb.gy/wmzv64
Java Collections
*****************
► bit.ly/3S66ezE
Python Programming
*********************
► urlis.net/gdsfpb0s
Cucumber BDD Framework
***************************
► bit.ly/3F7d69r
Protractor with Javascript
***************************
► urlis.net/4uddm1qb
####################################
KZread Playlists:
####################################
Manual Testing & Agile
***********************
► bit.ly/3ujvaYa
► bit.ly/3OYzxQj
SQL
*************************
► bit.ly/3R6XjeG
► bit.ly/3nE0a1s
► bit.ly/3IeKuuJ
linux & Shell Scripting
**********************
► bit.ly/3up1Z6a
► bit.ly/3nzvGxx
Java
**********************
► bit.ly/3R9QfOs
► bit.ly/3AoRMKM
► bit.ly/3IbTTDn
► bit.ly/3ybXInv
► bit.ly/3yCoHdw
Selenium With Java+Cucumber
********************************
► bit.ly/3P2FMm4
► bit.ly/3yhiIt4
► bit.ly/3uokzet
► bit.ly/3a7XIND
► bit.ly/3umN2S9
► bit.ly/3aar7GW
► bit.ly/3y9kD2S
► bit.ly/3uhLskn
Python
********************************
► bit.ly/3agNgU0
► bit.ly/3NJNnoy
► bit.ly/2CTQ4mR
► bit.ly/3OIYWh1
Selenium With Python,Pytest&Behave
***************************************
► bit.ly/3OHHoC9
► bit.ly/3IeNLdv
► bit.ly/2J4tPeT
► bit.ly/3ydSkAq
Selenium With Python Using Robert Framework
(Web&API Testing)
*************************************************
► bit.ly/3nUvlpr
► bit.ly/3nUvE3z
API Testing (Postman,SoapUi,&Rest Assured)
**********************************************
► bit.ly/3OXacWY
► bit.ly/3yh0UhE
► bit.ly/3nC9DWQ
► bit.ly/3yGfhNS
► bit.ly/3OJa11H
► bit.ly/3P2slCC
Mobile App Testing Appium
****************************
► bit.ly/3Al49HG
Performance Testing Jmeter
*******************************
► bit.ly/3nz4fE7
Maven,Jenkins,Git,Github,CI/CD
*******************************
► bit.ly/3P16HPj
► bit.ly/3yhlUVA
► bit.ly/3afYfwT
► bit.ly/3yGzweG
► bit.ly/3yF73Ws
► bit.ly/3NCOmH7
SQL,DB Testing&ETL,Bigdata
*******************************
► bit.ly/3NKOcNY
► bit.ly/3OVpDyI
► bit.ly/3NEvUy0
► bit.ly/3IryxlT
► bit.ly/3RkWBLh
JavaScript Based Automation Tools
********************************
► bit.ly/3nUx51X
► bit.ly/3AqI6Q0
► bit.ly/3yeurbT
► bit.ly/3ujzpTK
Selector Hub Tools
********************
►rb.gy/h3h424
GraphQL
******************
► rb.gy/sj3gys
Cypress API Testing
********************
► shorturl.at/fjKPX
Cypress Web Testing
**********************
► shorturl.at/agjlK
Playwright with Javascipt
**************************
► shorturl.at/adSTY
#RobotFramework
#TestAutomation
#TestCase
#AutomationTesting
#QA
#SoftwareTesting
#TestScript
#TestScenario
#TestSuite
#Selenium
#AutomatedTesting
#QualityAssurance
#TestDrivenDevelopment
#ContinuousIntegration
#KeywordDrivenTesting
#UIAutomation
#WebTesting
#APIAutomation
#TestExecution
#TestResults
#TestingFramework
#OpenSource
#Python
#CodeCoverage
#AgileTesting
#BDD
#Cucumber
#KeywordDrivenFramework
#AcceptanceTesting
#RegressionTesting
#TestCases
#AutomatedTests
#SoftwareQuality
#CrossBrowserTesting
#TestAutomationFramework
#TestDesign
#DataDrivenTesting
#TestReport
#ContinuousDelivery
#DevOps
#TestManagement
#TestPlan
#QualityEngineering
#CI/CD
#AutomatedTestCases
#TestEnvironment
#TestingTools
#TestScenarios
#TestHarness
#TestRail
Пікірлер: 260
Meru really sooper sir, 3yr back ee meru Robot framework explain chesaru.. Now the Recruiting team is asking for robot experience. so nice explanation.
Very useful videos, I am a fresher to robot framework who did not know abc of it and this video made my robot framework learning very smooth.
This is the best channel to learn any new technology. He explained everything in very simple way to understand. Good work!!!!
@sdetpavan
3 жыл бұрын
Thanks! 😃
hi Sir,these are really worth videos thanks a lot for sharing the content . Guys who are reading the comment and really want to learn robot framewokr here is the Pavan sir who always explained in a laymen teminology so that everyone understands. And one small request guys, since this pavan sir is doing this much for us,pls donot skip the adds,just watch fully PAvan sir will get the income.This is the least way we can help him. Thanks Pavan sir
@sdetpavan
3 жыл бұрын
So nice of you
@julianh1100
Жыл бұрын
Yes you are absolutely right. Thank you so much for these videos, they really helped me understand robot framework without having to bother colleagues with ''dumb'' questions. If I can support you in any way like watching ads I will surely do.
@jayendrakumaryadav8164
Жыл бұрын
@@sdetpavan it really help me i was getting issue while running first test case but now it is resolved working fine thank you pavan sir €you are a gem
Thank you so much sir, your video is very helpful for beginners like me to start Robot Framework Automation
Beware: you might not get selenium or robot framework recognized on first try. It could be a silly fix, if you've been following these great tutorials: at first he created a test project to show how to set up packages and plugins (on previous video). Then he created a new one for the actual automation suite. Thing is, if you've done the same, you might have forgotten to add the packages to this new project. So just select the new project > File > Settings > Project:yourproject > Python Interpreter > Add selenium, robotframework and robotframework-seleniumlibrary. Then restart Pycharm.
@ragnargaming8029
Жыл бұрын
I did but unable to recognise selenium framework in pycharm, please help
@harikrishnan7702
3 ай бұрын
Did you resolved it? Can you hhelp me with same if you have done that @@ragnargaming8029
I wasn't able to execute my test within Pycharm the way the video shows. So this is what I did: opened a terminal (git bash, in this case), went to the project/TestCases folder as the current directory and executed this command: python -m robot TC1.robot
in selenium, we use the driver.switch to.frame() like this . if the possibility to select a frame in the robot tool. And robot framework supports the data provider?
Clear and informative videos.
@sdetpavan
Жыл бұрын
Thanks
Amazing sir well explained.
@sdetpavan
4 жыл бұрын
Thanks and welcome
amazing sir, keep making such videos
@sdetpavan
Жыл бұрын
Thank you
You are the best
Really liked it...so much hard work
@sdetpavan
Жыл бұрын
most welcome
thanks a lot sir for sharing this knowledge super
@sdetpavan
Жыл бұрын
You are most welcome
31:33 How does Robot know user defined keywords. Is LoginToApplication keyword exist in a library? Or can you just create whatever "keywords" you like and robot just interpret it as a keyword by virtue of it having commands below it? Is "keyword" sort of a user defined function?
thank you very much for this very well explained course
@aaravwallace9161
2 жыл бұрын
I dont mean to be so offtopic but does someone know a trick to log back into an instagram account?? I was dumb forgot my password. I would appreciate any assistance you can offer me!
@cohenpeyton3080
2 жыл бұрын
@Aarav Wallace Instablaster ;)
@aaravwallace9161
2 жыл бұрын
@Cohen Peyton i really appreciate your reply. I found the site on google and I'm trying it out atm. Takes a while so I will get back to you later with my results.
@aaravwallace9161
2 жыл бұрын
@Cohen Peyton It worked and I now got access to my account again. I'm so happy:D Thank you so much you saved my ass !
@cohenpeyton3080
2 жыл бұрын
@Aarav Wallace Happy to help :D
nicely covered
@sdetpavan
Жыл бұрын
Thanks
Excellent Pawan.
@sdetpavan
Жыл бұрын
Thanks
Top
Amazing !
@sdetpavan
Жыл бұрын
Thanks
Hello Sir, I wanted to use this robot framework in VS code , do you have any reference videos that made or any recommendations that you suggest to look into on the same?, thanks
Keep it up sir 🙏
@sdetpavan
Жыл бұрын
Thanks
good one .thanks I am new to this but help me alot and I am trying to automate for ITSM tickets module ..if you have any video pls share me the link for same.. till then I am going all your videos
Excellent, thank you!!!
@sdetpavan
Жыл бұрын
Welcome
This is so helpful..Thank you
@sdetpavan
Жыл бұрын
welcome
Hi paven sir, when I'm writing keywords the autosuggest is not working can you please whether we need to install any jar file or any settings we need to change
great content. thank you!
@sdetpavan
Жыл бұрын
welcome
Fantastic sir👍👍🙏🙏
@sdetpavan
Жыл бұрын
Thanks
I have one doubt..Before learning robot framework which skill should I have...?
Intellibot doesn't cooperate with the new version of PyCharm. Plenty of errors: java.lang.ClassCastException: class com.intellij.psi.impl.file.PsiDirectoryImpl cannot be cast etc... etc... and so on..... Will try with VisualStudioCode.
Thanks!
@sdetpavan
3 ай бұрын
Welcome!
🙏🙏🙏🙏Thank you sir
@sdetpavan
3 ай бұрын
Most welcome
Hi Sir, I am following your video for robot framework and find its really helpful to learn robot framework. but now i am facing one chainage now.... which is "[ ERROR ] Parsing 'path of file' failed: File or directory to execute does not exist." can you help me with the reason of this issue and how to resolve it???? that would be a great help for me. Thanks in advance
Hi Sir, While I am trying to write first testcase i am getting error with the plugin. Plese find the below error and let me know how to resolve this. Cannot distinguish StubFileElementTypes. This might worsen the performance. Providing unique externalId or adding a distinctive debugName when instantiating StubFileElementTypes can help (override getExternalId() and/or getDebugName() in StubFileElementType). See attachment for additional information.
how do I configure the interpreter in IntelliJ for code completion? do you know >? I am using that instead of pycharm
Hello Sir, when to use Click Link vs Click Element vs Click Button ? Please explain
Auto suggestion not shown for keywords while entered that in pycharm editor so could you tell what's the exact issue sir?
Hi Sir, your videos are really understandable. Why we have to use id for input fields instead of xpath and why we are using "click element" and not "click button"?
@yuriyprituzhalov5877
Жыл бұрын
I think so. In this example need exactly "click button"
How to Download the Browser drivers dynamically with out passing the path of .Exe file in script folder, like creating our own Keywords or resource file, kindly do a session on this concept.
Install the following version of selenium - 3.141.0, robotframework - 3.1.2 robotframework-seleniumlibrary - 3.3.1 in python interpreter of Pycharm IDE for the smooth functioning of Robot Framework Test Execution
@yatendrasingh9832
3 жыл бұрын
I follow same steps unable to get selenum steps
@shubhadapatil2413
2 жыл бұрын
I am getting TypeError: 'module' object is not callable error while executing script
@gouthambravi5554
2 жыл бұрын
@@shubhadapatil2413 same here did it solve for u??
i got the error to disable the plugin "intellibot structured" after i disabled the plugin and added "intellibot" and "robot framework to the plugins"it will work without any error.And got open browser keyword not found due to i didnt give double space between library and selenium library in the settins.after i gave double space it will work(after i came to know indentation concept is very most important in python)
Sir can it be the combination ( java+ selenium+ robot framework)?? If yes then can you please give idea so that we can learn🙏🙏🙏
Why robotframework is not displaying in pycharm when I try to installing packages but when I type ‘pip list it shows robotframework and robotframework-selenium library is there but not is the pycharm list
Hi sir, When I follow the same, I could not able to get the Open browser as auto suggestion. Can you tell me where i might be made a mistake
I can't able to locate the element eventhough the element is not un I can able to check the title of the page Only thing can't able to locate the element . Followed your process of installation. Please help me in this its really neede to improve my career
Thank you Sir.
@sdetpavan
Жыл бұрын
You are most welcome
Can anyone tell me... Which command is used to find out the repeated text or duplicate text in robot framework
What if there is more delay in web page loding after click on login ? Will it antomatically wait for it?
Sir, Unable to add robot framework selenium library. Please help. I did same process as you said also installed all packages as well.
Can you guide one video how to generate allure report in robot framework
I installed the Selenium library and web drive but it is not active.
Not able to install robotframework and robotframework-selenium library in to pycharm But both of them are shows in ‘C’ drive when I type ‘pip list’ Pls advise .. thanks
Hi sir, I am getting "SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 83" this error,while executing the command. I updated the driver present in my system to the actual version of my chrome, which is 87.0. But still i am getting the same error. Where might be the issue?
@SDET sir i am facing issue in launching browser currently i am giving executable path and driver location but unable to launch could you please help me out where i went wrong??? and specifically i need to run driver in path itself no need to use other option by setting env variable/python/scripts
Do you provide training in RF?
I installed Libraries and plugins as stated in the video, but still not able to get the auto-suggestion in pycharm. Anyone can help pls?
Thanks.... 😁
@sdetpavan
Жыл бұрын
Welcome
any solution :'module' object is not callable
Hi, I have installed Intellibot SeleniumLibrary Patched. but since then am getting -java.lang.ClassCastException: class com.intellij.psi.impl.file.PsiDirectoryImpl cannot be cast...I'm not getting auto suggestions while scripting due to this possibly. I even tried to work with SeleniumLIbrary 3.3.1 but still no luck. Can anyone help me here?
Pawan Sir: I am facing the below issue: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 74 my PIP list as follows: robotframework 3.2.1 robotframework-seleniumlibrary 3.3.1 selenium 3.141.0 I am using Windows 7 64 bit Also it is not giving the autocomplete option as I have installed the intellibot@selenium patch Pawan Sir please advice
Hi, I have problem with intellibot selenium patched plugin
how will resolve the below issue : robot : The term 'robot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + robot Testing\Testcase.robot + ~~~~~ + CategoryInfo : ObjectNotFound: (robot:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Hi, does anyone know if robotframework can test offline? To test PWA?
Iam having trouble in running the test case the error is - 'module' object is not callable... any workaround for this issue ?
I'm getting an error - This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed, create an association in the Default Apps Settings page.
In pycharm autosuggestion is not showing i have installed the plugin intellibot
@harharmahadevinusa
3 жыл бұрын
me too
What is difference between click link and element both are clicking something we can use either of them ?
@charanbudama2601
3 жыл бұрын
Initial login was a link and other one is a button so click element was used
Not able to find the "Open Browser" keyword even though intellibot is installed.
@yassinelamarti4157
3 жыл бұрын
I had the same issue, but I found the solution in @dark Shadow comment. You can just change the version of robotframework-seleniumlibrary to 3.3.1 ! , restart your PyCharm application and THAT SHOULD WORKS :)
if someone doesn't get the autosuggestion for Library use ***Settings*** instead of ***settings***. (Capital letter S instead of small letter s).
@SuperMechtronics
3 жыл бұрын
Thank you
@Muhammadzohaib-tx2nw
2 жыл бұрын
Sir, i am still not getting autosuggestions. Do you have any other tip?
@sumanthking5251
4 ай бұрын
Thanks bro I was struggling for that
if you follow along the tutorial, there is a monor change: click element xpath://button[@class='button-1 login-button']
IDE error occurred in that exception in plugin intelliBot @seleniumlibrary patched. Some tym error is there could plz tell me how to resolve it.
@swatikamohapatra7209
Жыл бұрын
Did u get any resolution
Sir, I'm not able to run the program it's failing and showing the error chrome driver.exe executable needs to be in path. I'm using Ubuntu OS
This report format is nice but how do I send this report to my manager or someone else . It's saved within the project path only, Can anyoen please let me know how do i send this complete report to others
i am not getting Library seleniumLibrary autosuggestion in setting....please help
#loginToApplication keyword works as a CLASS containing all the attributes.
Hi Pavan could you please let me know if I need to enter value(we\asd.fde) in text like this, having \ character, then how should I tackle this?
@kapilsakla
4 жыл бұрын
I tried by creating variable then also was not able to enter.
@kapilsakla
4 жыл бұрын
Got solution.. I used ESCAPE character like this \\value
Hi, how to get those drop-down options?
for linux systems, how to define env variable if want to avoid chrome drver path command on pycharm
@prajaktashelar-mali4232
3 жыл бұрын
i want to know this too. please help
Bro, you need Maximize Browser Window after Open Browser) And everything will be OK)
Hi sir, how to use WebDrivermanager in robot framework??
Hi guys we can even copy the chrome driver in direct project its easy
why is my pycharm not showing auto suggestion?
@gyanbablu
3 жыл бұрын
Download intellibot jar from github and then go to setting -->plugins-->install from disk then upload the downloaded intellibot jar and restart pycharm. auto suggestion should start working.
hi pawan, Intellibot plugin installed. But keywords are not showing (like OpenBrowser, Close browser not updating in pycharm. Please help
@subrahmanyamvadlamaanee5653
18 күн бұрын
Same thing for me also not showing
And also can you make video if id is not present in inspect in websites
Hi all, Any one can tell me how to stop the browser closing automatically in robot framework, even though I am not using close browser command.
I am getting error the term robot is not recognised as the name
Hi Vinay, what we have to do if the list of options are not coming when we type just open. Ideally open browser should come with other options . I dont know why it is not coming.
@manojkumarrajasekar2833
4 жыл бұрын
This suggestion issue is working fine after following below steps: Go to cmd > until python script folder Uninstall the latest lib using pip uninstall robotframework-seleniumlibrary Now install this lib using pip install robotframework-seleniumlibrary==3.3.1
Hi, i'm stuck in an issue, AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath'
@z.abidulla3065
Жыл бұрын
ya same error facing....can anyone pls help to resolve the issue
@mohitsharma2316
10 ай бұрын
Use Service instead to create the webdriver instance and then you'll get find_elements instead of find_elements_by_xpath... Probably the webdriver change it is
I am not getting keyword suggestion how to do this?
@malluabroad-malayalam8068
3 жыл бұрын
Install the plugins
am not getting autotypes and suggestions even after installing intelliibot@seleniumlibrary patched...can anyone please help
I got the below error in ubuntu : [ ERROR ] Parsing 'TestCasesTc1.robot' failed: File or directory to execute does not exist.
@alokeducationexplore3301
Жыл бұрын
Just give a forward slash(\) in between of Testcase and Tc1 i.e TestCase\Tc1.robot
Sir do you have same course in java
Getting error as AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath'........Could any one pls help to resolve the issue
Hi sir I am facing problem while running the script.
ERROR:gl_surface_egl.cc(668)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.
How to run a specific testcase? for eg: i want to run the test case 'LoginTest' in the TC1.robot which having multiple test cases
Hello Sir I am NOT getting auto suggestion even though I installed "Intellibot @SeleniumLibrary Patch" and Also I am getting different kind of robot icon for .robot file and *** Settings *** *** Variables *** *** Test Cases *** *** Keywords *** are visible grayed in stead of Green shown in video... Can you please help me asap on this !
@levuhoang3604
4 жыл бұрын
I got the same issue, who has any solution about this.. ?
@prembarnwal
4 жыл бұрын
download the zip from github.com/lte2000/intellibot/tree/develop and extract it. Then go to settings/plugins and install the jar by selecting the setting button and select Install Plugin from disk and select the downloaded jar
@mansijain5887
4 жыл бұрын
@@prembarnwal thankss it worked
@TheMrAlesT
3 жыл бұрын
@@prembarnwal Thank you
@Muhammadzohaib-tx2nw
2 жыл бұрын
@@prembarnwal thanks brother, it worked
Can anyone help to resolve below error. my test fails where it need to click the link. I tried other websites too but same error. AttributeError: 'WebDriver' object has no attribute 'find_elements_by_xpath'
Aauto complete is not working . I have installed the patch IntelliBot @SeleniumLibrary . Here is setup details : Pycharm 2020.2.3, Robot Framework 3.2.2 and SeleniumLibrary 4.5.0 . Is there something I am missing?
@nkareno
3 жыл бұрын
Was struggling with this for hours... and then found out that at some point along the way the file extension *.robot had gotten assigned to 'Robotframework language file' instead of 'Robot Feature files'. Instructions to fix: superuser.com/questions/1442492/intellibot-seleniumlibrary-patched-plugin-does-not-work-on-pycharm-mac Quick steps: Project settings -> Editor -> File Types -> Look for 'Robot Feature files' -> add (+) *.robot
Thank you . Below is the issues i am facing : 1. I am unable to get the suggestions while writing the code .[Intellibot @SeleniumLibrary plugin is installed successfully ]
@somyakantapradhan883
4 жыл бұрын
Hi @Sanyal Follow below steps. 1. settings project interpreter > robotframework 3.1.2 > robotframework-seleniumlibrary 3.3.1 instead of 4.1.0 that u can select in right bottom of screen and select the versions and > selenium and click ok After now go to plugins type intellibot and find intellibot@ selenium install and restart IDE. Note: As you've already installed Intellibot @SeleniumLibrary plugin, I'll suggest uninstall it by navigating to INSTALLED tab of plugin - restart IDE & again add the plugin. It worked for me, hope same for you.
@taushifkhan9918
3 жыл бұрын
@@somyakantapradhan883 You mean instead of robotframework SeleniumLibrary 3.3.1 I should use 4.1.0?
@somyakantapradhan883
3 жыл бұрын
Yes
@taushifkhan9918
3 жыл бұрын
@@somyakantapradhan883 its still not working for me. Can you help me with this
@somyakantapradhan883
3 жыл бұрын
Let me try again..and will update here soon