Silk Performer offers GUI tools that assist you in inserting function and transaction declarations into test scripts.
A function is used to encapsulate some tasks that a script requires. Functions can access and change data declared outside themselves, either through variables or parameters. Optionally, a function can return a value of a specific type.
A transaction is a discrete piece of work that is assigned to a virtual user in a test and for which separate time measurements are made.