All about XPath

Here is a presentation on XPath. Topics covered in this presentation include:
  • Absolute XPath and example
  • Relative XPath and example
  • Syntax
  • Best Practices while writing scripts.
  • 'and' keyword
  • Using span and handling subnodes
  • Working with static web table
  • Working with multiple web tables
  • Working with nested web tables
  • A brief intro on working with dynamic web table.
Before you start with the presentation on XPath make sure you have firefox installed along with fire path and firebug plugins installed. Note that the XPath returned by file path is always absolute and is not recommended to use while writing test scripts.
For more details on the dynamic handling of web elements using XPath Functions subscribe to my blog. - XPath functions.

No comments:

Post a Comment