Quality is delighting customers
What is the difference between an assert and a verify with Selenium commands?
Can any one reply to this query?
Tags:
Hi Madhuri,
There are two mechanisms for validating elements that are available on the application under test.
The first is assert: this allows the test to check if the element is on the page. If itis not available, then the test will stop on the step that failed.
The second is verify: this also allows the test to check whether the element is on the page, but if it isn't, then the test will carry on executing.
Thanks & Regards,
Snehasish
© 2022 Created by Quality Testing.
Powered by