Visual tests can call and execute existing .NET scripts. This allows a modularized approach to application testing and provides greater control over test execution. When executing a script within a visual test, it is important to remember to keep test site integrity and ensure any test applications being tested are in the correct initial playback state.
You can also use this procedure to create a driver test.
Playback .NET Script 'asset name'
where 'asset name' is the name of the inserted script.
During playback, when the preceding step executes, the inserted script plays back to completion before the next step in the visual test executes. After a script has been inserted into a visual test, you can edit it and configure the settings used to play it back.