|
The command allows assigning value for the internal variable for the test system.
Full specification of the command looks like:<set_property> <name>name of property</name> <value>value of property to set to</value> </set_property> |
name | Name of the variable that should be assigned. |
value | Value that should be assigned to the variable. |
In addition to environment variables and substitution variables , izh_test uses internal variables, which aren't passed to process and aren't used for substitution.
The idea is to store information about state of "slow" resources like DBMS in these variables.
As example before executing of unpredictable test, state of DBMS can be initialized as "undefined" and changed to "prepared" only if test was finished successfully and special script cleaned data after it.
Also before executing of test which requires special data in DBMS, internal variable can be checked and if its value is "undefined" than special script can be executed for filling test data.
Values for internal variables are stored only inside of single process of executing test ( itr or itr_mfc ). At the beginning of work they are empty.
To execute different test command depend on values of internal variables use test commands if_property_equal and if_property_not_equal
|