Webdriverio V7-Cucumber-RealTime Scenario -Part-1

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 47

  • @opensourceautomation-afsarali

    github.com/afsarali273/AutomationPracticeSite-WebDriverio-Cucumber
    00:00 Introduction and agenda
    2:52 Manual Scenario to Automate
    8:45 Cucumber Gherkins scenario
    21:30 Webdriverio installations
    33:35 Signup Scenario
    1:35:30 Sign In Scenario
    Part 2:
    czcams.com/video/q2iiLs1sBhU/video.html

    • @AmitVerma-pk5no
      @AmitVerma-pk5no Před 2 lety

      Cant we create step def on dry run as we can do with cucumber while using with selenium. Any way out when we are using webdriver io?

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety

      @@AmitVerma-pk5no yes you can do
      In a configuration file { dryRun: true }
      On the CLI $ cucumber-js --dry-run

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

    I love these tutorials. Best Webdriverio V7 video on CZcams!
    Plz ... upload Part-2 eagerly waiting Thanks!

  • @frontendtesting
    @frontendtesting Před 2 lety +2

    Great to see a full tutorial on Cucumber and WDIO V7. I did one way back, but haven't had the time to update it, so glad to see someone else put out a great video on it!

  • @nurlanabdrakmanov2205
    @nurlanabdrakmanov2205 Před 2 lety

    Perfect video! Thank you so much for awesome work!

  • @beautyna1
    @beautyna1 Před rokem

    Hi I am getting cucumberJson is not defined... None of the step definitions are passing! Any suggessions?

  • @Learnwithme-bg6bd
    @Learnwithme-bg6bd Před 7 měsíci

    Hi sir, Iam getting error node_modules/.bin/wdio wdio.conf.js
    'node_modules' is not recognized as an internal or external command,
    operable program or batch file.

  • @ihor607
    @ihor607 Před 8 měsíci

    My tests are executed succesfully even if I made wrong x-path locators

  • @Anaris13
    @Anaris13 Před rokem

    Hi sir, could you please explain how to re-run only failed scenarios but not entire feature file ? Is there any way to implement in with wdio+cucumber framework ?

  • @firuzakasirova5036
    @firuzakasirova5036 Před rokem

    You are amazing thanks a lot

  • @aksharak4860
    @aksharak4860 Před 2 lety

    @OpenSourceAutomation - Afsar Ali nice lecture it is helping a lot. i have a query can you share a small session on data management that is like world context for transfer of data from one step to another step in the test case

  • @marjierodrigues372
    @marjierodrigues372 Před 2 lety

    I am getting the following error :
    ERROR @wdio/utils:shim: ReferenceError: chai is not defined

  • @aryan436
    @aryan436 Před 2 lety

    Can you also share a video where you try to run this project in debug mode in Visual Studio

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

    Error: Invalid chai property toBeDisplayed? How to resolve this

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety

      You need to remove chai dependancies from package.json and also from config file as instructed in video.
      Hope this resolved your issue.

  • @ankitanand695
    @ankitanand695 Před 2 lety

    Thanks for providing such a nice tutorial.. could you provide some notes or website as I am completely new to this and also working. Need to learn a lot about this

  • @khoayeuha
    @khoayeuha Před 2 lety

    Having issues with faker after installing it. Cannot find module 'C:\Users\khoa\cucumber
    ode_modules\faker\index.js'. Please verify that the package.json has a valid "main" entry

    • @khoayeuha
      @khoayeuha Před 2 lety

      Fixed the issue by deleting the node_moduels and package.json file contents. Copied the package.json from your github and changed to the updated chromedriver. Then did a 'npm i'. That fixed it, now passing.

  • @beautyna1
    @beautyna1 Před rokem

    HI @alsar or anyone, We just migrated over to wdio7 and i wanted to know how i get all the previously written files to have async and await, any quick way progrmatically?

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

    Where is youtube/class2 branch?

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety

      A new branch is added now with part-2 video codes .
      Thanks for watching! Please subscribe if you have not done yet .

  • @diegoenriquejacobpulgar3159

    Hello, throws me the following error ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise "@wdio/cucumber-framework".

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety +1

      Make sure you have latest node version installed.

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

      @@opensourceautomation-afsarali I resolved it changing the kind of terminal of zsh to bash, thank you very much !!

    • @s.niraimathimathi7576
      @s.niraimathimathi7576 Před 2 lety

      @@diegoenriquejacobpulgar3159 Hi, Could you please let me know how to fix this issue..where to find the terminal as Zsh?

  • @opensourceautomation-afsarali

    Part 2:
    czcams.com/video/q2iiLs1sBhU/video.html

  • @roadapples5848
    @roadapples5848 Před 2 lety

    sir, it says it cannot find faker/index.js please tell what to do

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety

      Please make sure you have latest node installed ..
      Try to delete node_modules folder and run npm install
      If still have issues .. please share more details on my email ‘afsarali273@gmail.com’

    • @roadapples5848
      @roadapples5848 Před 2 lety

      @@opensourceautomation-afsarali Thankyou so much for your reply. I tried but still it shows "Please verify that the package.json has a valid "main" entry" .

  • @ninachav5262
    @ninachav5262 Před 2 lety

    hello, thanks for your awesome tutorial. Why do we need piton and java?

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety

      Some of the node package might need python .hence better to have it .and for Java its needed for running selenium server for Grid.
      Thanks for watching ! Please subscribe if not done already ! Share with your friends and colleagues !

  • @firuzakasirova5036
    @firuzakasirova5036 Před rokem

    Helo Ali, I have error when I ru this command node_modules/.bin/wdio wdio.conf.js

    • @firuzakasirova5036
      @firuzakasirova5036 Před rokem

      @Ashraf Ali what do you sugested me, how I can solve this problem

  • @beautyna1
    @beautyna1 Před 2 lety

    I keep getting error ----- Error: Cannot find module '@cucumber-framework @afsar

  • @rukkydidit8245
    @rukkydidit8245 Před 2 lety

    hello lovely video but i am able to link my steps on feature files with step.def.js

  • @beautyna1
    @beautyna1 Před rokem

    After uninstalling node modules and putting it back, I am getting account suspended.m @afsar

  • @beautyna1
    @beautyna1 Před 2 lety

    @OpenSourceAutomation - Afsar ali It keeps giving me a Error: Cannot find module '@cucumber-framework

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před 2 lety +1

      Hi , can you please try to delete node_module folder then install using npm install .. also check your node version is latest or not

    • @beautyna1
      @beautyna1 Před rokem

      @@opensourceautomation-afsarali I will try this now! Thanks

    • @beautyna1
      @beautyna1 Před rokem

      @@opensourceautomation-afsarali i am getting account suspended after doing this now!

    • @beautyna1
      @beautyna1 Před rokem

      @@opensourceautomation-afsarali ERROR on page: It has been reported to Microsoft for containing phishing threats

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Před rokem

      Hi
      I used this website which is being used for so long .. I don’t own that website . Now it’s been down seems .. will update my videos with website soon .. please stay tuned