View Issue Details

IDProjectCategoryView StatusLast Update
0005714Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-04-01 14:24
ReporterMatti Siponen Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.341.397 
Summary0005714: Data Access / Data Access DataItems / 009.js and 012.js select incorrect Nodes
Description

Instead of selecting Double, Float and DateTime DataItem Nodes, these two scripts try to look far ValuePrecision Property in Byte DataItem Node. This is caused by programming error on line 40 of these two test scripts where the Node to be tested is selected with

var browseRequest = GetDefaultBrowseRequest( Test.Session.Session, monitoredItems[0].NodeId );

which results in Byte DataItem Node being always selected. The correct way to do this would be to select the Node with

var browseRequest = GetDefaultBrowseRequest( Test.Session.Session, monitoredItems[i].NodeId );

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2020-11-03 09:41

developer   ~0013104

Both scripts are accessing the Index 0 in the browseRequests which will always reflect to the first configured item, in most cases a Byte instead of the desired DataTypes.
Changing the used Index to "i" accesses the desired DataTypes like the Double, Float and DateTime.

Paul Hunkar

2021-04-01 14:24

administrator   ~0014141

reviewed in CMP call , agreed to changes and closed

Issue History

Date Modified Username Field Change
2020-06-15 13:52 Matti Siponen New Issue
2020-07-10 17:52 Paul Hunkar Assigned To => Alexander Allmendinger
2020-07-10 17:52 Paul Hunkar Status new => assigned
2020-11-03 09:41 Alexander Allmendinger Status assigned => resolved
2020-11-03 09:41 Alexander Allmendinger Resolution open => fixed
2020-11-03 09:41 Alexander Allmendinger Fixed in Version => 1.03.341.397
2020-11-03 09:41 Alexander Allmendinger Note Added: 0013104
2021-04-01 14:24 Paul Hunkar Status resolved => closed
2021-04-01 14:24 Paul Hunkar Note Added: 0014141