Part2- First Test Case in Robot Framework | File Extensions | Writing Robot File | Reporting
HTML-код
- Опубликовано: 30 авг 2019
- 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
####################################
RUclips 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
This is the best channel to learn any new technology. He explained everything in very simple way to understand. Good work!!!!
Thanks! 😃
Meru really sooper sir, 3yr back ee meru Robot framework explain chesaru.. Now the Recruiting team is asking for robot experience. so nice explanation.
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
So nice of you
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.
@@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
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.
Thank you so much sir, your video is very helpful for beginners like me to start Robot Framework Automation
You are the best
Clear and informative videos.
Thanks
amazing sir, keep making such videos
Thank you
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?
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?
Amazing sir well explained.
Thanks and welcome
Really liked it...so much hard work
most welcome
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.
I did but unable to recognise selenium framework in pycharm, please help
Did you resolved it? Can you hhelp me with same if you have done that
@@ragnargaming8029
Excellent, thank you!!!
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
thanks a lot sir for sharing this knowledge super
You are most welcome
thank you very much for this very well explained course
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!
@Aarav Wallace Instablaster ;)
@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.
@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 !
@Aarav Wallace Happy to help :D
Amazing !
Thanks
nicely covered
Thanks
great content. thank you!
welcome
Excellent Pawan.
Thanks
This is so helpful..Thank you
welcome
Top
Keep it up sir 🙏
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
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
Fantastic sir👍👍🙏🙏
Thanks
Nice Thank you a lot :)
Welcome
how do I configure the interpreter in IntelliJ for code completion? do you know >? I am using that instead of pycharm
Auto suggestion not shown for keywords while entered that in pycharm editor so could you tell what's the exact issue sir?
Hello Sir, when to use Click Link vs Click Element vs Click Button ? Please explain
@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
Can anyone tell me... Which command is used to find out the repeated text or duplicate text in robot framework
I installed the Selenium library and web drive but it is not active.
Hi, does anyone know if robotframework can test offline? To test PWA?
any solution :'module' object is not callable
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
Thanks!
Welcome!
🙏🙏🙏🙏Thank you sir
Most welcome
Sir can it be the combination ( java+ selenium+ robot framework)??
If yes then can you please give idea so that we can learn🙏🙏🙏
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.
Do you provide training in RF?
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
Thank you Sir.
You are most welcome
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?
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?
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)
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?
Hi, how to get those drop-down options?
I have one doubt..Before learning robot framework which skill should I have...?
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, 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"?
I think so. In this example need exactly "click button"
Hi, I have problem with intellibot selenium patched plugin
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.
for linux systems, how to define env variable if want to avoid chrome drver path command on pycharm
i want to know this too. please help
I have downloaded and installed everything as shown in video, while i type any keyword like Open browser, input text or anything the autosuggestion is not coming and the keywords are appearing in grey color if i type them manually. Can anyone please help I am feeling frustrated I have tried every possible way to resolve this even installed and uninstalled the python, selenium, robotframework, robotframework-seleniumlibrary, pycharm, plugins n all but its not working at all. Please reply on my comment if anyone has faced the same issue and resolved the same. It would be really helpful for me as I am actively preparing for the interviews.
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?
I tried by creating variable then also was not able to enter.
Got solution.. I used ESCAPE character like this \\value
Thanks.... 😁
Welcome
Can you guide one video how to generate allure report in robot framework
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.
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
i am not getting Library seleniumLibrary autosuggestion in setting....please help
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
I encountered an error when using Robot Framework: "Couldn't find a debug adapter descriptor for debug type 'robotframework-lsp' (extension might have failed to activate)." Can anyone help with this?
Hi sir, how to use WebDrivermanager in robot framework??
What is difference between click link and element both are clicking something we can use either of them ?
Initial login was a link and other one is a button so click element was used
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.
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
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.
Iam having trouble in running the test case the error is - 'module' object is not callable... any workaround for this issue ?
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
Not able to find the "Open Browser" keyword even though intellibot is installed.
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 :)
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.
Sir do you have same course in java
am not getting autotypes and suggestions even after installing intelliibot@seleniumlibrary patched...can anyone please help
IDE error occurred in that exception in plugin intelliBot @seleniumlibrary patched. Some tym error is there could plz tell me how to resolve it.
Did u get any resolution
Hi Sir..I am also facing same issue with intellibot plugin IDE FATAL ERROR : Exception plugin IntelliBot @SeleniumLibrary Patches.
How do we solve this keyword problem?
Answered by Prem Kumar:
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
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?
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
In pycharm autosuggestion is not showing i have installed the plugin intellibot
me too
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 guys we can even copy the chrome driver in direct project its easy
I got the below error in ubuntu :
[ ERROR ] Parsing 'TestCasesTc1.robot' failed: File or directory to execute does not exist.
Just give a forward slash(\) in between of Testcase and Tc1 i.e TestCase\Tc1.robot
hi pawan, Intellibot plugin installed. But keywords are not showing (like OpenBrowser, Close browser not updating in pycharm. Please help
Same thing for me also not showing
Hello Sir, great fan of your tutorials. Currently, I am stuck in an issue. when I try to execute my test case, firstly it shows me up this error : [18:44:59.826] USB: usb_device_handle_win.cc:1058 Failed to read descriptor from node connection: A
device attached to the system is not functioning. (0x1F). and secondly, it shows up the failed test case as a result. Can you please provide your valuable assistance on this problem? Thanks.
Just in case you are still searching answer. Maybe you are trying to login to some page whose element xpath is changing everytime you open it, try to follow same on Netflix webpage. It should work, it worked for me after same error.
And also can you make video if id is not present in inspect in websites
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 !
I got the same issue, who has any solution about this.. ?
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
@@prembarnwal thankss it worked
@@prembarnwal Thank you
@@prembarnwal thanks brother, it worked
En las versiones mas nuevas de Pycharm I always got IDE FATAL ERROR : Exception plugin IntelliBot @SeleniumLibrary Patches
but in ver 2.1 its working
Pycharm v2.1 ???
@@himz9832 perdón pero me equivoque.Sigue el mismo error.No entiendo que pasa.Hace una semana funcionaba sin problema.Reinstale windows y dejo de funcionar.
Perdón..
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 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
Im getting below error while adding steps unable to recognize the selenium predefined methods, installed intellibot@SeleniumLibrary Patched plugin
Probably constructor should be marked as NonInjectable. [Plugin: com.millennialmedia.intellibot@SeleniumLibrary Patched]
I am also getting the same error.
why is my pycharm not showing auto suggestion?
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.
I am not getting keyword suggestion how to do this?
Install the plugins
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
Hi Pavan, i keep getting error when i try to run the simple tests caes - ""Module object is not callable"
Use Chrome instead of chrome
Include chromedriver in python script folder and update path in environment variables. This will work.
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'
ERROR:gl_surface_egl.cc(668)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.
Hi sir I am facing problem while running the script.
I am getting error the term robot is not recognised as the name
"Plugin Error: Plugin "Robot Framework Support" is incompatible" can anyone help me on this?
Help for those who cannot create a Robot file in Pycharm
After doing what is described in this video
"Create a Robot File"
Step1: Open Pycharm
Step2: Install the Plugins
- File -> Settings -> PlugIns
- Browse Repositories -> Search Intellibot, Robot Framework Support
- Install the Plugins “Intellibot, Robot Framework Support” & restart Pycharm
Step3: Create a Robot File
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.