adspace
Explain what is assertion in selenium and what are the types of assertion?
Answer Posted / Sanjeev Kumar Kashyap
Assertions in Selenium WebDriver are used to verify that the expected and actual results match. They allow you to validate the state of your application under test. Types of Assertions include Equal Assertion (assertEquals), NotEqual Assertion (assertNotEquals), and True/False Assertion (assertTrue, assertFalse).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers