Web App Testing with WebdriverIO - Crash Course

Sdílet
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

Komentáře • 88

  • @Meganalysis0119
    @Meganalysis0119 Před 3 lety +5

    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!

  • @hexatorus5452
    @hexatorus5452 Před 3 lety +1

    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.

  • @hiteshrawat
    @hiteshrawat Před 2 lety

    its quick and to the point. Helped me get started and intrigued enough.

  • @kpwhitfield1244
    @kpwhitfield1244 Před 3 lety

    Thank you. I need to get comfortable with asynch but your course was excellent.

  • @manishyadav7541
    @manishyadav7541 Před 3 lety +4

    I was just looking for this type of tutorial today.😇

  • @kumarsamudrala
    @kumarsamudrala Před 3 lety

    Thank you for this!! It was very helpful for a newbie like me!!

  • @yogeshalankarthurukonda6552

    Thank you for the WebDriverIO Video.

  • @ahmettemel8245
    @ahmettemel8245 Před 3 lety

    Thank you. More automation contents please.

  • @ledje761
    @ledje761 Před 2 lety

    Thanks for the introduction! Extremely neat! I subscribed then to his channel and bought his course over Udemy :)

  • @reyou7
    @reyou7 Před 3 lety

    what a nice tutorial, amazing!

  • @vigneshbala9973
    @vigneshbala9973 Před rokem

    You are my saviour. Thank you for the wonderful session

  • @xXAtom11Xx
    @xXAtom11Xx Před 3 lety

    Excellent tutorial!

  • @gnarenmba1
    @gnarenmba1 Před 2 lety

    Thank you this, really helpful.

  • @edudelta
    @edudelta Před 2 lety

    Thank you for sharing!

  • @parasrawat7287
    @parasrawat7287 Před 2 lety

    Thank you.. Very well explained

  • @CodeWithTomi
    @CodeWithTomi Před 3 lety +1

    Great video!

  • @TheRealKitWalker
    @TheRealKitWalker Před 3 lety

    This is awesome. I have been using puppeteer.

  • @ravi.webm2
    @ravi.webm2 Před 3 lety

    Thanks ❤️

  • @fabriziotechera5265
    @fabriziotechera5265 Před 2 lety

    very usefull video thanks!

  • @mahiradolan4160
    @mahiradolan4160 Před 2 lety +4

    Thank you for the awesome lecture! I am new to Webdriverio and it's really helpful!

    • @syed3313
      @syed3313 Před 2 lety

      How do you feel you are now with this tool?

  • @wirefred
    @wirefred Před 3 lety

    More thanks

  • @healthandfitness6544
    @healthandfitness6544 Před 3 lety

    Thank

  • @BcomingHIM
    @BcomingHIM Před 3 lety

    Can you please make a video on writing scalable backend in nodejs. And also how to use mongodb to support that scalable backend.

  • @panfiloalvaracouribemequet2521

    Greetings. Please turn on the subtitles to help us understand due we speak in other languages. Or when the pronunciation is not strictly native.

    • @BearMeOut
      @BearMeOut Před 3 lety

      Im on mobile
      It said no sub available

    • @panfiloalvaracouribemequet2521
      @panfiloalvaracouribemequet2521 Před 3 lety +2

      @@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.

    • @DestructoXxShaunxX
      @DestructoXxShaunxX Před 3 lety +1

      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

    • @panfiloalvaracouribemequet2521
      @panfiloalvaracouribemequet2521 Před 3 lety +2

      @@DestructoXxShaunxX - Now I Know, thanks...

  • @princeabu4722
    @princeabu4722 Před 3 lety

    Okay
    I haven't watched the video and I've liked it already 😋😊 hope i'm wrong 🤔🤔😅

  • @ModZaid
    @ModZaid Před 3 lety

    Aww🤩

  • @ayodejijoseph6864
    @ayodejijoseph6864 Před 2 lety

    What's the shortcut you're using to create the describe block pls?

  • @MotoCrazyy
    @MotoCrazyy Před rokem

    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?

  • @Raahim
    @Raahim Před 2 lety +1

    Is it normal for companies to task internees with automated testing?

  • @demo-mz5xz
    @demo-mz5xz Před rokem

    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

  • @venkatesh2788
    @venkatesh2788 Před 3 lety

    Can u make, how to upload file in West s3 bucket using nodejs

  • @jomarnavarro7
    @jomarnavarro7 Před 2 lety +3

    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.

    • @eg8580
      @eg8580 Před 2 lety

      Good to know, thx!

  • @himansuSoni
    @himansuSoni Před 3 lety

    Hi,
    I am getting this error.
    ERROR @wdio/local-runner: Failed launching test session: TypeError: ReporterClass is not a constructor
    Can you please help?

  • @bontorazvan5409
    @bontorazvan5409 Před 3 lety

    why my config didn't have menu for sync/async, he choose it automatically async. Can someone explain me why?

  • @hamzarashid7579
    @hamzarashid7579 Před 3 lety

    Please make pyqt5 learning course!!

  • @alexanderchapkouski2203
    @alexanderchapkouski2203 Před 3 lety +2

    Maybe somebody knows why autocomplete methods and blocks(it, describe etc.) don't work in vscode? thanks

    • @justsaying4471
      @justsaying4471 Před 3 lety

      I suggest that you look for some snippets, or create your own. It will save you tons of time.

  • @shivashankar6043
    @shivashankar6043 Před 3 lety +2

    We want crash course for graphql

  • @tomiirvan4714
    @tomiirvan4714 Před 3 lety +3

    Hello min, add the subtitle in this video please🙏,

  • @abhishekgosavi6425
    @abhishekgosavi6425 Před rokem

    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?

  • @krishnanarasimha1243
    @krishnanarasimha1243 Před 2 lety

    can someone please help when trying to run: allure generate allure-results && allure open. I am facing JAVA_HOME error

  • @sharonfrancis1859
    @sharonfrancis1859 Před 3 lety

    Got an error click is not a function. Can anybody help with this ?

  • @ourtv7325
    @ourtv7325 Před rokem

    npx wdio config
    crashes
    TypeError: relativePath.replaceAll is not a function
    any ideas?
    Thanks

  • @bbm6993
    @bbm6993 Před 3 lety

    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?

    • @sharonfrancis1859
      @sharonfrancis1859 Před 3 lety

      I'm also facing the same issue. Did you find a resolution ? Pls share it.

  • @chips2628
    @chips2628 Před 3 lety +2

    Why on 29:05 whatever array count i put in it still says that the test has passed?

    • @hm-zg3ee
      @hm-zg3ee Před 2 lety

      did you have the answer already?

    • @mrspykerwolf
      @mrspykerwolf Před rokem

      Did you figure it out? Same issue here

    • @chips2628
      @chips2628 Před rokem

      @@mrspykerwolf not yet lol

  • @fallckor
    @fallckor Před 3 lety

    What level english is that?, i am learning english but not today

  • @encapsulatio
    @encapsulatio Před 3 lety

    Please make actual full manual software testing and automatic testing courses!

  • @muralikrishnan3680
    @muralikrishnan3680 Před 3 lety

    Thanks for all the content 🙏. Can you not yell for the intro please??

  • @Glickan
    @Glickan Před rokem

    My code is showing async and await function. Is that something that I choose in the setup?

    • @mrspykerwolf
      @mrspykerwolf Před rokem

      Did you ever figure this out? I'm having the same thing on my end

    • @Glickan
      @Glickan Před rokem

      @@mrspykerwolf yes, removed the async from the configuration

  • @__Rizzler__
    @__Rizzler__ Před 3 lety +2

    How can i thank your channel . Ok when i grow up i will give you my salary

  • @bryce4174
    @bryce4174 Před 2 lety

    8:50

  • @stephen2685
    @stephen2685 Před 3 lety

    Third Comment

  • @redoansaleh
    @redoansaleh Před 3 lety

    second comment 23 view 22 like

  • @abhinavchoudhary6849
    @abhinavchoudhary6849 Před 3 lety

    5th comments

  • @deysilucero1758
    @deysilucero1758 Před 3 lety +1

    subtitles please 😥my listening is not too good.

  • @4ka14_rifanifahmihaerzi8

    add some subtitle please, my english not so good

  • @fallckor
    @fallckor Před 3 lety

    this guy are teaching o singing trap?

  • @technolus5742
    @technolus5742 Před 3 lety +6

    damn bait and switch... was expecting the first guy, then I get a harder accent :(

  • @wertiadreams7949
    @wertiadreams7949 Před 3 lety

    Who else has no idea what's going on anymore

  • @kc1087
    @kc1087 Před 3 lety +2

    Really bad English speaker, I had to stop the video, can't listen to it and focus

    • @kc1087
      @kc1087 Před 3 lety +4

      but I guess thats why its Free, right? heh

  • @DorothyM
    @DorothyM Před 3 lety +1

    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

    • @nilbertperez2924
      @nilbertperez2924 Před 3 lety

      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.

    • @nilbertperez2924
      @nilbertperez2924 Před 3 lety +3

      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.

    • @anjanaprakash6797
      @anjanaprakash6797 Před 2 lety +1

      @@nilbertperez2924 thanks for your comment.even i had the same issue.but now working fine when i followed your comment.