In Coded UI Test, we support “Intent Aware Recording” which means recorder tries to capture the intent of the user instead of the raw actions. For example, say on a Win7 box user does following raw actions -
The above steps result in launch of calc.exe application. Instead of recording the above 4 raw steps, the Coded UI Test recorder realizes that the intent of the user & records one launch step. This makes the recording more resilient as it can be played back on another OS like Windows XP where there is no search box.
To do the “Intent Aware Recording”, Coded UI Test has a separate rules process engine called Aggregator or Action Filter that goes through the raw actions to do appropriate pattern matching.
There are many different ways in which an exe can be launched in Windows and there is non-trivial cost\challenge for doing the same for each way. We prioritized the list and did the automatically generation of application launch for following –
Some missing ones that we have heard folks using and going wrong are –
We may look at fixing these holes in future release but in this release you should use one of the above 3 supported ways for doing this.