problem with ranorex repository elements in wpf
Posted: Thu Mar 29, 2012 12:02 pm
Hi,
We have an extensive Ranorex repository that covers both Sql Server Management studio, and our plugin product. This was developed to run on SSMS 2005 and SSMS 2008.
We are currently working to support the new SSMS 2012 which is majorly WPF.
Most of the objects in our ranorex repository are still valid in principle, however where they used to identify using "controlname", they now need to use "automationid" in the path to work with SSMS 2012.
There are two options open to us.
1. store and maintain a duplicate repository where the paths differ just by the name of some of the attributes. (eg controlname -> automationid)
2. for every object in our repository, write wrapper functions that get the repository path, and replace controlname with automation id.
Neither option fills our hearts with joy.
So I'm after some ideas.... is there a way to do this 'conversion' with the minimal of effort?
Thanks
Chris
We have an extensive Ranorex repository that covers both Sql Server Management studio, and our plugin product. This was developed to run on SSMS 2005 and SSMS 2008.
We are currently working to support the new SSMS 2012 which is majorly WPF.
Most of the objects in our ranorex repository are still valid in principle, however where they used to identify using "controlname", they now need to use "automationid" in the path to work with SSMS 2012.
There are two options open to us.
1. store and maintain a duplicate repository where the paths differ just by the name of some of the attributes. (eg controlname -> automationid)
2. for every object in our repository, write wrapper functions that get the repository path, and replace controlname with automation id.
Neither option fills our hearts with joy.
So I'm after some ideas.... is there a way to do this 'conversion' with the minimal of effort?
Thanks
Chris