Web App Testing with WebdriverIO - Crash Course
Vložit
- čas přidán 15. 07. 2024
- WebdriverIO is an E2E automation framework built to automate modern web and mobile applications. It simplifies the interaction with your app and provides a set of plugins that help you create a scalable, robust and stable test suite.
In this video, we will be covering - What is WebdriverIO? How you can set up WebdriverIO in your machine and how you can write and run E2E UI tests using WebdriverIO. At the end of the video, we will take existing tests and generate reports using the Allure Reporter.
✏️ Course created by Automation Bro. Check out their channel: / automationbro
💻 Code - github.com/automationbro/webd...
🔗 Node JS - nodejs.org/en/download/
🔗 WebdriverIO - webdriver.io/
⭐️ Course Contents ⭐️
⌨️ (00:00) WebdriverIO v7 Crash Course
⌨️ (01:03) What is WebdriverIO?
⌨️ (01:57) Advantages of using WebdriverIO
⌨️ (03:19) WebdriverIO Setup & Installation
⌨️ (09:31) Review Wdio.conf.js file
⌨️ (11:40) Review auto-generated tests
⌨️ (17:13) Create WebdriverIO test
⌨️ (22:14) Implement POM
⌨️ (24:43) Working with multiple elements
⌨️ (29:12) WebdriverIO Assertions
⌨️ (31:01) Waits in WedriverIO
⌨️ (43:59) Parallel testing with WebdriverIO
⌨️ (47:11) Generate Allure Report with WebdriverIO
⌨️ (51:20) Review what we covered
Website - automationbro.com/
Twitter - / automationbro
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news
Thanks so much for this! As a STE I need to know any and all automated frameworks. It’s so hard to find quality videos on these though, so thanks!
Wow, answered all the questions I had but couldn't find good answers to in the first 6 seconds. Thank you thank you thank you.
its quick and to the point. Helped me get started and intrigued enough.
Thank you. I need to get comfortable with asynch but your course was excellent.
I was just looking for this type of tutorial today.😇
Thank you for this!! It was very helpful for a newbie like me!!
Thank you for the WebDriverIO Video.
Thank you. More automation contents please.
Thanks for the introduction! Extremely neat! I subscribed then to his channel and bought his course over Udemy :)
what a nice tutorial, amazing!
You are my saviour. Thank you for the wonderful session
Excellent tutorial!
Thank you this, really helpful.
Thank you for sharing!
Thank you.. Very well explained
Great video!
This is awesome. I have been using puppeteer.
Thanks ❤️
very usefull video thanks!
Thank you for the awesome lecture! I am new to Webdriverio and it's really helpful!
How do you feel you are now with this tool?
More thanks
Thank
Can you please make a video on writing scalable backend in nodejs. And also how to use mongodb to support that scalable backend.
Greetings. Please turn on the subtitles to help us understand due we speak in other languages. Or when the pronunciation is not strictly native.
Im on mobile
It said no sub available
@@BearMeOut . Hi, Subtitling is a CZcams option that can be activated by whoever uploads the video. That allows to reproduce the spoken language in writing on the screen at the bottom.
Hello there, as far as I am aware, there could be 2 reasons this video does not have automatic captions:
1) The captions have not been made yet - these are done by YT algorithms, and take time
2) Automatic captions are disabled (by YT), for long videos
@@DestructoXxShaunxX - Now I Know, thanks...
Okay
I haven't watched the video and I've liked it already 😋😊 hope i'm wrong 🤔🤔😅
Aww🤩
What's the shortcut you're using to create the describe block pls?
How were the autogenerated tests created? I entered a different baseUrl during setup but on running the test, it opens the heroku url only. Whats causing this?
Is it normal for companies to task internees with automated testing?
I am running angular application using webdriverIo but the angular elements are not loading after running the application, is there any dependencies which i need to install for angular application
Can u make, how to upload file in West s3 bucket using nodejs
I tried setting up the project but now the version of @wdio/cli is 7.11.0 (in which no sync/async option is presented). The first few times it failed to run succesfully, until I eliminated the allure reporting option. It might help someone.
Good to know, thx!
Hi,
I am getting this error.
ERROR @wdio/local-runner: Failed launching test session: TypeError: ReporterClass is not a constructor
Can you please help?
why my config didn't have menu for sync/async, he choose it automatically async. Can someone explain me why?
Please make pyqt5 learning course!!
Maybe somebody knows why autocomplete methods and blocks(it, describe etc.) don't work in vscode? thanks
I suggest that you look for some snippets, or create your own. It will save you tons of time.
We want crash course for graphql
Hello min, add the subtitle in this video please🙏,
Hello, actually I am done with the setup and ran the In built test file but it is showing me " ERROR webdriver: Request failed with status 500 due to unknown error: unknown error: cannot find Chrome binary" also " Error: Failed to create a session." so anyone can help me out in this?
can someone please help when trying to run: allure generate allure-results && allure open. I am facing JAVA_HOME error
Got an error click is not a function. Can anybody help with this ?
npx wdio config
crashes
TypeError: relativePath.replaceAll is not a function
any ideas?
Thanks
Got an error that click function is not found. I did follow all steps up to that point
Any idea why the functions are not found?
I'm also facing the same issue. Did you find a resolution ? Pls share it.
Why on 29:05 whatever array count i put in it still says that the test has passed?
did you have the answer already?
Did you figure it out? Same issue here
@@mrspykerwolf not yet lol
What level english is that?, i am learning english but not today
Please make actual full manual software testing and automatic testing courses!
Thanks for all the content 🙏. Can you not yell for the intro please??
My code is showing async and await function. Is that something that I choose in the setup?
Did you ever figure this out? I'm having the same thing on my end
@@mrspykerwolf yes, removed the async from the configuration
How can i thank your channel . Ok when i grow up i will give you my salary
8:50
Third Comment
second comment 23 view 22 like
5th comments
subtitles please 😥my listening is not too good.
.
add some subtitle please, my english not so good
this guy are teaching o singing trap?
damn bait and switch... was expecting the first guy, then I get a harder accent :(
Who else has no idea what's going on anymore
why
Really bad English speaker, I had to stop the video, can't listen to it and focus
but I guess thats why its Free, right? heh
Hi, I used .toHaveTitle and my tests pass, but if I pass a random value instead of expected title. The test should fail but my test still passes. Please help if I am doing anything wrong. eg,. expect (landingPage.open).toHaveTitle('Get ready') Expected- Pass -- Result : Pass |||| expect (landingPage.open).toHaveTitle('abcd') Expected- Fail -- Result : Pass
Hi, I am having the same problem and I was relying on the results. Did you figure out the issue? All my tests pass when these are suppose to fail.
Hi again hey I was able to find a fix by using async - await... eg. await expect(SecurePage.flashAlert).toHaveTextContaining(
'Caracas') this should fail and it is failing now.
@@nilbertperez2924 thanks for your comment.even i had the same issue.but now working fine when i followed your comment.