-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathController.robot
110 lines (94 loc) · 4.64 KB
/
Controller.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
*** Settings ***
Resource Global_Vars.resource
Resource CSC_Lists.resource
Resource Common_Keywords.resource
Library QueryEfd ${SALVersion} ${XMLVersion} ${OSPLVersion}
Library Process
*** Variables ***
*** Test Cases ***
# STANDBY
Execute auxtel_offline_standby.py
[Tags] auxtel standby execute
${result}= Run Process auxtel_offline_standby
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Execute maintel_offline_standby.py
[Tags] maintel standby execute
${result}= Run Process maintel_offline_standby
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Generate Standby Report
[Tags] standby
${result}= Run Process robot -A Vars.txt -A Test_Report_Standby.list
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Should Be Equal As Integers ${result.rc} 0
# DISABLED
Execute auxtel_standby_disabled.py
[Tags] auxtel disabled execute
${result}= Run Process auxtel_standby_disabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
# auxtel_standby_disabled runs two scripts.
Wait Until Script Completes set_summary_state.py 1 5
Wait Until Script Completes set_summary_state.py 1 5
Execute eas_standby_disabled.py
[Tags] eas disabled execute
${result}= Run Process eas_standby_disabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Execute gencam_standby_disabled.py
[Tags] gencam disabled execute
${result}= Run Process gencam_standby_disabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Execute maintel_standby_disabled.py
[Tags] maintel disabled execute
${result}= Run Process maintel_standby_disabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
# maintel_standby_disabled runs two scripts.
Wait Until Script Completes set_summary_state.py 1 5
Wait Until Script Completes set_summary_state.py 1 5
Execute obssys2_standby_disabled.py
[Tags] disabled execute
${result}= Run Process obssys2_standby_disabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Generate Disabled Report
[Tags] disabled
${result}= Run Process robot -A Vars.txt -A Test_Report_Disabled.list
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Should Be Equal As Integers ${result.rc} 0
# ENABLED
Execute auxtel_disabled_enabled.py
[Tags] auxtel enabled execute
${result}= Run Process auxtel_disabled_enabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
# auxtel_disabled_enabled runs two scripts.
Wait Until Script Completes set_summary_state.py 1 5
Wait Until Script Completes set_summary_state.py 1 5
Execute eas_disabled_enabled.py
[Tags] eas enabled execute
${result}= Run Process eas_disabled_enabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Execute gencam_disabled_enabled.py
[Tags] gencam enabled execute
${result}= Run Process gencam_disabled_enabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Execute maintel_disabled_enabled.py
[Tags] maintel enabled execute
${result}= Run Process maintel_disabled_enabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
# maintel_disabled_enabled runs two scripts.
Wait Until Script Completes set_summary_state.py 1 5
Wait Until Script Completes set_summary_state.py 1 5
Execute obssys2_disabled_enabled.py
[Tags] enabled execute
${result}= Run Process obssys2_disabled_enabled
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Wait Until Script Completes set_summary_state.py 1 5
Generate Enabled Report
[Tags] enabled
${result}= Run Process robot -A Vars.txt -A Test_Report_Enabled.list
Log Many ${result.rc} ${result.stdout} ${result.stderr}
Should Be Equal As Integers ${result.rc} 0