02-18-2011, 01:11 AM
This a problem we run into with our app from time-to-time. We recently reorganized the UI for some major functionality for our product. The old interface was completely re-designed. We had a lot of tests written for the old interface before we knew it was going to change. We ended up writing a set of global actions to drive the new UI and then edited a large number of scripts to use these global actions. This addressed the problem, but it took quite a bit of work to update the scripts for this part of the UI.
We have taken to writing global actions for major areas of functionality so if the UI changes in one area or another (and that area is covered by global actions) we can update a few global actions instead of hundreds or thousands of scripts.
We have taken to writing global actions for major areas of functionality so if the UI changes in one area or another (and that area is covered by global actions) we can update a few global actions instead of hundreds or thousands of scripts.