Post
by krstcs » Fri Sep 14, 2012 8:52 pm
While I do use the Ranorex Studio, I only use the "record" feature minimally, usually the first run, just so I can get a script to work with.
I find it easier to walk through my manual tests and manually add objects to the repository, then work those objects into the scripts I need for the test case at hand. I try to use Regex expressions as much as possible as well.
Also, my scripts are VERY SMALL. I like to make my scripts cover the smallest section of user interaction possible. This usually means fewer variables per script and more flexibility when dropping the scripts into the test suite.
Think of the scripts as if they are Legos... Make them small and atomic and they will be easier to build with.
However, there may be times when it makes sense to just record a quick run through of a product area and play it back. I use this when I need to demo a product, or a bug, repeatedly.
Shortcuts usually aren't...