• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Selenium commands:assertAllButtons; assertTitle

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I use the following commands: assertAllButtons and assertTitle. Why when I run the Test Case in the Log window nothing is returned: the IDs of buttons, title of the page?
According to selenium documentation:
assertAllButtons should return the IDs of all buttons on the page. ( I verify with Firebug, for example the ID of Google Search button is: "gbqfba" and for I'm Feeling Lucky ID is: "gbqfbb"
assertTitle should return the title of the current page. Here an error is generated: "Actual value 'Google' did not match '' ( In my case title is Google). See the attached screenshots.

Thanks!
selenium.jpg
[Thumbnail for selenium.jpg]
selenium1.jpg
[Thumbnail for selenium1.jpg]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic