Binary Statements


A Binary Statement represents a dual expression consisting of two single expressions (variables, strings, numbers, methods...) and an operator (e.g. +, -, *, <, <=, !, etc.). Refer to Groovy Documents for more details about using operators in Groovy.


Binary statements in Manual view

  1. Open a test case in Manual view, then navigate to Binary Statement from the command toolbar.

  1. A test step representing a binary statement is added to the test case.

  1. Double click on the Input cell to edit those required components.

Binary Statements are normally used to assign either values to test objects

or test objects to variables to take the next steps.

  1. Save the test case when you're done.

    Once a test step is added as any of the Binary Statement, it will not be allowed to change it into another keyword.

Binary statements in Script view

The Script view of a test case allows you to programmatically define and handle binary statements easily using either Groovy or Java languages.

For example:

  • To assign a value to a test object
  • To assign a test object to a variable