You are on page 1of 3

Word Description

#DIS#
(Display only
value)
It checks whether the value is display only or not and also verifies a
value.
It logs a Fail if the object is not display-only or if the expected value
does not match the application value.
However is we don't specifay any value in brackets then it only
checks the disable property of the object
#DTTM
or
#TODAY
They both are used to insert the current date and time in the
specified field.
NOTE: There is no closing hash (#),so we cannot use any other
reserved word with them
#EXIST#
This is used to Check the Existence of field,and gives LOG as pass in
existence and LOG as fail if not exist.
NOTE:If the value is passed after closing # for exist it stores that
value to the respective field,it it exist
#NOTEXIST#
This is used to Check the Non Existence of field,and gives LOG as
pass if it doesnot exist and LOG as fail if exist.
RESERVED WORDS
Example
This first ex will help to store the value in one test case and we can verify the value(in same or different
test case) with #CHECK# as
This can be useful when you want to set data in a particular field
for one test case and verify the data in the same field for a different
test case.
#CHECK#
In first image it only checks the existence of field;
In Second image it stores the value also to that field,if it exist
Here it will verify the value with the given value and checks whether it is display only or not
Here it will insert date and time in which the test has been executed to the specified field.
We can also use + or - with #TODAY to fill the field value with next or previous number of date
SAME AS EXIST
#FAIL#
It is same as #CHECK# but does not update the value after
performing the comparison. If a mismatch is found, a Fail is logged;
otherwise, a Pass is logged.
#WARN#
It is same as #CHECK# but does not update the value after
performing the comparison. If a mismatch is found, It gives a
warning or else pass
#IGNORE#
Its used in value field to ignore some of the test cases from exec
action
#LIKEF#
/#LIKEW
If a similar match is not found, #LIKEF# logs a Fail and #LIKEW# logs
a Warning.There are different way by which we can use #LIKEF# or
#LIKEW#
#LIST#
This reserved word checks the values of a ComboBox. It works with
either the full text entries in the combo box or the metadata
translation (XLAT) values of the entries.
Here,it will only check the value but will not update it with the value that has been passed after #FAIL#
Here,it will only check the value but will not update it with the value that has been passed after #WARN#
In the first step for the test case calls the test CHILD_ONE with test case CASE_01. The second step skips the call to
CHILD_TWO for this test case.
checks whether the value matches the pattern of value in field
In first example,the first step verifies the existence of items in the list. The second step verifies that the items exist
and verifies that Individual is selected.
In second example, it refers to the entries by the metadata translation (XLAT) values rather than the text that
actually appears in the combo box:
#WARN#KUPTEST
#NOTHING
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.
#PREFIX#
The #PREFIX# reserved word substitutes the text in the Prefix field
in the Test Editor for the #PREFIX# string in the Value field.
This substitution is useful when developing a test that adds new
data. It enables you to modify each new added record slightly so
that the test is able to successfully add unique data each time the
test is executed.
NOTE: The #PREFIX# reserved word can only be used at the
beginning of the text in the Value field.
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:
Suppose you entered add in the Prefix field, as in this example.

You might also like