SoftwareTesting: vlo.xsd

File vlo.xsd, 14.1 KB (added by Twan Goosen, 7 years ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- This file is generated from plans/Virtual_Language|_Observatory.xml! Modifications will be lost when regenerated! -->
3<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ann="http://www.clarin.eu">
4
5    <xs:element name="VirtualBugCheck">
6
7        <xs:complexType>
8
9            <xs:sequence>
10
11
12    <xs:element name="DateTime" type="xs:string" maxOccurs="1" minOccurs="1" ann:documentation="The date/time the test was started" ann:displaypriority="1"/>
13
14    <xs:element name="VirtualVersion" type="xs:string" maxOccurs="1" minOccurs="1" ann:documentation="The version of the application being tested"/>
15
16    <xs:element name="OSVersion" type="xs:string" maxOccurs="1" minOccurs="1" ann:documentation="The operating system type and version being tested on"/>
17
18                <xs:element name="Tester" type="xs:string" maxOccurs="1" minOccurs="0" ann:documentation="The tester who saved these test results."/>
19                <xs:element name="TestPlanRevision" type="xs:string" maxOccurs="1" minOccurs="0" ann:documentation="The SVN revision of the test plan these results where saved with. "/>
20
21                <xs:element name="StartingVirtualLanguageObservatoryVLO" minOccurs="1" maxOccurs="unbounded">
22
23                    <xs:complexType>
24
25                        <xs:sequence>
26
27                            <xs:element name="Starting" maxOccurs="1" minOccurs="1" ann:documentation="Go to the following web page: http://catalog.clarin.eu/vlobeta/?0." type="TestResult"/>
28
29                            <xs:element name="ErrorDescription" maxOccurs="unbounded" minOccurs="0" type="xs:string" ann:documentation="Description of errors in this test node. Can exist multiple times."/>
30
31                        </xs:sequence>
32
33                    </xs:complexType>
34
35                </xs:element>
36
37                <xs:element name="SimpleSearchPage" minOccurs="1" maxOccurs="unbounded">
38
39                    <xs:complexType>
40
41                        <xs:sequence>
42
43                            <xs:element name="FilterByALanguage" maxOccurs="1" minOccurs="1" ann:documentation="Try the following link: 'Filter by a Language' (select a language that is not in the list using the ‘Type to search more’ box) and verify that they produce the right selection (use the result count number and the value(s) shown in the ‘breadcrumbs’ in the result page to check)." type="TestResult"/>
44
45                            <xs:element name="FilterByAResourceType" maxOccurs="1" minOccurs="1" ann:documentation="Try the following link: 'Filter by a Resource Type' (select a language by pressing ‘more
’ and choose one there) and verify that they produce the right selection (use the result count number and the value(s) shown in the ‘breadcrumbs’ in the result page to check)." type="TestResult"/>
46
47                            <xs:element name="FilterByAGenre" maxOccurs="1" minOccurs="1" ann:documentation="Try the following links: 'Filter by a genre' and verify that they produce the right selection (select one from the initial list) and verify that they produce the right selection (use the result count number and the value(s) shown in the ‘breadcrumbs’ in the result page to check)." type="TestResult"/>
48
49                            <xs:element name="FilterByANationalProject" maxOccurs="1" minOccurs="1" ann:documentation="Select a collection first, then filter by a National Project (there should be only one)." type="TestResult"/>
50
51                            <xs:element name="TextSearch" maxOccurs="1" minOccurs="1" ann:documentation="Perform a text search, i.e. for example search for ‘dutch’ by typing it into the search box on the search page. Open one of the results and verify that the word ‘dutch’ has been highlighted in on the page wherever it occurs in the record (below the page title). " type="TestResult"/>
52
53                            <xs:element name="SearchForSimilar" maxOccurs="1" minOccurs="1" ann:documentation="Click on the arrow next to the info which are provided when you select a result (e.g., 'Resource type &gt; text'). The search results finds all similar resources of the same type.   " type="TestResult"/>
54
55                            <xs:element name="MetadataFields" maxOccurs="1" minOccurs="1" ann:documentation="Click ‘Show all metadata fields’ (below the resources) and verify that the highlighting also occurs in the full metadata view." type="TestResult"/>
56
57                            <xs:element name="TechnicalDetails" maxOccurs="1" minOccurs="1" ann:documentation="Click 'Technical Details' (below the resources) and verify that additional info are shown (e.g, Self link, ID, data provider etc.)" type="TestResult"/>
58
59                            <xs:element name="ErrorDescription" maxOccurs="unbounded" minOccurs="0" type="xs:string" ann:documentation="Description of errors in this test node. Can exist multiple times."/>
60
61                        </xs:sequence>
62
63                    </xs:complexType>
64
65                </xs:element>
66
67                <xs:element name="FacetedSearchPage" minOccurs="1" maxOccurs="unbounded">
68
69                    <xs:complexType>
70
71                        <xs:sequence>
72
73                            <xs:element name="BrowseAll" maxOccurs="1" minOccurs="1" ann:documentation="Click on the link for 'Browse all'. Expand the facet Language and the facet Country. Reload the page - the facets should still be expanded" type="TestResult"/>
74
75                            <xs:element name="FacetValue1" maxOccurs="1" minOccurs="1" ann:documentation="Select a Language from the initial list. This should reduce the result set (number of results and items shown) and change the available options for Country. Use the browser back and forward buttons to compare." type="TestResult"/>
76
77                            <xs:element name="FacetValue2" maxOccurs="1" minOccurs="1" ann:documentation="Remove your selection, expand ‘Language' and type “awe” in the search box that says ‘Type to search for more’. The options should change while you type and should leave ‘Aweti’ (and possibly other values) in the end. Click Aweti, confirm that the results have changed and remove your selection." type="TestResult"/>
78
79                            <xs:element name="FacetValue3" maxOccurs="1" minOccurs="1" ann:documentation="Expand ’Subject’ and click ‘more
' below its list of values. A pop-up should appear showing you all values in the facet. Test filtering by name and by number of occurrences. Try both sorting options. All filters should be applied dynamically. Select a value and check that it is applied to the search results." type="TestResult"/>
80
81                            <xs:element name="FacetValue4" maxOccurs="1" minOccurs="1" ann:documentation="Select values for a number of facets without unselecting any. Write down the total result count after each selection. " type="TestResult"/>
82
83                            <xs:element name="FacetValue5" maxOccurs="1" minOccurs="1" ann:documentation="Test the ‘expand all’ and ‘collapse all’ links. They should expand and collapse all facets in the box to the right." type="TestResult"/>
84
85                            <xs:element name="ErrorDescription" maxOccurs="unbounded" minOccurs="0" type="xs:string" ann:documentation="Description of errors in this test node. Can exist multiple times."/>
86
87                        </xs:sequence>
88
89                    </xs:complexType>
90
91                </xs:element>
92
93                <xs:element name="SearchResults" minOccurs="1" maxOccurs="unbounded">
94
95                    <xs:complexType>
96
97                        <xs:sequence>
98
99                            <xs:element name="SearchMultipleResources" maxOccurs="1" minOccurs="1" ann:documentation="Make a selection that includes a record with multiple resources of various types (e.g audio files and text documents). Use the ‘expand’ link to get more details in the search results. The  number of resources shown for the record should match the count when collapsed. Click the resource link and make sure that it works (you may not have access, that is ok)." type="TestResult"/>
100
101                            <xs:element name="SearchMultipleResources2" maxOccurs="1" minOccurs="1" ann:documentation="Find a record that has more than ten resources (hint: search for ‘discan’), and expand the search result for this record. Assert that only ten resource are shown and that there is a link to show more. Click this link; it should bring you to the record page where all resources are shown." type="TestResult"/>
102
103                            <xs:element name="ResultsPerPage" maxOccurs="1" minOccurs="1" ann:documentation="Make a selection that has between 51 and 99 results. Modify the selection in ‘results per page’ drop down below the search results and make sure that the actual count is correct (count the items per page for a low number; set to 100 and verify that there is only one page)." type="TestResult"/>
104
105                            <xs:element name="TopLinks" maxOccurs="1" minOccurs="1" ann:documentation="Select values for some facets. Click ‘Permalink’, copy the link that appears and test it in another browser - it should bring you to the same page." type="TestResult"/>
106
107                            <xs:element name="Report" maxOccurs="1" minOccurs="1" ann:documentation="Click ‘Report’. This should open a feedback form in a new tab. Check if the value of ‘URL’ is identical to the permalink on the same page. Fill in the form stating you are testing a new version of the VLO, send it and ask the developer for a confirmation of retrieval." type="TestResult"/>
108
109                            <xs:element name="Help" maxOccurs="1" minOccurs="1" ann:documentation="Click ‘Help’. This should open a page with information about the VLO in a new tab." type="TestResult"/>
110
111                            <xs:element name="ErrorDescription" maxOccurs="unbounded" minOccurs="0" type="xs:string" ann:documentation="Description of errors in this test node. Can exist multiple times."/>
112
113                        </xs:sequence>
114
115                    </xs:complexType>
116
117                </xs:element>
118
119                <xs:element name="RecordPage" minOccurs="1" maxOccurs="unbounded">
120
121                    <xs:complexType>
122
123                        <xs:sequence>
124
125                            <xs:element name="NextCheck" maxOccurs="1" minOccurs="1" ann:documentation="Make a selection that leaves about ten results. Click the title of the first result. The ‘previous’ link should not be enabled for the first record. Use ‘next’ to go the last record in the set. The ‘next’ link should be enabled for the last record." type="TestResult"/>
126
127                            <xs:element name="Selections" maxOccurs="1" minOccurs="1" ann:documentation="Click ‘Selections’ in the breadcrumbs and assert that you are returned to the search page with the same result set." type="TestResult"/>
128
129                            <xs:element name="PermalinkCheck" maxOccurs="1" minOccurs="1" ann:documentation="Go one of the records. Click ‘Permalink’, copy the link that appears and test it in another browser - it should bring you to the same record." type="TestResult"/>
130
131                            <xs:element name="ResourceLinkCheck" maxOccurs="1" minOccurs="1" ann:documentation="Open a record from the collection 'TLA: DoBeS archive’ with at least one resource. Check that the real file name of the resource(s) are shown and not a handle (starting with hdl:1839/
). Click the resource link and make sure that it works (you may not have access, that is ok)." type="TestResult"/>
132
133                            <xs:element name="FacetedSearch" maxOccurs="1" minOccurs="1" ann:documentation="On the search page, go to ‘search options’ and check ' Only include resources that support content search’. Then select the  'Bavarian Archive for Speech Signals (BAS)’ and open the record ALC." type="TestResult"/>
134
135                            <xs:element name="FacetedSearch2" maxOccurs="1" minOccurs="1" ann:documentation="Click the link 'Plain text search via Federated Content Search’. The CLARIN-D federated content search page should open. Click ‘search options’, expand ‘Corpora' and assert that the ‘ALC’ corpus is checked." type="TestResult"/>
136
137                            <xs:element name="ErrorDescription" maxOccurs="unbounded" minOccurs="0" type="xs:string" ann:documentation="Description of errors in this test node. Can exist multiple times."/>
138
139                        </xs:sequence>
140
141                    </xs:complexType>
142
143                </xs:element>
144
145                <xs:element name="AboutPage" minOccurs="1" maxOccurs="unbounded">
146
147                    <xs:complexType>
148
149                        <xs:sequence>
150
151                            <xs:element name="ApplicationVersionNumber" maxOccurs="1" minOccurs="1" ann:documentation="Check if ‘application version number’ is correct (it should match the intended version number and the version number in the page footer)" type="TestResult"/>
152
153                            <xs:element name="LinksCheck" maxOccurs="1" minOccurs="1" ann:documentation="Check if all links work." type="TestResult"/>
154
155                            <xs:element name="ErrorDescription" maxOccurs="unbounded" minOccurs="0" type="xs:string" ann:documentation="Description of errors in this test node. Can exist multiple times."/>
156
157                        </xs:sequence>
158
159                    </xs:complexType>
160
161                </xs:element>
162
163            </xs:sequence>
164
165        </xs:complexType>
166
167    </xs:element>
168
169    <xs:simpleType name="TestResultContent">
170
171        <xs:restriction base="xs:string">
172
173            <xs:enumeration value="Works"/>
174
175            <xs:enumeration value="Mostly"/>
176           
177            <xs:enumeration value="Strange"/>
178           
179            <xs:enumeration value="Fails"/>
180
181            <xs:enumeration value="Empty"/>
182
183        </xs:restriction>
184
185    </xs:simpleType>
186
187    <xs:complexType name="TestResult">
188        <xs:simpleContent>
189            <xs:extension base="TestResultContent">
190                <xs:attribute name="error" form="unqualified" use="optional"/>
191            </xs:extension>
192        </xs:simpleContent>
193    </xs:complexType>
194</xs:schema>