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!
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 ?
@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
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
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" .
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 !
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:
czcams.com/video/q2iiLs1sBhU/video.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 CZcams!
Plz ... upload Part-2 eagerly waiting Thanks!
Uploaded new Part-2 ,Please have a look here :
czcams.com/video/q2iiLs1sBhU/video.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😍
Perfect video! Thank you so much for awesome work!
Hi I am getting cucumberJson is not defined... None of the step definitions are passing! Any suggessions?
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.
My tests are executed succesfully even if I made wrong x-path locators
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 ?
You are amazing thanks a lot
@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
I am getting the following error :
ERROR @wdio/utils:shim: ReferenceError: chai is not defined
Can you also share a video where you try to run this project in debug mode in Visual Studio
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.
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
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 .
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?
Part 2:
czcams.com/video/q2iiLs1sBhU/video.html
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" .
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 !
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
I keep getting error ----- Error: Cannot find module '@cucumber-framework @afsar
hello lovely video but i am able to link my steps on feature files with step.def.js
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