myseleniumtraining
This blog is for Automation Test Engineers
Home
Sunday, 27 August 2017
How to find tool tip text of web element
Webdriver driver=new FirefoxDriver();
driver.get("http://www.ksrtc.in/oprs-web/");
String ttext=driver.findElement(By.id("searchBtn")).getAttribute("title");
System.out.println(ttext);
Email This
BlogThis!
Share to X
Share to Facebook
By Chai on August 27, 2017
0
Newer Post
Home
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment