Dipika Khera
Member
Members
Forum Posts: 52
Member Since:
11/15/2019
11/15/2019
Offline
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 ?
- response.NotificationMessage.NotificationData[0] = StatusCode.BadIndexRangeInvalid;
- response.NotificationMessage.NotificationData[0].DataChangeNotification.MonitoredItems[0].Value.StatusCode = StatusCode.BadIndexRangeInvalid;
Could you please help me understanding description of this test case ?
Thank you
Alexander Allmendinger
Germany
Moderator
Members
Moderators
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-ProductsServices
Moderators
Moderators-Specifications
Moderators-Companion
Moderators-Implementation
Moderators-Certification
Moderators-ProductsServices
Forum Posts: 67
Member Since:
07/11/2017
07/11/2017
Offline
Dipika Khera
Member
Members
Forum Posts: 52
Member Since:
11/15/2019
11/15/2019
Offline
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)
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855