Automation Proxy Class
Posted: Thu Apr 26, 2012 7:15 pm
Hiya,
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...
Clayton
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...
Clayton