SourceForge.net Logo
prevtopnext
izh_test
    Kinds of tests
        test_script - Sequence of simple test actions
set_property - Assign value for internal variable of izh_test

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>
Where:
nameName of the variable that should be assigned.
valueValue 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


prevtopnext

SourceForge.net Logo