- 128
- 159 828
senior QA
India
Приєднався 21 лют 2017
Welcome to your seniorQA channel
Find videos related to QA Automation tools
Find videos related to QA Automation tools
Allure Reporting in Jenkins | Robot Framework
Here we see how to generate Allure reports in Jenkins for Robot Framework.
Notes:
1. Install Jenkins Plugin for Allure Report
2 Set Allure commandline path in Jenkins Global Tool (installing Allure cmdline from scoop)
3. Create a New Freestyle project to run robot test
4. Configure this project with the following:
a) GIT
b) Windows Execution Command (bat)
cd BrowserTest
robot --listener allure_robotframework:allure-results Assertions.robot
c) Path to allure-results
Consider Subscribing!!
Checkout other playlists:
Robot Framework (Eclipse + PyCharm): ua-cam.com/play/PLxpZfOtJA71xmuTyJkm7yMB7CWGgzTowy.html
Selenium WebDriver (with Java): ua-cam.com/play/PLxpZfOtJA71ysE8joiOrbc6pOn-bqk3Hy.html
Java for QA: ua-cam.com/play/PLxpZfOtJA71xfPSjBg9F378U7I-bPJd11.html
Python for Beginners: ua-cam.com/play/PLxpZfOtJA71w-hfH0kAPZ0gER-r8dY5oq.html
Espresso Mobile Test Automation: ua-cam.com/play/PLxpZfOtJA71zLdXKHCO_D3tpoIYF5pdOx.html
TestNG for QA: ua-cam.com/play/PLxpZfOtJA71z_kTSpMTG52g5ziwobhz_5.html
Hybrid UI Test Automation Framework (Selenium with Java): ua-cam.com/play/PLxpZfOtJA71wFV_Dz-Bz5HBto5gHRPesM.html
BDD (Cucumber): ua-cam.com/play/PLxpZfOtJA71w4V2NbfSSFCGYWzMZdkQCv.html
WebServices Testing: ua-cam.com/play/PLxpZfOtJA71yXUCqxfJj8YazYOLVKJNBY.html
Postman for API testing: ua-cam.com/play/PLxpZfOtJA71zQ1yPJ4tf4Ra4kKmULcSxZ.html
Rest-Assured for API test automation: ua-cam.com/play/PLxpZfOtJA71xWPfknvoSN2INB_Fu_O7fb.html
My Tech Stack:
1. Video Editing: Da Vinci Resolve 18
You can download it from here for free:
www.blackmagicdesign.com/products/davinciresolve
2. Thumbnails: Canva Pro
www.canva.com/youtube-thumbnails/templates/
Notes:
1. Install Jenkins Plugin for Allure Report
2 Set Allure commandline path in Jenkins Global Tool (installing Allure cmdline from scoop)
3. Create a New Freestyle project to run robot test
4. Configure this project with the following:
a) GIT
b) Windows Execution Command (bat)
cd BrowserTest
robot --listener allure_robotframework:allure-results Assertions.robot
c) Path to allure-results
Consider Subscribing!!
Checkout other playlists:
Robot Framework (Eclipse + PyCharm): ua-cam.com/play/PLxpZfOtJA71xmuTyJkm7yMB7CWGgzTowy.html
Selenium WebDriver (with Java): ua-cam.com/play/PLxpZfOtJA71ysE8joiOrbc6pOn-bqk3Hy.html
Java for QA: ua-cam.com/play/PLxpZfOtJA71xfPSjBg9F378U7I-bPJd11.html
Python for Beginners: ua-cam.com/play/PLxpZfOtJA71w-hfH0kAPZ0gER-r8dY5oq.html
Espresso Mobile Test Automation: ua-cam.com/play/PLxpZfOtJA71zLdXKHCO_D3tpoIYF5pdOx.html
TestNG for QA: ua-cam.com/play/PLxpZfOtJA71z_kTSpMTG52g5ziwobhz_5.html
Hybrid UI Test Automation Framework (Selenium with Java): ua-cam.com/play/PLxpZfOtJA71wFV_Dz-Bz5HBto5gHRPesM.html
BDD (Cucumber): ua-cam.com/play/PLxpZfOtJA71w4V2NbfSSFCGYWzMZdkQCv.html
WebServices Testing: ua-cam.com/play/PLxpZfOtJA71yXUCqxfJj8YazYOLVKJNBY.html
Postman for API testing: ua-cam.com/play/PLxpZfOtJA71zQ1yPJ4tf4Ra4kKmULcSxZ.html
Rest-Assured for API test automation: ua-cam.com/play/PLxpZfOtJA71xWPfknvoSN2INB_Fu_O7fb.html
My Tech Stack:
1. Video Editing: Da Vinci Resolve 18
You can download it from here for free:
www.blackmagicdesign.com/products/davinciresolve
2. Thumbnails: Canva Pro
www.canva.com/youtube-thumbnails/templates/
Переглядів: 3 759
Відео
Collections | Robot Framework
Переглядів 912 місяці тому
Here we understand another Standard Library from Robot Framework: Collections We go through various helpful method to work with Lists and Dictionaries Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/CollectionsLibTest/CollectionsTests.robot Checkout other playlists: Robot Framework (Eclipse PyCharm): ua-cam.com/play/PLxpZfOtJA71xmuTyJkm7yMB7CWGgzTowy.html Selenium WebDriver...
Press Keys | Browser Library | Robot Framework
Переглядів 1142 місяці тому
Here we cover interesting Keyword action keyword: Press Keys in Browser Library in Robot Framework Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/PressKeysTest.robot Consider Subscribing for more!! Find my posts in Medium: https:medium.com/@simraina Checkout other playlists: Robot Framework (Eclipse PyCharm): ua-cam.com/play/PLxpZfOtJA71xmuTyJkm7yMB7CWGgzTowy.h...
Take Screenshot | Browser Library | Robot Framework
Переглядів 1382 місяці тому
Here we cover yet another important topic in UI Test Automation: Able to take screenshot. And what's better than using this easy Browser Library keyword: Take Screenshot in our Robot Framework tests. Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/ScreenshotTest.robot Consider Subscribing for more interesting topics in Robot Framework. Checkout other playlists: ...
Run Robot Tests on Docker WSL
Переглядів 7752 місяці тому
Here we cover a complex topic of running Docker in Windows without using Docker Desktop. We use WSL 2 in Windows, setup Docker and run our robot tests. Checkout my Medium Post to get commands used in this video: medium.com/@simraina/run-robot-framework-tests-in-docker-using-wsl-in-windows-aec2cbfd2bbc OR Find the commands below: wsl install Open your Linux terminal in WSL (you can do this by ru...
Run Robot Tests in Jenkins | Robot Framework
Переглядів 3,2 тис.3 місяці тому
Here we see how easily we can run Robot tests in Jenkins in our localhost. We also use Robot Framework Plugin to publish report in Jenkins post tests execution. Consider Subscribing!! Fancy a read? Find the post on this video in my Medium: medium.com/@simraina/running-robot-framework-tests-in-jenkins-locally-1cda6e4ab6bb Checkout other playlists: Robot Framework (Eclipse PyCharm): ua-cam.com/pl...
Run Robot tests in Parallel using Pabot | Robot Framework
Переглядів 3,4 тис.3 місяці тому
Here we see how to run robot tests in parallel using a strong library: Pabot and below commands: pabot suitename pabot testlevelsplit suitename Get the code here: github.com/SimRaina/BrowserLibrary_RF/tree/master/BrowserTest/ParallelTests Consider Subscribing!! Checkout other playlists: Robot Framework (Eclipse PyCharm): ua-cam.com/play/PLxpZfOtJA71xmuTyJkm7yMB7CWGgzTowy.html Selenium WebDriver...
Rerun failed test in Robot Framework
Переглядів 2 тис.3 місяці тому
Here we cover popular topic in QA Automation on any tool: Rerunning only failed tests in a test run We cover how to do that in Robot Framework tests. Commands: To reurn failed test: robot rerunfailed output.xml output custom_name.xml testfilename.robot Also to merge the XMLs: rebot output output.xml merge custom_name.xml Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/Brows...
Include and Exclude Tags | Robot Framework
Переглядів 914 місяці тому
Here we learn how to include and exlude Tags in Robot Framework tests. Here are 4 ways: robot include TAGNAME FILENAME.robot robot exclude TAGNAME FILENAME.robot robot -i TAGNAME FILENAME.robot robot -e TAGNAME FILENAME.robot Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/Tags.robot Consider Subscribing!! Checkout other playlists: Robot Framework (Eclipse PyCha...
Test Template with FOR Loop | Robot Framework
Переглядів 1844 місяці тому
Can we use FOR loop with Test Template in Robot Framework? In this session we answer that. Watch till the end to understand this topic fully. Consider Subscribing!! Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/TestTemplateForLoop.robot Robot Framework User Guide: robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#test-templates Checkout oth...
Integrate RPA.Excel.Files in Browser Tests | Robot Framework
Переглядів 1144 місяці тому
Here we continue our session from previous one and integrate RPA.Excel.Files in Browser tests in Robot Framework. There is also interesting bonus keyword to look upon, so watch this video till the end. Thanks for the support!! Consider Subscribing!! Get the code here: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/ExcelDataUpdate_RPA.robot Checkout other playlists: Robot Framewor...
Manipulate Excel Data using RPA.Excel.Files | Robot Framework
Переглядів 2994 місяці тому
Here we cover reading, writing data from/into excel file using RPA.Excel.Files in Robot Framework. Find the RPA.Excel.Files documentation here: robocorp.com/docs/libraries/rpa-framework/rpa-excel-files Get the code in GitHub: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/ExcelDataReadWrite_RPA.robot Consider Subscribing for more!! Checkout other playlists: Robot Framework (Eclip...
JSONLibrary in Robot Framework
Переглядів 2474 місяці тому
Let's cover few keywords from JSONLibrary and use in our Browser Library Tests. Documentation link: robotframework-thailand.github.io/robotframework-jsonlibrary/JSONLibrary.html We cover: Add Object To Json Convert Json To String Delete Object From Json Get Value From Json Load Json From File Should Have Value In Json Should Not Have Value In Json Update Value To Json Get the code here: github....
Allure Reporting in Robot Framework | PyCharm IDE
Переглядів 3,7 тис.5 місяців тому
Here we see Allure reporting integration in PyCharm IDE for Robot Framework tests. Follow the steps in the below documentation link: allurereport.org/docs/robotframework/ OR 1. Pip install: pip install allure-robotframework 2. Add Run Configuration for robot test with args: listener allure_robotframework 3. For running the allure commands for generating report and opening, need to install allur...
Assert Robot Tests | Browser Library
Переглядів 1685 місяців тому
Here we learn about Assertions in Browser Library. Unlike SeleniumLibrary, here we do not have Assert Keywords but can use comparators, equals, contains, etc to assert. Mostly we can assert the values returned by GET keywords. Assertions in Browser Library Documentation: marketsquare.github.io/robotframework-browser/Browser.html#Assertions Get the code here: github.com/SimRaina/BrowserLibrary_R...
Frame Handling | Browser Library | Robot Framework
Переглядів 1535 місяців тому
Frame Handling | Browser Library | Robot Framework
Inspect Dynamic UI elements in Chrome | UI Test Automation
Переглядів 1355 місяців тому
Inspect Dynamic UI elements in Chrome | UI Test Automation
Cookies Handling | Browser Library | Robot Framework
Переглядів 2405 місяців тому
Cookies Handling | Browser Library | Robot Framework
Drag And Drop | Browser Library | Robot Framework
Переглядів 3356 місяців тому
Drag And Drop | Browser Library | Robot Framework
Launch Browsers | Selenium WebDriver v4.18.1
Переглядів 1866 місяців тому
Launch Browsers | Selenium WebDriver v4.18.1
Easy Selenium WebDriver Setup in Maven Project
Переглядів 2046 місяців тому
Easy Selenium WebDriver Setup in Maven Project
ImageHorizonLibrary | Alternative to SIKULI | Robot Framework | Desktop | Web UI Automation
Переглядів 6878 місяців тому
ImageHorizonLibrary | Alternative to SIKULI | Robot Framework | Desktop | Web UI Automation
Test Templates for each Test Cases | Robot Framework
Переглядів 5868 місяців тому
Test Templates for each Test Cases | Robot Framework
Alert Handling in Selenium WebDriver
Переглядів 1078 місяців тому
Alert Handling in Selenium WebDriver
What is Maven Life Cycle? | Interview Question
Переглядів 11710 місяців тому
What is Maven Life Cycle? | Interview Question
Multi Select Drop Down | Selenium WebDriver
Переглядів 77810 місяців тому
Multi Select Drop Down | Selenium WebDriver
Conditional Methods in Selenium WebDriver
Переглядів 14310 місяців тому
Conditional Methods in Selenium WebDriver
Selenium WebDriver | Interfaces and Classes
Переглядів 29611 місяців тому
Selenium WebDriver | Interfaces and Classes
Date Picker | Browser Library | Robot Framework
Переглядів 1,5 тис.Рік тому
Date Picker | Browser Library | Robot Framework
thanks
can you please explain little bit i want to trigger this image with git actions each time new builds uploads as well as daily at certain time
Hello, Do you have any example that how we can compare the text which is fetching from site with the data text which we have mentioned in the excel. Thanks in advance
@poulamichaudhuri9497 thanks for the comment. I can check on it and surely put a video with an example.
consegue fazer para o browser=firefox. eu não consegui colocar para abri a tela inteira
Olá Cassio, isso vai funcionar: *** Settings *** Library Browser *** Test Cases *** Open Firefox Maximized New Browser firefox headless=False New Context viewport=None New Page example.com Close Browser Além disso, encontre o código aqui no GitHub: github.com/SimRaina/BrowserLibrary_RF/blob/master/BrowserTest/FirefoxBrowser.robot
Thank you👍. This worked for me
hello there,im using macos and for build step i selected execute shell,and this is my command[cd Tests/. /n robot run.robot]. and i got this error "command not found Build step 'Execute shell' marked build as failure"
Hi there, make sure robot command is working in your local. You can try to run same command in your bash shell first before trying in Jenkins.
good job
Thank you for the video 🙏 Can also help to create a guide on how to automate the execution of allure commands after the robot test has been completed instead of manually executing from Terminal. Thank you and more power!
Actually there is a Plugin that can be installed in PyCharm IDE. It is called Allure TestOps. But I am facing issue with it. I will try to see a way to automate the steps and post a session on it soon. Thanks for your comment.
Awesome video and great job 👏 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Mate, your xpaths burnt out my eyes... I think you should work on it. Part of needed values you can either get through datetime or pendulum libraries. Multiple code repetitions doesn't help here either...
@maciejetmanowicz1412 Sorry to burn out your eyes, that was not the intention. Thanks for your suggestions.
For auto suggestions which plugins are installed?
@muzak_nat Are you asking about the library used for excel reading?
So happy to find your channel.) Thank you for this videos!
Thank you so much for the useful video! You are he best
Thanks, it helped.
Thanks Roshan.
How to do the same check on another remote server/machine ?
@skgunda I think winrs can be used to get into remote Windows machine using powershell. And then use the same commands to check.
@@seniorQA Let's say we have 100 servers. And I want to check for a particular location , ex E:\Path\Folder1\Folder2 on all 100 servers. If it's available may be I will outputt a string 'exists' and if unavailable then 'not exists'. Thanks again.
So checking more on this, there is Invoke-Command cmdlet that is used to execute commands on a remote machine. Below is untested code: # List of remote machine names or IPs $remoteMachines = @("Machine1", "Machine2", "Machine3", "Machine4",....,"Machine100) # The folder path to check $folderPath = "E:\Path\Folder1\Folder2" # Loop through each machine and check if the folder exists foreach ($machine in $remoteMachines) { # Using Invoke-Command to run the script block on remote machines Invoke-Command -ComputerName -Credential $machine -ScriptBlock { param ($folder) if (Test-Path -Path $folder) { # If folder exists echo "Folder exists." } else { # If folder does not exist echo "Folder doesn't exist." } } -ArgumentList $folderPath }
@@seniorQA Thank you so much. Will test this today.
Good video, thanks
Thank you!!
amazing video 👍👏 THANK YOU 🙏
amazing video 👏
Hi, I am unable to find .kaggle folder to place the JSON file any solution ?
Hi @c.saitejagoud9246 you can create .kaggle folder. You can use mkdir command in Windows.
Thanks!
Hi Thanks for your videos on browser library. it was very much useful and informative. For some of the videos I dont get audio. is there any thing i need to check at my side thanks
Thanks Gayathri. Yes there is no audio, just text instructions. Will try to add voice in future videos. 🙂
Thank you bro you've just saved my life
Nice!! Thanks.
Instead of passing xpath - Invalud credentials.. directly we can creat keyword Eg: Page should contain 'Invalid credentials '
your audio is panned to the right
You are right my friend. I didn't realize it during editing. I could have fixed it that time. Sorry for the inconvenience.
@@seniorQA no problem thanks for your video!
Always the best 👍👍👍 Thank you 🙏
Thank you for the video 🙏
any idea about ?
@@HabeebZiai you can checkout this link: ua-cam.com/video/eQCDJGQILxs/v-deo.htmlsi=uTqXfDuSe0i3CBqz
There is no github link in description
Nice video! Please make more videos on the Robot Framework Browser library. A slight correction to your code: it's not running with 'Type Secret'. We need to replace 'Type Secret' with 'Type Text' for it to run successfully; otherwise, it gets an error.
@DasharathArashingeri Thanks Dasharath. Sure.
@@seniorQA plzz make more videos on browser library from basic to intermediate and arrange the videos Playlist from easy to medium so that we can catch up the context easily
Hello! Thank you for the video. I'm curious about how to incorporate a FOR loop inside a Template. Specifically, I'm attempting to iterate through each row of an Excel file and use each row as an argument, do you know if this is possible?
Hi Martin. Thanks for your question. It is possible. You can check this documentation: robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#test-templates I will try an example and post.
Big thanks 😊 for uploading the video I requested! You nailed it, as always. Your content never disappoints, and this one was exactly what I needed. Keep being awesome! 👏
Appreciate your kind words. Thanks a ton!!
well explained
Hi, Thanks a lot for making this video! It’s exactly what I needed Really appreciate it! Thanks … thanks 🙏
Glad it was helpful!
@seniorQA sir, selenium code throwing nosuchelementexception at line 31 in the github code please check. You have used absolute xpath, can help with code by using relative path as absolute xpath is not good practice. Also when i try to inspect on any date in calendar option, i cannot see the relative html tag of the date to write the xpath. I dont know how you able to write absolute xpath. please help
Hi Spandana, I can check nosuchelementexcrption and update. I am not using absolute XPath. Absolute XPath starts with /html. I am using relative XPath starting with // everywhere.
@@seniorQA 🙏 thank you. When i try to inspect the date on calendar, calendar is closing. Unable to inspect the date and write the xpath
@@spandanakaru4628 It is a quick fix. Please find the link to the video: ua-cam.com/video/_r8tBz4Jt_U/v-deo.html Hope it will help!
Hello 👋, thank you for the video, please can you make a video of Assertions and in Browser Library… and more 🎉 Thank you
Thanks. Sure.
Hi there, Frame handling is here: ua-cam.com/video/eQCDJGQILxs/v-deo.html Assertions: next week for sure! Thanks!
That is a fast way of starting it. Nice job.
Hi, Thanks for the video, Is the library still maintained? I see that the last version was nearly 3 years ago ..
Right, the related Github looks dormant for a while with few pull requests in pipeline. Let's see if we come across any issue. It looks fine till now. We can surely open a thread in Github in case if any issue. Thanks for the comment.
Gratidão
I saw your code contain 'Wait Sleep', is this standard library keyword or your custom keyword?
Thanks for your comment. Wait Sleep is a custom keyword using hard sleep.
What are its adavantages and disadvantages over Sikuli ?
Thanks for your comment. In this video I was only able to talk about the quick setup advantage of ImageHorizonLibrary over Sikuli. Surely, as I explore it more I will be able to talk more about it in the next sessions. Recently while facing issues with Sikuli Library in Robot Framework I searched online and stumbled upon this place where I got to know about ImageHorizonLibrary - forum.robotframework.org/t/sikuli-library-throwing-error-in-robotframework/851/2
Can we pass the variables from here but link the actual values to an excel with little modification to this format?
Thank you SO MUCH!!!!!!!!!
Thank you for the video!
"Promosm"
how to replace admin1 or admin12 by ${admin1} or ${admin12} returned by keywords from resource file
Hi, thanks for the question, we can use [Arguments] to pass data from resource file. You can refer to other session. Link here: ua-cam.com/video/oeDTuHdBThY/v-deo.html
Can you share your mail id