Tell me how to verify tooltip text using Selenium?

Submitted by: Muhammad
The tooltip text in Selenium could be verified by fetching the value of 'title' attribute. An example:

String toolTipText = element.getAttribute("title");
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers