Using the API to edit functional test scripts
These topics describe how you can take advantage of the HCL DevOps Test UI (Test UI) application programming interface (API) or the scripting framework to make changes to functional test scripts. As a general rule, the modifications that you make with the scripting SDK, should emulate as closely as possible, the user interactions to test with the application-under-test.
You can start by using the scripting framework to make 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.