4 results for technology, watin...
This is lacking. It's been one of the few disappointments I've had with WatiN. It does not handle XPath support out of the box. I found several other posts out there on the same issue with work arounds but we found a pretty slick solution using JavaScript-XPath.
Automated tests have an important role in the longevity of your product. There are pros and cons to having an automation suite, but I think the pros fully out weigh the cons. That being the case, how do you build an automation framework that will outlast the tools that are being used?
In running functional automation testing, it has always been difficult to know whether the AJAX call has finished. Most people just put a Thread.Sleep() in the code, but it clutters up things and isn't accurate. To handle this appropriately, we found a way to watch for those JQuery AJAX calls and drive the automation accordingly.
I was trying to automate some tests that included a PDF loaded inside an IE 7 window. Using conventional methods, I could not attach to this new window, thus couldn't control whether it was done loading, or close it for that matter.