-
Notifications
You must be signed in to change notification settings - Fork 1
/
resultados_de_la_ejecucion.html
230 lines (224 loc) · 5.79 KB
/
resultados_de_la_ejecucion.html
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
.failed {color: red; background-color: #ffcccc;}
.passed {color: green; background-color: #ccffcc;}
.done {color: #404040; background-color: #ccffcc;}
.comment {color: #404040; background-color: #d0d0d0;}
body, table { font-family: Verdana, Arial, sans-serif; font-size: 12pt; }
table { border-collapse: collapse; border: 1px solid #ccc; }
th, td { padding-left: 0.3em; padding-right: 0.3em; border: 1px solid #ccc; }
#suiteSummaryTable thead { font-size: 14pt; font-weight: 800; }
.test_case thead { font-size: 14pt; font-weight: 400; }
</style>
</head>
<body>
<table id="suiteSummaryTable" class="selenium">
<thead><tr class="passed"><td>Test Suite: 0TS_suite_hmis.html</td></tr></thead>
<tbody>
<tr><td>Test cases: 2 total / <span class="passed">2</span> passed / <span class="failed">0</span> failed</td></tr>
<tr><td>Commands: 27 total / <span class="passed">27</span> passed / <span class="failed">0</span> failed / <span class="skipped">0</span> skipped</td></tr>
</tbody></table><br>
<table id="suiteTable" class="selenium">
<thead><tr><td>Index of test cases</td></tr></thead>
<tbody>
<tr class="passed"><td><a href="#test0">hmis_ual</a></td></tr>
<tr class="passed"><td><a href="#test1">examen_hmis</a></td></tr>
</tbody></table>
<br><hr><br><a name="test0"></a><table class="test_case"><thead><tr><td colspan="4">Test case: hmis_ual</td></tr></thead><tbody><tr class="done">
<td>open</td>
<td>/</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>type</td>
<td>id=lst-ib</td>
<td>universidad de almeria</td>
<td></td>
</tr>
<tr class="done">
<td>click</td>
<td>name=btnG</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Universidad de Almería</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Grados, 1 y 2 Ciclo</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Grado en Ingeniería Informática (Plan 2015)</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Plan de Estudios</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Ordenadas por cursos</td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">SIEMPRE debe haber un ASSERT al final del test</td>
</tr>
<tr class="passed">
<td>assertText</td>
<td>//div[@id='articulo']/table[7]/tbody/tr[2]/td[2]/a/strong</td>
<td>Herramientas y Métodos de Ingeniería del Software</td>
<td></td>
</tr>
</tbody></table>
<br><hr><br><a name="test1"></a><table class="test_case"><thead><tr><td colspan="4">Test case: examen_hmis</td></tr></thead><tbody><tr class="done">
<td>open</td>
<td>/</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>type</td>
<td>id=lst-ib</td>
<td>universidad de almeria</td>
<td></td>
</tr>
<tr class="done">
<td>click</td>
<td>name=btnG</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Universidad de Almería</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Grados, 1 y 2 Ciclo</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Grado en Ingeniería Informática (Plan 2015)</td>
<td></td>
<td></td>
</tr>
<tr class="done">
<td>clickAndWait</td>
<td>link=Horarios, Aulas y Exámenes</td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Usamos click en lugar de clickAndWait porque abre una nueva pestaña</td>
</tr>
<tr class="comment">
<td colspan="4">Si falla ! Ir a Firefox y permitir que se abra la ventana emergente !!!!</td>
</tr>
<tr class="done">
<td>click</td>
<td>link=calendario de los exámenes</td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Esperamos a que se abra la nueva pestaña o ventana</td>
</tr>
<tr class="done">
<td>waitForPopUp</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Seleccionamos la nueva pestaña o ventana</td>
</tr>
<tr class="done">
<td>selectPopUp</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Comprobamos que en la columna 3 de la fila que contiene el texto "40153306" aparece el texto Herramientas y Métodos....</td>
</tr>
<tr class="passed">
<td>assertText</td>
<td>//tr[contains(td[2], "40153306")]/td[3]</td>
<td>Herramientas y Métodos de Ingeniería del Software</td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Guardamos valores en variables</td>
</tr>
<tr class="done">
<td>storeText</td>
<td>//tr[contains(td[2], "40153306")]/td[5]</td>
<td>fecha</td>
<td></td>
</tr>
<tr class="done">
<td>storeText</td>
<td>//tr[contains(td[2], "40153306")]/td[6]</td>
<td>hora</td>
<td></td>
</tr>
<tr class="done">
<td>storeText</td>
<td>//tr[contains(td[2], "40153306")]/td[7]</td>
<td>lugar</td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Mostramos un mensaje en el LOG (ver pestaña "Log" de Selenium IDE)</td>
</tr>
<tr class="done">
<td>echo</td>
<td>El examen de HMIS será el ${fecha} a las ${hora} en ${lugar}</td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Cerramos la nueva pestaña o ventana</td>
</tr>
<tr class="done">
<td>close</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="comment">
<td colspan="4">Seleccionamos la pestaña o ventana original</td>
</tr>
<tr class="done">
<td>selectWindow</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr class="passed">
<td>assertTitle</td>
<td>Horarios, Aulas y Exámenes - Grado en Ingeniería Informática (Plan 2015) - Universidad de Almería</td>
<td></td>
<td></td>
</tr>
</tbody></table>
</body></html>