Webdriverio V7-Cucumber-RealTime Scenario -Part-1

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

Комментарии • 47

  • @opensourceautomation-afsarali
    @opensourceautomation-afsarali  3 года назад

    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:
    ruclips.net/video/q2iiLs1sBhU/видео.html

    • @AmitVerma-pk5no
      @AmitVerma-pk5no 2 года назад

      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  2 года назад

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

  • @dabbaranagarjuna3306
    @dabbaranagarjuna3306 3 года назад +4

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

  • @frontendtesting
    @frontendtesting 2 года назад +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!

  • @ankitanand695
    @ankitanand695 2 года назад

    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

  • @aksharak4860
    @aksharak4860 2 года назад

    @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

  • @nurlanabdrakmanov2205
    @nurlanabdrakmanov2205 2 года назад

    Perfect video! Thank you so much for awesome work!

  • @Learnwithme-bg6bd
    @Learnwithme-bg6bd 8 месяцев назад

    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.

  • @beautyna1
    @beautyna1 Год назад

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

  • @Anaris13
    @Anaris13 Год назад

    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 ?

  • @marjierodrigues372
    @marjierodrigues372 2 года назад

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

  • @ihor607
    @ihor607 9 месяцев назад

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

  • @firuzakasirova5036
    @firuzakasirova5036 Год назад

    You are amazing thanks a lot

  • @aryan436
    @aryan436 2 года назад

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

  • @ninachav5262
    @ninachav5262 2 года назад

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

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  2 года назад

      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 !

  • @sujithas4595
    @sujithas4595 3 года назад +1

    Error: Invalid chai property toBeDisplayed? How to resolve this

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  3 года назад

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

  • @khoayeuha
    @khoayeuha 2 года назад

    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 2 года назад

      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 2 года назад

    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 3 года назад +1

    Where is youtube/class2 branch?

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  3 года назад

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

  • @roadapples5848
    @roadapples5848 2 года назад

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

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  2 года назад

      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 2 года назад

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

  • @opensourceautomation-afsarali
    @opensourceautomation-afsarali  3 года назад

    Part 2:
    ruclips.net/video/q2iiLs1sBhU/видео.html

  • @diegoenriquejacobpulgar3159
    @diegoenriquejacobpulgar3159 2 года назад +1

    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  2 года назад +1

      Make sure you have latest node version installed.

    • @diegoenriquejacobpulgar3159
      @diegoenriquejacobpulgar3159 2 года назад +1

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

    • @s.niraimathimathi7576
      @s.niraimathimathi7576 2 года назад

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

  • @firuzakasirova5036
    @firuzakasirova5036 Год назад

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

    • @firuzakasirova5036
      @firuzakasirova5036 Год назад

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

  • @rukkydidit8245
    @rukkydidit8245 2 года назад

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

  • @beautyna1
    @beautyna1 2 года назад

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

  • @beautyna1
    @beautyna1 Год назад

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

  • @beautyna1
    @beautyna1 2 года назад

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

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  2 года назад +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 Год назад

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

    • @beautyna1
      @beautyna1 Год назад

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

    • @beautyna1
      @beautyna1 Год назад

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

    • @opensourceautomation-afsarali
      @opensourceautomation-afsarali  Год назад

      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