Monitored Client By Index CTT script - Need help in understanding test case description|OPC Certification and Interoperability Testing|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Monitored Client By Index CTT script - Need help in understanding test case description
Avatar
Dipika Khera
Member
Members
Forum Posts: 52
Member Since:
11/15/2019
sp_UserOfflineSmall Offline
1
06/01/2020 - 08:45
sp_Permalink sp_Print

Hi Team,

There is one test case for Monitored Client By Index categorized under type CTT with Keyword Publish. I was trying to write CTT script for it, as it is not available in CTT v1.3.341.390. But, was stuck on a point.

Description:

Err-001 CTT Publish  NotificationData results[0]=BadIndexRangeInvalid.
Expectation: Client reports the problem.

My Understanding of Test case: The test case will try to change the result of 0th element of MonitoredItems array & not the 0th element of NotificationData array. I mean, which of the below line is correct for this CTT script ?

  1. response.NotificationMessage.NotificationData[0] = StatusCode.BadIndexRangeInvalid;
  2. response.NotificationMessage.NotificationData[0].DataChangeNotification.MonitoredItems[0].Value.StatusCode = StatusCode.BadIndexRangeInvalid;

Could you please help me understanding description of this test case ?

Thank you

Avatar
Dipika Khera
Member
Members
Forum Posts: 52
Member Since:
11/15/2019
sp_UserOfflineSmall Offline
2
06/18/2020 - 00:10
sp_Permalink sp_Print

Hi Team,

Could you please help me in getting exact meaning & purpose of the above mentioned test case in the context of Monitored Items ?

Thank you

Avatar
Alexander Allmendinger
Germany
Moderator
Members

Moderators

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-ProductsServices
Forum Posts: 67
Member Since:
07/11/2017
sp_UserOfflineSmall Offline
3
06/18/2020 - 05:01
sp_Permalink sp_Print

Hi Dipika,

as the BadIndexRangeInvalid would be reported for a specific item, you need to adopt the StatusCode of the first returned MonitoredItem. If you create us a MantisIssue we can enhance the text of the Test Case.

Regards,
Alexander

Avatar
Dipika Khera
Member
Members
Forum Posts: 52
Member Since:
11/15/2019
sp_UserOfflineSmall Offline
4
06/18/2020 - 05:22
sp_Permalink sp_Print

Thank you Alexander for reply.

As suggested, raised Mantis Issue to improve test case definition. Here is reference link: 0005734: Improve test case definition - Monitored Client By Index - Err-001.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855