beautypg.com

Edit function window properties – MTS Multipurpose Elite User Manual

Page 280

background image

Enter If statements, Loop statements, and other statements as supported in Python for more complex
calculations.

Assign multiple variables to a function.

Interact with other external sources.

Validate statement syntax.

The validation section provides the result of the syntax check. The validation does not check for variable
scope or interaction with other functions and calculations. It is your responsibility to debug your functions
and ensure that they perform the calculations and results that you require.

You can enter the code in other editors and paste the code into the Python Code work area.

For More Information

Concept
Task

Edit Python Functions

(p. 282)

Create Variables Used in Python Function Example

(p. 283)

Edit Function Window Properties

Access

Explorer panel > Test Definition node > Function node > Add or Edit button

Edit Function Window

280 | MTS TestSuite

Working with Variables