View Issue Details

IDProjectCategoryView StatusLast Update
0009804CTT UA Scripts4 - Test Case Definitionpublic2024-10-11 12:14
ReporterStephanie Ackermann Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0009804: beforeTest.js: Error in Testscript
Description

When in /Server Test/NodeIds/Static/HA Profile/AccessRights the AccessLevels are configured the following Error is shown when beforeTest.js is executed.
checkReadError: ExpectedOperationResultsArray[] (received: 2) must have the same size as Request.NodesToRead[] (received: 1)

This is caused by an Error in the script where for one Item two expectedResults where expected. See attached Fotos.

Steps To Reproduce
  • configure /Server Test/NodeIds/Static/HA Profile/AccessRights/UserAccessLevel_None
  • Select one Testcase (beforeTest should be automatically selected)
  • Start Test
TagsNo tags attached.
Attached Files
beforeTest_configuration.png (55,018 bytes)   
beforeTest_configuration.png (55,018 bytes)   
beforeTest_Error.png (24,519 bytes)   
beforeTest_Error.png (24,519 bytes)   
beforeTest_Script.png (124,454 bytes)   
beforeTest_Script.png (124,454 bytes)   
Files Affected

/library/RunOnce/beforeTest.js

Activities

Sebastian Allmendinger

2024-10-08 04:58

developer   ~0021856

The test script used "if" instead of "else if", which caused a mismatch of the number of expected results and nodes.
In addition, the test script used wrong StatusCodes.

Issue History

Date Modified Username Field Change
2024-08-28 11:00 Stephanie Ackermann New Issue
2024-08-28 11:00 Stephanie Ackermann File Added: beforeTest_configuration.png
2024-08-28 11:00 Stephanie Ackermann File Added: beforeTest_Error.png
2024-08-28 11:00 Stephanie Ackermann File Added: beforeTest_Script.png
2024-09-19 08:26 Sebastian Allmendinger Project CTT UA Test Case => CTT UA Scripts
2024-10-03 14:56 Paul Hunkar Assigned To => Alexander Allmendinger
2024-10-03 14:56 Paul Hunkar Status new => assigned
2024-10-08 04:57 Sebastian Allmendinger Product Version 1.04.11.502 =>
2024-10-08 04:57 Sebastian Allmendinger Files Affected => /library/RunOnce/beforeTest.js
2024-10-08 04:58 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2024-10-08 04:58 Sebastian Allmendinger Status assigned => resolved
2024-10-08 04:58 Sebastian Allmendinger Resolution open => fixed
2024-10-08 04:58 Sebastian Allmendinger Note Added: 0021856