Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help you solve common issues that you face with automation. sdetunicorns.com/courses/
Thank you, check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation. sdetunicorns.com/courses/
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation. sdetunicorns.com/courses/
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation. sdetunicorns.com/courses/
Many thanks for your tut !!! Really great and unique content!! I have only one remark about the video, it would be nice if you change dev tools scale parameter, it would make it easier to watch on mobile. Anyway, thank you one more time for your efforts and I wish your channel many many new subs and views! :)
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation. sdetunicorns.com/courses/
One question I have is how does WebDriverIO handle softAsserts with expect? If your demo were to fail the first expect, would the remaining three assertions still execute? Or would the test just stop dead? With softAsserts all validations execute regardless if they fail. I prefer softAssets as it gives me a better estimation at Planning Sessions if I know how much of my test, or test suite, is failing.
Hi Paul, there's no in-built support for soft asserts as ofd now but you can use any external library if you want. For ex - www.npmjs.com/package/soft-assert
Hi , I have updated some dependencies while updating from webdriverio 7 to 8 and currently I am getting error related to wdio selenium standalone service..Error is Selenium exited before it could start with code 0. Can you please help me in this? Thanks😊
Amazing tutorials. Somehow my tests are going through too fast to see the processes. How about failing some tests by tempering around with elements and method??? Thank you.
If you want to debug something while the test are running, you can throw browser.pause(2000) (This will pause the test for 2 seconds) to pause the test. Make sure to remove them after debugging as it is not best practice to keep them in your tests.
If you want to learn more, check out my full course on webdriveIO and it will also get you access to a Discord community that can help you solve common issues that you face with automation. sdetunicorns.com/courses/
Hi, I am building a new framework and currently I am using the Chai 'assert.equals' assertion. what would be your suggestion... should I use Chai's assert.equals or expect. what are the benefits of expect over Chai assertion. Thank you!
My first preference is always expect and if expect doesn't do the job then I look into Chai assertions. Expect has waits and intervals when it's checking for assertions which comes in really handy as you dont have to add manual waits everywhere.
Yes, they are discontinuing the sync mode and we need to start using async mode starting node v16. If you would like to learn how async mode works, you can check out this course that I put together on Udemy - www.udemy.com/course/webdriverio-complete-beginner-course/?couponCode=AUTOMATIONBRO-CODE
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help you solve common issues that you face with automation. sdetunicorns.com/courses/
Hi I have updated dependencies while updating webdriverio version from 7 to 8 When I tried to run my scripts then I got error with expect condition. It said expected 1 argument but got 2. I was using expect: Expect(element).isdisplayed.tobe(true, 'custom error message') but now after updating dependencies it is not allowing to enter custom error message. Do you have any idea on this? Like which reason has caused this?
Exactly the tutorial I needed. Thanks for the videos. Looking forward to complete the whole course.
Thank you very much for the video🙂 It's very useful!
Glad you enjoyed the content.
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help you solve common issues that you face with automation.
sdetunicorns.com/courses/
Really thanks a lot for this series it's updated & it's concluding many long courses on webdriverIO
Thank you, check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation.
sdetunicorns.com/courses/
amazing tutorial , thanks you so much !
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation.
sdetunicorns.com/courses/
Thanks a lot! Its very useful for me
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation.
sdetunicorns.com/courses/
Many thanks for your tut !!! Really great and unique content!! I have only one remark about the video, it would be nice if you change dev tools scale parameter, it would make it easier to watch on mobile. Anyway, thank you one more time for your efforts and I wish your channel many many new subs and views! :)
Noted! Will keep that in mind for the upcoming videos.
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help solve common issues that one face with automation.
sdetunicorns.com/courses/
One question I have is how does WebDriverIO handle softAsserts with expect?
If your demo were to fail the first expect, would the remaining three assertions still execute?
Or would the test just stop dead?
With softAsserts all validations execute regardless if they fail.
I prefer softAssets as it gives me a better estimation at Planning Sessions if I know how much of my test, or test suite, is failing.
Hi Paul, there's no in-built support for soft asserts as ofd now but you can use any external library if you want. For ex - www.npmjs.com/package/soft-assert
Hi , I have updated some dependencies while updating from webdriverio 7 to 8 and currently I am getting error related to wdio selenium standalone service..Error is Selenium exited before it could start with code 0.
Can you please help me in this?
Thanks😊
Amazing tutorials. Somehow my tests are going through too fast to see the processes. How about failing some tests by tempering around with elements and method??? Thank you.
If you want to debug something while the test are running, you can throw browser.pause(2000) (This will pause the test for 2 seconds) to pause the test. Make sure to remove them after debugging as it is not best practice to keep them in your tests.
If you want to learn more, check out my full course on webdriveIO and it will also get you access to a Discord community that can help you solve common issues that you face with automation.
sdetunicorns.com/courses/
can you make video tutorial on cucumber framework with webdriverio
Hi,
I am building a new framework and currently I am using the Chai 'assert.equals' assertion. what would be your suggestion... should I use Chai's assert.equals or expect. what are the benefits of expect over Chai assertion. Thank you!
My first preference is always expect and if expect doesn't do the job then I look into Chai assertions. Expect has waits and intervals when it's checking for assertions which comes in really handy as you dont have to add manual waits everywhere.
hey dilpreet , do you know where are we with sync/async confusion? , as they will discontinue sync mode
Yes, they are discontinuing the sync mode and we need to start using async mode starting node v16. If you would like to learn how async mode works, you can check out this course that I put together on Udemy -
www.udemy.com/course/webdriverio-complete-beginner-course/?couponCode=AUTOMATIONBRO-CODE
Check out my full course on webdriveIO if you are interested. It will also get you access to a Discord community that can help you solve common issues that you face with automation.
sdetunicorns.com/courses/
Hi
I have updated dependencies while updating webdriverio version from 7 to 8
When I tried to run my scripts then I got error with expect condition. It said expected 1 argument but got 2.
I was using expect: Expect(element).isdisplayed.tobe(true, 'custom error message')
but now after updating dependencies it is not allowing to enter custom error message.
Do you have any idea on this?
Like which reason has caused this?
You can use this assertion instead - await expect(elem).toBeDisplayed({message: 'Custom message'});
@@sdetunicorns ok, I will try this. Thank you so much!
@@tanyasharma4836 no problem. Let me know how it goes. 😺
@@sdetunicorns I think so it worked because I didn't get any error for that.
@@sdetunicorns I will recheck once my other errors get resolved and I execute scripts
How would select attributes like "alt" if the id is not present and classes are common?
You can build your own custom selector in that case -> img[alt="image text"]
how to apply soft Assertions
tohaveURl