Verification Detail Report contents for switch tests

Switch tests test the settings of one or more network, terminal, or device switches. For the WSim Scripting Language, switch tests specify the LOC operand with one or more switches on the IF statement (for example, LOC=NSW1, LOC=TSW20&SW5). For STL, switch tests test a bit variable or function for true or false. This can be either a shared or unshared bit variable.

For switch tests, the Verification Detail Report fields contain the following information:

Heading Field Description
DESCRIPTION The first 50 characters of the optional description coded on the VERIFY action.
LOCATION SWITCH (or SWITCHES if more than one switch was tested).
LENG (NA)—not applicable for switch tests.
COND (NA)—not applicable for switch tests.
EXPECTED VALUE A string of 24 hexadecimal digits representing the switches named on the LOC operand. The first eight digits represent the 4095 device switches, with the leftmost bit representing SW1 and the rightmost bit representing SW4095. The second eight digits represent the terminal switches named on the LOC operand, and the last eight digits represent the network switches named. If more than one switch was specified on the IF statement, (&) or (│) will follow the 24-digit string indicating the operator that was coded to combine the switches on the LOC operand. Refer to WSim Script Guide and Reference for more information about the LOC operand of an IF statement.
ACTUAL VALUE Another string of 24 hexadecimal digits. This string represents the actual device, terminal, and network switch settings at the time of the test. The format for the actual value is the same as the format for the expected value.

The following two examples show the format for the expected value and actual value fields for switch tests, depending on how the LOC operand of the IF statement was coded:

Example 1:

LOC=SW1 was coded on the IF statement. There were no switches set at the time of the test.
EXPECTED VALUE                 ACTUAL VALUE
=============================  ==========================
80000000 00000000 00000000     00000000 00000000 00000000

Example 2:

LOC=SW1│TSW5│TSW6│TSW7 was coded on the IF statement. Switches actually set at the time of the test were SW9, SW11, and NSW22.
EXPECTED VALUE                 ACTUAL VALUE
=============================  ============================
80000000 0E000000 00000000 (│  00A00000 00000000 00000400