Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

It seems that some UI automation tools struggle with GWT grids & the asynchronous aspect of Ajax based applications. Has anyone tried Watir with an GWT\Ajax application. Please share your experiences.

share|improve this question
add comment

1 Answer 1

Watir drives a real browser, so it should work. We tried that but at the end settled for our own tool that drives either Firefox or other browser (using WebDriver). Additionally you can pick anything from "no code at all" to "full Java (optionally JRuby) code". The link to the tool is in my profile.

What is most challenging and this is not related to the tool, you have to wait for certain states to happen, before you can continue. The asynchronous stuff forces you to do so. So despite the tool, you have to "code" or train your tool to do that. That is error-prone and it takes a while to master it, but you can get it to work.

We found it very difficult to deal with GWT/GXT due to the dynamic IDs and the lack of semantics in the html code (aka class-attributes). A good automation here requires help from the developers.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.