TestComplete Alias Scanner
Got my TestComplete object code generator writing lines for all objects on a screen! This is a big time-saver and I’ll be using it heavily in the weeks to come. It took about 16 hours to write, and each screen I run off by hand takes an hour to set up properly, so this is a big deal.
This is going to save so much time because we spend a lot of time typing ‘Aliases.WNL.<screen>.’ then waiting waiting waiting for the code completion to come up with the discovered objects. This way we have a template, completely commented until the point you need a piece. Then you just uncomment and fill in the blanks.
The validation component reads the current state of the object, then writes a validation routine to test against it.
Now to get it using the little reticule to pick an object, traverse upward until it finds a ‘panel’ alias and then run back down the tree saving things off. Maybe later, I now have something I can use to get things done 80% of the time and that’s what matters.
ETA: I actually found a bit of recursion in the way we created the alias tree, and it took me like 2 more hours to pin that down. Back up and running though.