Test Results: Example report
Remarks: illustrates Test Management
features
1 |
013-GetLastDiag.rb |
open |
18:45:18 27.06.2002 |
|
|
|
|
|
close |
|
0:00:00.11 |
PASS |
|
2 |
011-GetCfgData.rb |
open |
18:45:19 27.06.2002 |
|
|
|
|
|
close |
|
0:00:00.08 |
PASS |
|
3 |
012-GetPrmData.rb |
open |
18:45:19 27.06.2002 |
|
|
|
|
|
close |
|
0:00:00.07 |
PASS |
|
4 |
tm_equalTest.rb |
open |
18:45:19 27.06.2002 |
|
|
|
4.1 |
|
open |
18:45:19 27.06.2002 |
|
|
Version 1.0 mit Fehler |
|
|
state_change |
|
|
FAIL |
Check failed at C:/Program Files/CANDEO/PROFIBUS Scripting
Host/sample/TM-Basics/tm_equalTest.rb:24 |
|
|
close |
|
0:00:00.06 |
FAIL |
|
4.2 |
|
open |
18:45:19 27.06.2002 |
|
|
Version 1.0 mit Fehler |
|
|
expectToFail |
|
|
true |
|
|
|
state_change |
|
|
XFAIL |
Check failed at C:/Program Files/CANDEO/PROFIBUS Scripting
Host/sample/TM-Basics/tm_equalTest.rb:34 |
|
|
close |
|
0:00:00.03 |
XFAIL |
|
4.3 |
|
open |
18:45:19 27.06.2002 |
|
|
Version 2.0, korrigiert |
|
|
close |
|
0:00:00.02 |
PASS |
|
|
|
close |
|
0:00:00.16 |
FAIL |
|
5 |
tm_showTestManager.rb |
open |
18:45:19 27.06.2002 |
|
|
|
5.1 |
|
open |
18:45:19 27.06.2002 |
|
|
Second level test |
5.1.1 |
|
open |
18:45:19 27.06.2002 |
|
|
Third level test |
|
|
comment |
|
|
|
A comment! |
|
|
close |
|
0:00:00.01 |
PASS |
|
5.1.2 |
|
open |
18:45:19 27.06.2002 |
|
|
Third level test |
|
|
state_change |
|
|
UNSUPPORTED |
This test is not supported |
|
|
close |
|
0:00:00.02 |
UNSUPPORTED |
|
5.1.3 |
|
open |
18:45:19 27.06.2002 |
|
|
Third level test |
|
|
expectToFail |
|
|
true |
|
|
|
state_change |
|
|
UNTESTED |
This test is marked untested |
|
|
close |
|
0:00:00.06 |
UNTESTED |
|
|
|
state_change |
|
|
INCONCLUSIVE |
OK - we do not want to decide! |
|
|
close |
|
0:00:00.19 |
INCONCLUSIVE |
|
|
|
close |
|
0:00:00.22 |
INCONCLUSIVE |
|
Test Environment
Computer name: |
WKE |
Operating system: |
Windows 2000 (Service Pack 2) |
Language: |
English (United States) |
PROFIBUS Scripting Host Application : |
Version 2.0 |
Project settings
Project name: |
tm_basics |
Project description: |
Basics of Testmanagement |
Date: |
2002/06/19 |
Author: |
CANDEO |
Remarks: |
Not for production use! |
|
Init-Script |
|
Exit-Script |
|
Test-Case 1 |
../013-GetLastDiag.rb |
Test-Case 2 |
../011-GetCfgData.rb |
Test-Case 3 |
../012-GetPrmData.rb |
Test-Case 4 |
tm_equalTest.rb |
Test-Case 5 |
tm_showTestManager.rb |
Start Test-Suite
Test 1: [013-GetLastDiag.rb] 18:45:18
27.06.2002
This sample configures three slaves and reads back the last Slave-Diag
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
open
primitive name =
request
binFilePath name = C:/Program Files/CANDEO/PROFIBUS Scripting
Host/bin/../usr/Siemens3.bin
mode name = v1_master
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
open
primitive name = confirmation value = positive
RUBY
CallFunction board =
PROFIsimulation
function name = get_configured_device_list
RUBY
FunctionReturn board =
PROFIsimulation
device id = 1
type = Master
device id = 3
type = Slave activated = true
device id = 4
type = Slave activated = true
device id = 5
type = Slave activated = true
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
set_op_mode
primitive name =
request
mode name = operate
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
set_op_mode
primitive name = confirmation value = positive
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
dp_slave_diag
primitive name =
request
address value = 3
ConfirmationSemaphore signalled = false
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
dp_slave_diag
primitive name =
request
address value = 4
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
dp_slave_diag
primitive name =
confirmation value =
positive
address value = 3
T_DP_DIAG_DATA
00h,05h,00h,FFh,00h,01h
DIAG_SLAVE_SENT value = true
PRM_REQ value = true
master_address value = 255
ident_number value = 0x0001
ConfirmationSemaphore signalled = false
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
dp_slave_diag
primitive name =
request
address value = 5
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
dp_slave_diag
primitive name =
confirmation value =
positive
address value = 4
T_DP_DIAG_DATA
00h,05h,00h,FFh,00h,02h
DIAG_SLAVE_SENT value = true
PRM_REQ value = true
master_address value = 255
ident_number value = 0x0002
ConfirmationSemaphore signalled = false
RUBY
DPV1Master board =
PROFIsimulation
service name =
close
primitive name = request
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
dp_slave_diag
primitive name =
confirmation value =
positive
address value = 5
T_DP_DIAG_DATA
00h,05h,00h,FFh,80h,1Dh
DIAG_SLAVE_SENT value = true
PRM_REQ value = true
master_address value = 255
ident_number value = 0x801D
Ready.
Test 1: PASS (0:00:00.11)
Test 2: [011-GetCfgData.rb] 18:45:19
27.06.2002
This sample configures three slaves and reads back the Configuration Data
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
open
primitive name =
request
binFilePath name = C:/Program Files/CANDEO/PROFIBUS Scripting
Host/bin/../usr/Siemens3.bin
mode name = v1_master
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
open
primitive name = confirmation value = positive
RUBY
CallFunction board =
PROFIsimulation
function name = get_configured_device_list
RUBY
FunctionReturn board =
PROFIsimulation
device id = 1
type = Master
device id = 3
type = Slave activated = true
device id = 4
type = Slave activated = true
device id = 5
type = Slave activated = true
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
set_op_mode
primitive name =
request
mode name = stop
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
set_op_mode
primitive name = confirmation value = positive
RUBY
CallFunction slave =
3
function name = get_cfg_data
RUBY
FunctionReturn slave =
3
T_DP_CFG_DATA number_inputs =
2 number_outputs =
0
ident_number =
0x0001
00h,11h
special_identifier name = free_place user_length = 0
identifier input_length = 2 consistency = 0
Number Input: 2 Number Output: 0 Data: 00,11
RUBY
CallFunction slave =
4
function name = get_cfg_data
RUBY
FunctionReturn slave =
4
T_DP_CFG_DATA number_inputs =
0 number_outputs =
2
ident_number =
0x0002
21h,00h
identifier output_length = 2 consistency = 0
special_identifier name = free_place user_length = 0
Number Input: 0 Number Output: 2 Data: 21,00
RUBY
CallFunction slave =
5
function name = get_cfg_data
RUBY
FunctionReturn slave =
5
T_DP_CFG_DATA number_inputs =
25 number_outputs =
0
ident_number =
0x801D
04h,00h,00h,ADh,C4h,04h,00h,00h,8Bh,41h,04h,00h,00h,8Fh,C0h,43h,00h,00h,1Fh,C1h,43h,43h,00h,15h,C4h,43h,47h,00h,15h,C5h
special_identifier name = free_place user_length = 4
special_identifier name = free_place user_length = 4
special_identifier name = free_place user_length = 4
special_identifier input_length = 1 input_consistency = 0
user_length = 3
special_identifier input_length = 8 input_consistency = 0
user_length = 3
special_identifier input_length = 16 input_consistency = 0
user_length = 3
Number Input: 25 Number Output: 0 Data:
04,00,00,AD,C4,04,00,00,8B,41,04,00,00,8F,C0,43,00,00,1F,C1,43,43,00,15,C4,43,47,00,15,C5
RUBY
DPV1Master board =
PROFIsimulation
service name =
close
primitive name = request
Ready.
Test 2: PASS (0:00:00.08)
Test 3: [012-GetPrmData.rb] 18:45:19
27.06.2002
This sample configures three slaves and reads back the Prm-Data
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
open
primitive name =
request
binFilePath name = C:/Program Files/CANDEO/PROFIBUS Scripting
Host/bin/../usr/Siemens3.bin
mode name = v1_master
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
open
primitive name = confirmation value = positive
RUBY
CallFunction board =
PROFIsimulation
function name = get_configured_device_list
RUBY
FunctionReturn board =
PROFIsimulation
device id = 1
type = Master
device id = 3
type = Slave activated = true
device id = 4
type = Slave activated = true
device id = 5
type = Slave activated = true
RUBY
SendConfirmedService board =
PROFIsimulation
service name =
set_op_mode
primitive name =
request
mode name = stop
RUBY
ReceiveServiceConfirmation board =
PROFIsimulation
service name =
set_op_mode
primitive name = confirmation value = positive
RUBY
CallFunction slave =
3
function name = get_prm_data
RUBY
FunctionReturn slave =
3
T_DP_PRM_DATA
08h,19h,01h,0Bh,00h,01h,00h,00h,00h,00h,00h,00h
WD_ON value = true
timeout = 250
min_Tsdr value = 11
ident_number value = 0x0001
GROUP value = 0
minTsdr: 11 identNumber: 0x0001 group: 0 timeout: 250 wdOn Data:
08,19,01,0B,00,01,00,00,00,00,00,00
RUBY
CallFunction slave =
4
function name = get_prm_data
RUBY
FunctionReturn slave =
4
T_DP_PRM_DATA
08h,19h,01h,0Bh,00h,02h,00h,00h,00h,00h,00h,00h
WD_ON value = true
timeout = 250
min_Tsdr value = 11
ident_number value = 0x0002
GROUP value = 0
minTsdr: 11 identNumber: 0x0002 group: 0 timeout: 250 wdOn Data:
08,19,01,0B,00,02,00,00,00,00,00,00
RUBY
CallFunction slave =
5
function name = get_prm_data
RUBY
FunctionReturn slave =
5
T_DP_PRM_DATA
08h,19h,01h,0Bh,80h,1Dh,00h,00h,60h,00h
WD_ON value = true
timeout = 250
min_Tsdr value = 11
ident_number value = 0x801D
GROUP value = 0
minTsdr: 11 identNumber: 0x801D group: 0 timeout: 250 wdOn Data:
08,19,01,0B,80,1D,00,00,60,00
RUBY
DPV1Master board =
PROFIsimulation
service name =
close
primitive name = request
Ready.
Test 3: PASS (0:00:00.07)
Test 4: [tm_equalTest.rb] 18:45:19
27.06.2002
Test 4.1: 18:45:19 27.06.2002
Version 1.0 mit Fehler
Test state changed:
FAIL Check failed at C:/Program Files/CANDEO/PROFIBUS Scripting
Host/sample/TM-Basics/tm_equalTest.rb:24
Test 4.1: FAIL (0:00:00.06)
Test 4.2: 18:45:19 27.06.2002
Version 1.0 mit Fehler
expect to fail: true
Test state changed: XFAIL
Check failed at C:/Program Files/CANDEO/PROFIBUS Scripting
Host/sample/TM-Basics/tm_equalTest.rb:34
Test 4.2: XFAIL (0:00:00.03)
Test 4.3: 18:45:19 27.06.2002
Version 2.0, korrigiert
Test 4.3: PASS (0:00:00.02)
Test 4: FAIL (0:00:00.16)
Test 5: [tm_showTestManager.rb] 18:45:19
27.06.2002
Test 5.1: 18:45:19 27.06.2002
Second level test
Test 5.1.1: 18:45:19 27.06.2002
Third level test
Test comment: A comment!
Test 5.1.1: PASS (0:00:00.01)
Test 5.1.2: 18:45:19 27.06.2002
Third level test
Test state changed:
UNSUPPORTED This test is not supported
Test 5.1.2: UNSUPPORTED
(0:00:00.02)
Test 5.1.3: 18:45:19 27.06.2002
Third level test
expect to fail: true
Test state changed: UNTESTED
This test is marked untested
Test 5.1.3: UNTESTED (0:00:00.06)
Test state changed:
INCONCLUSIVE OK - we do not want to decide!
Test 5.1: INCONCLUSIVE
(0:00:00.19)
Test 5: INCONCLUSIVE
(0:00:00.22)
End Test-Suite: FAIL