Hi Lindsay, I used your design as the basis for my own framework! I had to make some adjustments since I am automating an Ext GWT webapp, so the need to identify Ext JS components by id isn't applicable to my situation. Also I am going for a simpler approach where I rely on the developer to provide meaningful id attributes within their Java code. Then I use XPath expression to find what I want. For example if developer has coded a button with id="Foo" I am able to find it using //*[id="foo"]//button. This works because Ext GWT applies the id to a container of the button tag, rather than to the tag itself. So far so good, the simple everyday tags can be dealt with this way, but I know I'm in for a lot of coding to handle more complex widgets such as grids. Oh BTW did I mention I'm coding in C# instead of Java! This is going to be an interesting ride. Anyway, sorry to ramble, but I really wanted to say that the overall design you have presented here is working really well for me and has enabled me to progress more quickly than I ever thought possible. THANKS !!!
Time for more thanks!
Hi Lindsay, I used your design as the basis for my own framework! I had to make some adjustments since I am automating an Ext GWT webapp, so the need to identify Ext JS components by id isn't applicable to my situation. Also I am going for a simpler approach where I rely on the developer to provide meaningful id attributes within their Java code. Then I use XPath expression to find what I want. For example if developer has coded a button with id="Foo" I am able to find it using //*[id="foo"]//button. This works because Ext GWT applies the id to a container of the button tag, rather than to the tag itself. So far so good, the simple everyday tags can be dealt with this way, but I know I'm in for a lot of coding to handle more complex widgets such as grids. Oh BTW did I mention I'm coding in C# instead of Java! This is going to be an interesting ride. Anyway, sorry to ramble, but I really wanted to say that the overall design you have presented here is working really well for me and has enabled me to progress more quickly than I ever thought possible. THANKS !!!