#NOTHING
Description
PTF ignores any step with a Set_Value or Verify action where the Value field is empty, or blank. The #NOTHING reserved word enables you to use SET_VALUE to set a field to blank or select a blank value from a drop-down list box. You can use #NOTHING with a Verify action to verify that a field is blank.
The #NOTHING reserved word does not have a closing pound sign (#). It cannot be used in combination with other reserved words.
Note:
Leaving the Value field of a test step blank does not have the same effect as using the #NOTHING reserved word. PTF ignores any Set_Value or Verify action where the Value field is blank.
Example
In the following example, in the first step #NOTHING selects a blank value in the Calculation Reason field and then, in the next step, it verifies that the field is blank:
| Type | Action | Recognition | Parameters | Value |
|---|---|---|---|---|
|
ComboBox |
Set_Value |
Name=PA_CALC_REASON |
|
#NOTHING |
|
ComboBox |
Verify |
Name=PA_CALC_REASON |
|
#NOTHING |