Commands used to validate button - Selenium

Q.  Which two commands you can use to validate a button?
- Published on 03 Aug 15

a. VerifyTextPresent and assertTextPresent
b. VerifyElementPresent and assertElementPresent
c. VerifyAlertPresent and assertAlertPresent
d. VerifyAlert and assertAlert

ANSWER: VerifyElementPresent and assertElementPresent

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)