View Issue Details

IDProjectCategoryView StatusLast Update
0004113Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-09-01 13:52
ReporterFei Wang Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03Fixed in Version1.03 
Summary0004113: View Minimum Continuation Point 01 015.js
Description

Problem one:
Session can't be found.
CTT version:1.3.340.358
function: Test572010
file:maintree/View Services/View Minimum Continuation Point 01/Test Cases/015.js
line:48

Problem two:
TestBrowseNextWhenMoreNodeClassReferencesExist should has three parameters
CTT version:1.3.340.358
function: Test572010
file:maintree/View Services/View Minimum Continuation Point 01/Test Cases/015.js
line:61

TagsNo tags attached.
Files Affected

Activities

Fei Wang

2017-12-26 08:32

reporter   ~0008810

Details of problem 1
Problem: The test result of 015.js is warning

Warning: Could not find a node containing two Views. This test will not be run.

Expect: The test case should pass.

Clue: when executing line 48, exception happpens, try to print the first parameter "Session", the debug console shows "ReferenceError: Can't find variable: Session", if we replace Session with Test.Session.Session, exception will not happen.

Fei Wang

2017-12-26 08:38

reporter   ~0008811

Details of problem 2
Problem: After applying the replacement of problem 1. The test result of 015.js is still fail

Failed info: Test.Execute() encounted an unexpected error: TypeError: Result of expression "session.buildRequestHeader"[undefined] is not a function.

Expect: The test case should pass.

Clue: in line 61, the function TestBrowseNextWhenMoreNodeClassReferencesExist is called with two parameters, but when step into it, we can see the function header contains three parameters, so the first parameter is missing.

Alexander Allmendinger

2018-02-07 21:15

developer   ~0008859

Script was using wrong session object, it's now using Test.Session.Session in both cases.

Paul Hunkar

2019-09-01 13:52

administrator   ~0010876

Reviewed in extra CMP call

Issue History

Date Modified Username Field Change
2017-12-26 03:21 Fei Wang New Issue
2017-12-26 08:32 Fei Wang Note Added: 0008810
2017-12-26 08:38 Fei Wang Note Added: 0008811
2018-01-05 14:07 Paul Hunkar Assigned To => Alexander Allmendinger
2018-01-05 14:07 Paul Hunkar Status new => assigned
2018-01-05 14:08 Paul Hunkar Target Version => 1.03
2018-02-07 21:15 Alexander Allmendinger Note Added: 0008859
2018-02-07 21:15 Alexander Allmendinger Status assigned => resolved
2018-02-07 21:15 Alexander Allmendinger Fixed in Version => 1.03
2018-02-07 21:15 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-09-01 13:52 Paul Hunkar Status resolved => closed
2019-09-01 13:52 Paul Hunkar Note Added: 0010876