i'm currently evaluating Test Partner for use with a win32 client/server application. i'm wondering how people feel about the object map repository. most other applications that i've seen organize the object map in tree view style so you can see the parent-child relationships between controls. as far as i can tell, Test Partner displays all mapped objects in flat view, which would seem to be a maintenance nightmare (we'll likely have over 500 objects to map).
any thoughts on this? is there some way to organize mapped objects aside from naming conventions?
I don't have any problems with the object map. We used QARun before testpartner and the object mapping is considerably better. You can view the tree when you ID the object or by clicking on the browse tree button when you are mapping. Once the object is created unless the class or a significant field changes you shouldn't have a problem. if something happens with an object you can recapture it by opening the map and click recapture.
As far as organization of the objects we go by naming conventions.
In the past, especially with QArun, we ended up building a custom database where we stored information about the objects and called it into the scripts. In that case we were able to organize our data as we wanted.
I have used Robot, SilkTest and now TestPartner. The only issue I have with the object maps is you can have more then one match found and during the record process it will map to the first one it finds. This is not really problem with TP but with me taking out too much and adding a wildcard that matches two objects. I liked SilkTest's frame file but I have gotten use to TP now and I don't have too many problems.
Just like SilkTest the time spent on the objects (frame file or object maps) the less time spent cleaning up and streamlining your code.
How do you add wildcards for the object mapping, for example I have
In Common folder an object called 'testwindow' then in my active folder an object with same properties called 'testwindow2'
If I now put the object 'testwindow' into a project I have No Access to and record a script it still shows it as 'testwindow' and not as expected 'testwindow2'
It seems to me if you create a new one or even have a duplicate it always looks for the first one created irrespective of what project it is in.
You can change the properties, just click in the value line and add a *
We have quite lot of class names which are
the last bit app5 seems to cahnge every time it is run, (so in fact I don't use the class name to define my object maps), so in order for the script to always run and recognise the right opject my object map now says
I haven't had any problems with this
TestPartner 6.3, Visual Tests
Application under test: Client/Server based, C# .Net App with Infragistics Presentation layer
Database: SQL 2000/2005