Howdy. Just wondering if anyone used TestComplete against Java pages built in the Vaadin framework? I'm working with a Delphi application which display IE8 java pages w/in a Delphi container. The pages are java, using the Vaadin framework.
The issue I'm having is that the pages may have multiple text boxes. The boxes have no unique identifiers (Vaadin assigns a new id each time the page is rendered)...no is there a way to "label" them. Looking at the properties, I can't find anything unique about them.
I know, I know, "use named mapping"....we can't use named mapping with our app...we tried, but it didn't work out...Our app can connect to multiple SQL databases, and multiple web-app servers. When we connect to a new webapp server, the url is different, and testcomplete can no longer find the objects.
I spent days trying to figure out why it couldn't find some cell that was 50 levels deep in panels, when the mapping appeared correctly. Turned off named mapping, and it suddenly worked fine which ever url I connected to.
We are hoping that the next version of Vaadin (7) might include an ability to provide a unique "name" to each text box, but until then I'm banging my head on my keyboard !
Thanks in advance for any advice!
When you're using NameMapping (I know, you tried that, just hear me out), you can wildcard the URL. So if it's just the server part of the URL that's different, you could throw a "*" in there for the server name and TestComplete should at least find the page, no matter what server you're hitting. It might also help to make sure you're looking at the Advanced properties of the controls, because there might be a "hidden" property that you can use to recognize the objects.