Tips for using functions in your SilkPerformer scripts


You can try the following tips when using functions in your SilkPerformer scripts:

  • If you find yourself repeatedly scripting the same action, put the action in a function. For example, every user must log in to and out of your application.
  • If you click to open a console after each user's login, you should put opening a console in a function, too.
  • If you use these functions in each scenario, put them in the header file; otherwise, put them in their respective scripts.
  • Functions are also useful for preventing clutter in your scripts. To parse a response, create a function instead of putting the code in the transaction.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Helix Innovation Suite 25.2