Use Selenium? Use XPath Checker.
Just a quick note if you are using Selenium to do your tests, and writing your own, you've probably had to write some XPath expressions. I had to write a particularly hard XPath string and got tired of trying to test my XPath expression in Selenium over and over again.
I did some quick Google searching and discovered a Firefox plug-in named XPath Checker. It works two ways:
- It allows you to write an XPath expression and see what it returns.
- It allows you to click on piece of a page and see an XPath expression that would find it
It rocks.
Comments
Paul.



Posted by: Mr Latty at July 7, 2008 6:39 AM