A & C Trip

Supports Trip Alarm type.


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

000

CTT Unavailable  Browse()  Walk through the address space checking the type definition of TripAlarmType type.
Step #
Action
Expected Result(s)

1

The type definition matches the UA Specifications.

See UA Specifications: Part 9, Table 54, Table 52, Table 51, Table 30, Table 23, and Table 7.

2

Walk through the address space looking for Instances of TripAlarmType types and verify they comply to the type definition. Note: CTT Settings to specify where these instances are.

Instances are typed correctly; this includes all inherited properties etc.

001

CTT Unavailable  CreateMonitoredItems()  Prepare a list of ALL fields (including inherited) that can be filtered (in a SELECT clause). In a loop, add the ""next"" field to a SELECT clause in a MonitoredItem.Filter.
Note: A single WHERE clause to receive this type of Alarm only.
The fields list array (to be tested) should start with the EventId. Note: the loop should jump 3 or 4 at a time (not 1 at a time).
Step #
Action
Expected Result(s)

1

Server accepts the subscription/monitoring request. See UA Specifications: Part 3 section 6.4.2; Part 9 Table 54, Table 52, Table 51, Table 30, Table 23, and Table 7.

2

Invoke the event by writing to the trigger node and then call Publish.

The event is received in the Publish response and contains the list of fields requested only.

3

Repeat the loop by adding the "next" field until the last iteration where all fields are selected.

002

CTT Unavailable  Call()  Invoke an event of each instance of TripAlarmType alarm by writing to its corresponding trigger node.
Step #
Action
Expected Result(s)

1

Each event type is received as expected.

2

Acknowledge the event

Service/operation results: Good

3

Confirm the event by calling the method on the Type. Note: Confirm is optional so if it does not exist then that is OK; otherwise the call is successful.

Service result: Good Operation results: Good or Bad_NodeIdUnknown.

4

Clear the event state (no alarm).

Service/operation results: Good.

003

CTT Unavailable  Invoke an event of each instance of TripAlarmType alarm by writing to its corresponding trigger node.
Step #
Action
Expected Result(s)

1

Each event type is received as expected.

2

Acknowledge the event.

Success.

3

Clear the event state (no alarm).

Success.

4

Confirm the event. Note: Note: If the Server clears the event then a different error might be returned. Determine which and then incorporate into the CTT.

Service result: Good Operation results: Good or Bad_NodeIdUnknown.

005

CTT Unavailable  Invoke an event of each instance of TripAlarmType alarm by writing to its corresponding trigger node.
Step #
Action
Expected Result(s)

1

Success.

2

Clear the event state (no alarm).

Success.

3

Acknowledge the event.

Success.

4

Confirm the event by calling the method on the Type. Note: If the Server clears the event then a different error might be returned. Determine which and then incorporate into the CTT.

Service result: Good Operation results: Good or Bad_NodeIdUnknown.