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.
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 = StatusCode.BadIndexRangeInvalid;
- response.NotificationMessage.NotificationData.DataChangeNotification.MonitoredItems.Value.StatusCode = StatusCode.BadIndexRangeInvalid;
Could you please help me understanding description of this test case ?
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.