View Client TranslateBrowsePath

Use the TranslateBrowsePathsToNodeIds Service to identify the NodeIds for Nodes where a starting Node and a BrowsePath is known. Make bulk operations rather than multiple calls whenever possible.


Questions? Contact us
Generated: 31/20/2020 at 15:31:31 p.m.
View Client TranslateBrowsePath - 15 Test Cases
Test Case Id Test Type Keywords Test Case Description Test Requirements Expected Result

001

Lab TranslateBrowsePathsToNodeIds  Request the translation of one valid startingNode and one valid relativePath using default values.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

002

TranslateBrowsePathsToNodeIds  Request the translation of multiple valid startingNodes and one valid relativePath using default values.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

003

Lab TranslateBrowsePathsToNodeIds  Request the translation of one valid startingNode while specifying multiple Elements within the relativePath to access a BrowseName that is at least 2 levels deep.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

004

Lab TranslateBrowsePathsToNodeIds  Request the translation of multiple valid startingNode while specifying multiple Elements within the relativePath to access a BrowseName that is at least 2 levels deep.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

005

Lab TranslateBrowsePathsToNodeIds  Request the translation of one valid startingNode and one valid relativePath where IsInverse=True.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

006

Lab TranslateBrowsePathsToNodeIds  Request the translation of one valid startingNode and one valid relativePath where IncludeSubTypes=False and a valid referenceTypeId that is known to exist.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

007

Lab TranslateBrowsePathsToNodeIds  Request the translation of one valid startingNode and one valid relativePath where IncludeSubTypes=True and a valid referenceTypeId that is of a parent type (derived class) of a known reference type.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

008

Lab TranslateBrowsePathsToNodeIds  Request the translation of multiple valid startingNodes and multiple Elements within the relativePath that will yield multiple targets.
Client verifies that the StatusCode`s are Good, and that the TargetId contains a valid NodeId, and that the RemainingPathIndex is the max value of a UInt32.

009

Lab TranslateBrowsePathsToNodeIds  Target server aggregates a remote server. Client requests relative path that 'spans' into the remote servers address space (server sets remainingPathIndex and targetId accordingly).
Verify that client can connect to the remote srever to complete the operation using the targetId and unprecessed elements as the new relativePath. (any client that can actually do this deserves extra credit)

Err-001

CTT TranslateBrowsePathsToNodeIds  Randomly inject one of the following status codes into the Service Result.
Repeat this test multiple times, each time varying the code:

1. Bad_NothingToDo.
2. Bad_TooManyOperations.
Client reports the error to the end-user.
Client may also abort the current browse job, i.e. do not call Browse/BrowseNext on the current Node/branch.

Err-002

Lab TranslateBrowsePathsToNodeIds  Randomly inject one of the following status codes into the first result.
Repeat this test several times, each time varying the code:

1. Bad_NodeIdInvalid
2. Bad_NodeIdUnknown
3. Bad_NothingToDo
4. Bad_BrowseNameInvalid
5. Bad_TooManyMatches
6. Bad_NoMatch
7. Uncertain_ReferenceOutOfServer.

Err-003

CTT TranslateBrowsePathsToNodeIds  ServiceResult = Good;
Results[0].Targets[0] is empty.
Client treats the record as a Bad_NoMatch and reports the warning to the end-user.

Err-004

CTT TranslateBrowsePathsToNodeIds  ServiceResult = Good;
Results[0].Targets[0].TargetId specifies a remote Server.
Client may use the information differently, perhaps filter it out, or display the reference differently. The behavior will be verified against the documentation.

Err-005

CTT TranslateBrowsePathsToNodeIds  ServiceResult = Good;
Results[0].Targets[0].RemainingPathIndex = 0.
Client checks that the StatusCode is not Uncertain_ReferenceOutOfServer and consequently ignores the record and reports the error to the end-user.
Or, the Client will invoke the service call on a different server starting from TargetId and following the remaining (unprocessed) relativePath.

Err-006

CTT TranslateBrowsePathsToNodeIds  ServiceResult = Good;
Results[*].Targets[*].RemainingPathIndex = 0.
Client checks that the StatusCode is not Uncertain_ReferenceOutOfServer and consequently ignores the record and reports the error to the end-user.
Or, the Client will invoke the service call on a different server starting from TargetId and following the remaining (unprocessed) relativePath.