Using the API to edit functional test scripts

These advanced topics provide information for testers who want to make changes to Functional Test scripts. As a general rule, your modifications should emulate as closely as possible the desired user interaction with the application-under-test.

You can start by making some of these simple modifications to recorded Functional Test scripts:

  • Change a user action, such as Object().Drag() to Object().Click().
  • Delete recorded commands.
  • Place an often repeated sequence of actions into a method.