Selenium WebDriver - what are the different assertions or check points used in your script ?
Selenium WebDriver Interview question and Answers
(Continued from previous question...)
Selenium WebDriver - what are the different assertions or check points used in your script ?
The common types of validations are:
a) Is the page title as expected,
b) Validations against an element on the page,
c) Does text exist on the page,
d) Does a javascript call return an expected value.
method used for validation – Assert.assertEquals();
1
method used for validation – Assert.assertEquals();
(Continued on next question...)
Other Interview Questions
|