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!
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
@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
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.
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 ?
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 !
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
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.
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?
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’
@@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" .
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
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
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?
@@AmitVerma-pk5no yes you can do
In a configuration file { dryRun: true }
On the CLI $ cucumber-js --dry-run
I love these tutorials. Best Webdriverio V7 video on RUclips!
Plz ... upload Part-2 eagerly waiting Thanks!
Uploaded new Part-2 ,Please have a look here :
ruclips.net/video/q2iiLs1sBhU/видео.html
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!
Thanks a lot Kevin ! This means a lot to me ! Really appreciate that😍
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
@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
Perfect video! Thank you so much for awesome work!
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.
Hi I am getting cucumberJson is not defined... None of the step definitions are passing! Any suggessions?
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 ?
I am getting the following error :
ERROR @wdio/utils:shim: ReferenceError: chai is not defined
My tests are executed succesfully even if I made wrong x-path locators
You are amazing thanks a lot
Can you also share a video where you try to run this project in debug mode in Visual Studio
hello, thanks for your awesome tutorial. Why do we need piton and java?
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 !
Error: Invalid chai property toBeDisplayed? How to resolve this
You need to remove chai dependancies from package.json and also from config file as instructed in video.
Hope this resolved your issue.
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
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.
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?
Hi , you should look into this webdriver.io/docs/async-migration/
Where is youtube/class2 branch?
A new branch is added now with part-2 video codes .
Thanks for watching! Please subscribe if you have not done yet .
sir, it says it cannot find faker/index.js please tell what to do
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’
@@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" .
Part 2:
ruclips.net/video/q2iiLs1sBhU/видео.html
Hello, throws me the following error ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise "@wdio/cucumber-framework".
Make sure you have latest node version installed.
@@opensourceautomation-afsarali I resolved it changing the kind of terminal of zsh to bash, thank you very much !!
@@diegoenriquejacobpulgar3159 Hi, Could you please let me know how to fix this issue..where to find the terminal as Zsh?
Helo Ali, I have error when I ru this command node_modules/.bin/wdio wdio.conf.js
@Ashraf Ali what do you sugested me, how I can solve this problem
hello lovely video but i am able to link my steps on feature files with step.def.js
I keep getting error ----- Error: Cannot find module '@cucumber-framework @afsar
After uninstalling node modules and putting it back, I am getting account suspended.m @afsar
Hi
Yes seems the website I used for automation is being removed .. or down at the moment
@OpenSourceAutomation - Afsar ali It keeps giving me a Error: Cannot find module '@cucumber-framework
Hi , can you please try to delete node_module folder then install using npm install .. also check your node version is latest or not
@@opensourceautomation-afsarali I will try this now! Thanks
@@opensourceautomation-afsarali i am getting account suspended after doing this now!
@@opensourceautomation-afsarali ERROR on page: It has been reported to Microsoft for containing phishing threats
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