I had a thought recently as was wondering why not tools like this exist before
The idea would be to reflect on a windows forms class, and find its properties that are the controls
Then generate a class that has the same property interface but the property implementation would be using underlying ranorex classes. This generated class being the automation proxy of the real form class
Test cases would automate the form via its proxy class, and the building of the proxy class can be done directly in the build of the AUT, meaning as soon as the form changes during a build, so does the automation proxy class...
Seems so simple an idea, but probably actually hard to implement...
Experiences, small talk, and other automation gossip.
2 posts • Page 1 of 1
IMHO the problem is not to create the wrapper/proxy for the class itself -- this should be quite easy using reflections. However, you need to add special logic for those properties that do not have a serializable type. For those types you need to drill down and create proxies for the properties as well, until you get to the point where all properties are serializable.