DSmachineWorld
10 months agoContributor
Best practices for dealing with a highly volatile desktop app
Up to now, my testing with one part of this product suite has been fairly smooth with some judicious wild cards in Name Mapping. But now I am working in the other part (an Admin module), and it's making me crazy.
Scenario:
- -All objects in the app are very badly labelled in the native code. Imagine a structure where the first object is mapped in the Object Browser as "Foo:Form > Foo:FooContainer > FooFrame" , and the next as "FooForm1>FooWMDClient>FooForm>FooFrame", and the third as...well, you get the idea.
- I've been trying to wild card full names in the Name Mapping Editor, but that hasn't helped with the problem in the next bullet point.
- I can start up recording a keyword test, successfully complete it, but then immediately after I can right-click on an element in the test and select "Highlight", and TestComplete will tell me that object doesn't exist.
Any suggestions from people who have faced similar scenarios would be appreciated.
OK, it looks like I figured it out. The main window caption was changing per main list box entry I clicked on. I've used wildcarding and OCR actions to work through the problem.