A & C Dialog

Supports DialogConditionType including Respond Method.


Questions? Contact us
Generated: 21/11/2021 at 17:21:20 p.m.
A & C Dialog - 9 Test Cases
Test Case Id Test Type Keywords Test Case Description Test Requirements Expected Result

000

CTT Unavailable  Browse()  BrowseNext()  Verify the DialogConditionType is correctly represented in the Type system. Matches definition and parent object(s).

Part 9 section 5.6.2 Table 18

001

CTT Unavailable  Call()  Create a subscription that subscribes to Dialog and Audit Events.
Step #
Action
Expected Result(s)

1

Part 9 section 5.6.2 para 2 after Table 18.

2

In a loop where each iteration represents an item in the ResponseOptionsSet, do the following:

3

Trigger a condition that will invoke a Dialog event.

The ResponseOptionsSet and Prompt are not empty/null, and none of the values are duplicated. DialogState=TRUE. ResponseOptionsSet matches the dialog.

4

Respond() to the Dialog using the "next" value in the ResponseOptionsSet.

5

Call Publish and check that an updated Dialog event was received.

A Dialog event is received to show the transition change; retain bit = False. An audit event is received (if supported) indicating the operator the generated the response. DialogState=FALSE. LastResponse matches step 4.

002

CTT Unavailable  Call()  Repeat test #1 steps 2.a, 2.b, and 2.c; but respond using the DefaultResponse option, if available. DefaultResponse may equal -1 or from 0-<length> of array. If value is -1 then exit this test.

003

CTT Unavailable  Call()  Repeat test #2 but respond with "Cancel", if provided. If Cancel is unavailable then exit this test.

004

CTT Unavailable  Call()  Repeat test #2 but respond with "OK" if provided. If OK is unavailable then exit this test.

005

CTT Unavailable  Call()  Respond() while specifying an index of -1. ServiceResult=BadDialogResponseInvalid

Part 9 Table 21

006

CTT Unavailable  Call()  Respond() while specifying an index of Int32.Max. Service result is BadDialogResponseInvalid

Part 9 Table 21

007

CTT Unavailable  Call()  Respond() while specifying an index of "length" + 2. Service result is BadDialogResponseInvalid

Part 9 Table 21

008

CTT Unavailable  Call()  Respond() while specifying a Condition that is currently in the Inactive state (i.e. "CancelResponse"). Respond() to a condition with a valid answer, first (i.e. "OkResponse"). Note: If the Condition is not in the address space then the error may be BadEventIdUnknown. Service result is BadDialogNotActive

Part 9 Table 21