You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration-testing/TestSuite005-validator.robot
+38-4Lines changed: 38 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,9 @@ TestCase005-01
21
21
Set Test Variable ${sclname} SingleSubstation
22
22
Set Test Variable ${scltype} SCD
23
23
24
-
Open Menu Open project
25
-
Open local file ${sclname}${scltype}
24
+
Change Websockets setting True
25
+
Open Menu Open project
26
+
Open local file ${sclname}${scltype}
26
27
27
28
Execute SCL Validator
28
29
@@ -32,12 +33,45 @@ TestCase005-01
32
33
Get Element Count mwc-dialog#diagnostic > filtered-list > abbr == 332
33
34
34
35
TestCase005-02
36
+
[Documentation] Execute the SCL Validator (REST API) with OCL Validation Errros.
37
+
Set Test Variable ${sclname} SingleSubstation
38
+
Set Test Variable ${scltype} SCD
39
+
40
+
Change Websockets setting False
41
+
Open Menu Open project
42
+
Open local file ${sclname}${scltype}
43
+
44
+
Execute SCL Validator
45
+
46
+
Open Menu View diagnostics
47
+
Get Text mwc-dialog#diagnostic > filtered-list > mwc-list-item:nth-child(4) == Validate using OCL
48
+
Get Attribute mwc-dialog#diagnostic > filtered-list > abbr:nth-child(6) title *= [SCD File] DataTypeTemplates section is mandatory (line 1)
49
+
Get Element Count mwc-dialog#diagnostic > filtered-list > abbr == 332
50
+
51
+
TestCase005-03
35
52
[Documentation] Execute the SCL Validator (Websockets) with XSD Validation Errors.
36
53
Set Test Variable ${sclname} XsdValidationErrors
37
54
Set Test Variable ${scltype} SCD
38
55
39
-
Open Menu Open project
40
-
Open local file ${sclname}${scltype}
56
+
Change Websockets setting True
57
+
Open Menu Open project
58
+
Open local file ${sclname}${scltype}
59
+
60
+
Execute SCL Validator
61
+
62
+
Open Menu View diagnostics
63
+
Get Text mwc-dialog#diagnostic > filtered-list > mwc-list-item:nth-child(12) == Validate using OCL
64
+
Get Attribute mwc-dialog#diagnostic > filtered-list > abbr:nth-child(14) title *= [XSD validation] (line: 32, column: 47): cvc-complex-type.4: Attribute 'type' must appear on element 'DO'.
65
+
Get Element Count mwc-dialog#diagnostic > filtered-list > abbr == 11
66
+
67
+
TestCase005-04
68
+
[Documentation] Execute the SCL Validator (REST API) with XSD Validation Errors.
0 commit comments