2202
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
1447
|
3 |
"{ Package: 'stx:goodies/regression' }"
|
359
|
4 |
|
|
5 |
"{ NameSpace: RegressionTests }"
|
|
6 |
|
|
7 |
TestCase subclass:#HTMLParserTests
|
|
8 |
instanceVariableNames:''
|
|
9 |
classVariableNames:''
|
|
10 |
poolDictionaries:''
|
1550
|
11 |
category:'tests-Regression-XML'
|
359
|
12 |
!
|
|
13 |
|
|
14 |
!HTMLParserTests class methodsFor:'documentation'!
|
|
15 |
|
|
16 |
documentation
|
|
17 |
"
|
|
18 |
documentation to be added.
|
|
19 |
|
|
20 |
[author:]
|
1447
|
21 |
mb (mb@SUNGSAM)
|
359
|
22 |
|
|
23 |
[instance variables:]
|
|
24 |
|
|
25 |
[class variables:]
|
|
26 |
|
|
27 |
[see also:]
|
|
28 |
|
|
29 |
"
|
|
30 |
!
|
|
31 |
|
|
32 |
history
|
|
33 |
"Created: / 15-01-2009 / 12:44:33 / mb"
|
|
34 |
! !
|
|
35 |
|
|
36 |
!HTMLParserTests methodsFor:'initialize / release'!
|
|
37 |
|
|
38 |
setUp
|
|
39 |
"common setup - invoked before testing."
|
|
40 |
|
1662
|
41 |
(Smalltalk classNamed:'stx_goodies_webServer_htmlTree') isNil ifTrue:[
|
|
42 |
(Smalltalk loadPackage:'stx:goodies/webServer/htmlTree') ifFalse:[
|
|
43 |
self error:'stx:goodies/webServer/htmlTree cannot be loaded'.
|
|
44 |
].
|
|
45 |
].
|
|
46 |
(Smalltalk classNamed:'stx_goodies_webServer_htmlTree') load.
|
|
47 |
|
|
48 |
"Modified: / 31-07-2017 / 11:40:25 / mawalch"
|
359
|
49 |
!
|
|
50 |
|
|
51 |
tearDown
|
|
52 |
"common cleanup - invoked after testing."
|
|
53 |
|
|
54 |
super tearDown
|
|
55 |
! !
|
|
56 |
|
|
57 |
!HTMLParserTests methodsFor:'tests'!
|
|
58 |
|
2202
|
59 |
test01a
|
|
60 |
"test the new parser"
|
|
61 |
|
359
|
62 |
|el|
|
|
63 |
|
|
64 |
el := HTML::HTMLParser parseText:'
|
|
65 |
<HEAD>
|
|
66 |
</HEAD>
|
|
67 |
'.
|
1677
|
68 |
"/ el inspect.
|
359
|
69 |
|
|
70 |
"
|
2202
|
71 |
self new test01a
|
359
|
72 |
"
|
2202
|
73 |
|
|
74 |
"Created: / 29-03-2019 / 10:35:20 / Claus Gittinger"
|
359
|
75 |
!
|
|
76 |
|
2202
|
77 |
test01b
|
|
78 |
"test the old parser"
|
|
79 |
|
|
80 |
|el|
|
|
81 |
|
|
82 |
el := HTMLParser parseText:'
|
|
83 |
<HEAD>
|
|
84 |
</HEAD>
|
|
85 |
'.
|
|
86 |
"/ el inspect.
|
|
87 |
|
|
88 |
"
|
|
89 |
self new test01b
|
|
90 |
"
|
|
91 |
|
|
92 |
"Created: / 29-03-2019 / 10:35:27 / Claus Gittinger"
|
|
93 |
!
|
|
94 |
|
|
95 |
test01c
|
|
96 |
"test the old parser"
|
|
97 |
|
|
98 |
|el|
|
|
99 |
|
|
100 |
el := HTMLParser parseText:'
|
|
101 |
<HTML>
|
|
102 |
<HEAD>
|
|
103 |
</HEAD>
|
|
104 |
</HTML>
|
|
105 |
'.
|
|
106 |
|
|
107 |
"
|
|
108 |
self new test01c
|
|
109 |
"
|
|
110 |
|
|
111 |
"Created: / 29-03-2019 / 11:22:27 / Claus Gittinger"
|
|
112 |
!
|
|
113 |
|
|
114 |
test02a
|
|
115 |
"test the new parser"
|
|
116 |
|
359
|
117 |
|doc|
|
|
118 |
|
|
119 |
doc := HTML::HTMLParser parseText:'
|
|
120 |
<!!--
|
|
121 |
Copyright 2004 ThoughtWorks, Inc
|
|
122 |
|
|
123 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
124 |
you may not use this file except in compliance with the License.
|
|
125 |
You may obtain a copy of the License at
|
|
126 |
|
|
127 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
128 |
|
|
129 |
Unless required by applicable law or agreed to in writing, software
|
|
130 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
131 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
132 |
See the License for the specific language governing permissions and
|
|
133 |
limitations under the License.
|
|
134 |
-->
|
|
135 |
<html>
|
|
136 |
<head>
|
|
137 |
<meta content="text/html; charset=ISO-8859-1"
|
|
138 |
http-equiv="content-type">
|
|
139 |
<title>Test Open</title>
|
|
140 |
</head>
|
|
141 |
<body>
|
|
142 |
<table cellpadding="1" cellspacing="1" border="1">
|
|
143 |
<tbody>
|
|
144 |
<tr>
|
|
145 |
<td rowspan="1" colspan="3">Google Test Search<br>
|
|
146 |
</td>
|
|
147 |
</tr>
|
|
148 |
<tr>
|
|
149 |
<td>open</td>
|
|
150 |
<td>http://www.google.com/webhp?hl=en</td>
|
|
151 |
<td> </td>
|
|
152 |
</tr>
|
|
153 |
<tr>
|
|
154 |
<td>verifyTitle</td>
|
|
155 |
<td>Google</td>
|
|
156 |
<td> </td>
|
|
157 |
</tr>
|
|
158 |
<tr>
|
|
159 |
<td>type</td>
|
|
160 |
<td>q</td>
|
|
161 |
<td>Selenium OpenQA</td>
|
|
162 |
</tr>
|
|
163 |
<tr>
|
|
164 |
<td>verifyValue</td>
|
|
165 |
<td>q</td>
|
|
166 |
<td>Selenium OpenQA</td>
|
|
167 |
</tr>
|
|
168 |
<tr>
|
|
169 |
<td>clickAndWait</td>
|
|
170 |
<td>btnG</td>
|
|
171 |
<td> </td>
|
|
172 |
</tr>
|
|
173 |
<tr>
|
|
174 |
<td>verifyTextPresent</td>
|
|
175 |
<td>openqa.org</td>
|
|
176 |
<td> </td>
|
|
177 |
</tr>
|
|
178 |
<tr>
|
|
179 |
<td>verifyTitle</td>
|
|
180 |
<td>Selenium OpenQA - Google Search</td>
|
|
181 |
<td> </td>
|
|
182 |
</tr>
|
|
183 |
</tbody>
|
|
184 |
|
|
185 |
</table>
|
|
186 |
</body>
|
|
187 |
</html>
|
|
188 |
'.
|
1677
|
189 |
self assert:(doc children first tagName = 'head').
|
359
|
190 |
|
|
191 |
"
|
2202
|
192 |
self new test02a
|
359
|
193 |
"
|
2202
|
194 |
|
|
195 |
"Created: / 29-03-2019 / 10:35:45 / Claus Gittinger"
|
|
196 |
!
|
|
197 |
|
|
198 |
test02b
|
|
199 |
"test the old parser"
|
|
200 |
|
|
201 |
|doc firstMarkup|
|
|
202 |
|
|
203 |
doc := HTMLParser parseText:'
|
|
204 |
<!!--
|
|
205 |
Copyright 2004 ThoughtWorks, Inc
|
|
206 |
|
|
207 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
208 |
you may not use this file except in compliance with the License.
|
|
209 |
You may obtain a copy of the License at
|
|
210 |
|
|
211 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
212 |
|
|
213 |
Unless required by applicable law or agreed to in writing, software
|
|
214 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
215 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
216 |
See the License for the specific language governing permissions and
|
|
217 |
limitations under the License.
|
|
218 |
-->
|
|
219 |
<html>
|
|
220 |
<head>
|
|
221 |
<meta content="text/html; charset=ISO-8859-1"
|
|
222 |
http-equiv="content-type">
|
|
223 |
<title>Test Open</title>
|
|
224 |
</head>
|
|
225 |
<body>
|
|
226 |
<table cellpadding="1" cellspacing="1" border="1">
|
|
227 |
<tbody>
|
|
228 |
<tr>
|
|
229 |
<td rowspan="1" colspan="3">Google Test Search<br>
|
|
230 |
</td>
|
|
231 |
</tr>
|
|
232 |
<tr>
|
|
233 |
<td>open</td>
|
|
234 |
<td>http://www.google.com/webhp?hl=en</td>
|
|
235 |
<td> </td>
|
|
236 |
</tr>
|
|
237 |
<tr>
|
|
238 |
<td>verifyTitle</td>
|
|
239 |
<td>Google</td>
|
|
240 |
<td> </td>
|
|
241 |
</tr>
|
|
242 |
<tr>
|
|
243 |
<td>type</td>
|
|
244 |
<td>q</td>
|
|
245 |
<td>Selenium OpenQA</td>
|
|
246 |
</tr>
|
|
247 |
<tr>
|
|
248 |
<td>verifyValue</td>
|
|
249 |
<td>q</td>
|
|
250 |
<td>Selenium OpenQA</td>
|
|
251 |
</tr>
|
|
252 |
<tr>
|
|
253 |
<td>clickAndWait</td>
|
|
254 |
<td>btnG</td>
|
|
255 |
<td> </td>
|
|
256 |
</tr>
|
|
257 |
<tr>
|
|
258 |
<td>verifyTextPresent</td>
|
|
259 |
<td>openqa.org</td>
|
|
260 |
<td> </td>
|
|
261 |
</tr>
|
|
262 |
<tr>
|
|
263 |
<td>verifyTitle</td>
|
|
264 |
<td>Selenium OpenQA - Google Search</td>
|
|
265 |
<td> </td>
|
|
266 |
</tr>
|
|
267 |
</tbody>
|
|
268 |
|
|
269 |
</table>
|
|
270 |
</body>
|
|
271 |
</html>
|
|
272 |
'.
|
|
273 |
firstMarkup := doc markup.
|
|
274 |
firstMarkup isTextElement ifTrue:[
|
|
275 |
firstMarkup := firstMarkup next
|
|
276 |
].
|
|
277 |
self assert:(firstMarkup tagName = 'html').
|
|
278 |
|
|
279 |
"
|
|
280 |
self new test02b
|
|
281 |
"
|
|
282 |
|
|
283 |
"Created: / 29-03-2019 / 10:35:55 / Claus Gittinger"
|
|
284 |
"Modified: / 29-03-2019 / 11:54:05 / Claus Gittinger"
|
359
|
285 |
!
|
|
286 |
|
|
287 |
test03
|
|
288 |
|doc|
|
|
289 |
|
|
290 |
doc := HTML::HTMLParser parseText:'
|
|
291 |
<!!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
292 |
<!!--
|
|
293 |
Copyright 2004 ThoughtWorks, Inc
|
|
294 |
|
|
295 |
Licensed under the Apache License, Version 2.0 (the "License");
|
|
296 |
you may not use this file except in compliance with the License.
|
|
297 |
You may obtain a copy of the License at
|
|
298 |
|
|
299 |
http://www.apache.org/licenses/LICENSE-2.0
|
|
300 |
|
|
301 |
Unless required by applicable law or agreed to in writing, software
|
|
302 |
distributed under the License is distributed on an "AS IS" BASIS,
|
|
303 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
304 |
See the License for the specific language governing permissions and
|
|
305 |
limitations under the License.
|
|
306 |
-->
|
|
307 |
<html>
|
|
308 |
<head>
|
|
309 |
<meta content="text/html; charset=ISO-8859-1"
|
|
310 |
http-equiv="content-type">
|
|
311 |
<title>Test Open</title>
|
|
312 |
</head>
|
|
313 |
<body>
|
|
314 |
<table cellpadding="1" cellspacing="1" border="1">
|
|
315 |
<tbody>
|
|
316 |
<tr>
|
|
317 |
<td rowspan="1" colspan="3">Google Test Search<br>
|
|
318 |
</td>
|
|
319 |
</tr>
|
|
320 |
<tr>
|
|
321 |
<td>open</td>
|
|
322 |
<td>http://www.google.com/webhp?hl=en</td>
|
|
323 |
<td> </td>
|
|
324 |
</tr>
|
|
325 |
<tr>
|
|
326 |
<td>verifyTitle</td>
|
|
327 |
<td>Google</td>
|
|
328 |
<td> </td>
|
|
329 |
</tr>
|
|
330 |
<tr>
|
|
331 |
<td>type</td>
|
|
332 |
<td>q</td>
|
|
333 |
<td>Selenium OpenQA</td>
|
|
334 |
</tr>
|
|
335 |
<tr>
|
|
336 |
<td>verifyValue</td>
|
|
337 |
<td>q</td>
|
|
338 |
<td>Selenium OpenQA</td>
|
|
339 |
</tr>
|
|
340 |
<tr>
|
|
341 |
<td>clickAndWait</td>
|
|
342 |
<td>btnG</td>
|
|
343 |
<td> </td>
|
|
344 |
</tr>
|
|
345 |
<tr>
|
|
346 |
<td>verifyTextPresent</td>
|
|
347 |
<td>openqa.org</td>
|
|
348 |
<td> </td>
|
|
349 |
</tr>
|
|
350 |
<tr>
|
|
351 |
<td>verifyTitle</td>
|
|
352 |
<td>Selenium OpenQA - Google Search</td>
|
|
353 |
<td> </td>
|
|
354 |
</tr>
|
|
355 |
</tbody>
|
|
356 |
|
|
357 |
</table>
|
|
358 |
</body>
|
|
359 |
</html>
|
|
360 |
'.
|
360
|
361 |
self assert:(doc children first tagName = 'head').
|
|
362 |
self assert:(doc docType = '-//W3C//DTD HTML 4.01 Transitional//EN').
|
359
|
363 |
|
|
364 |
"
|
|
365 |
self new test03
|
|
366 |
"
|
1975
|
367 |
!
|
|
368 |
|
|
369 |
test04_style
|
|
370 |
|doc headElement styleElement styleText|
|
|
371 |
|
|
372 |
"/ verify: no ampersand escaping in style elements
|
|
373 |
|
|
374 |
UserNotification ignoreIn:[
|
|
375 |
doc := HTML::HTMLParser parseText:'
|
|
376 |
<!!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
377 |
<html>
|
|
378 |
<head>
|
|
379 |
<style>foo bar &bla &froboz & & foo</style>
|
|
380 |
</head>
|
|
381 |
<body>
|
|
382 |
</body>
|
|
383 |
</html>
|
|
384 |
'.
|
|
385 |
].
|
|
386 |
headElement := doc children first.
|
|
387 |
self assert:(headElement tagName = 'head').
|
|
388 |
styleElement := headElement children first.
|
|
389 |
self assert:(styleElement tagName = 'style').
|
|
390 |
styleText := HTML::TextExtractor extractTextFromElement:styleElement.
|
1988
|
391 |
self assert:(styleText = 'foo bar &bla &froboz & & foo').
|
1975
|
392 |
|
|
393 |
"
|
|
394 |
self new test04_style
|
|
395 |
"
|
|
396 |
|
|
397 |
"Created: / 27-06-2018 / 12:58:48 / Claus Gittinger"
|
1988
|
398 |
"Modified: / 16-07-2018 / 19:49:23 / Claus Gittinger"
|
1975
|
399 |
!
|
|
400 |
|
|
401 |
test05_textExtraction
|
|
402 |
|doc bodyElement p|
|
|
403 |
|
|
404 |
"/ verify: no ampersand escaping in style elements
|
|
405 |
|
|
406 |
UserNotification ignoreIn:[
|
|
407 |
doc := HTML::HTMLParser parseText:'
|
|
408 |
<!!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
409 |
<html>
|
|
410 |
<body>
|
|
411 |
<p>
|
|
412 |
foo bar &bla &froboz & & foo
|
|
413 |
</p>
|
|
414 |
</body>
|
|
415 |
</html>
|
|
416 |
'.
|
|
417 |
].
|
|
418 |
bodyElement := doc body.
|
|
419 |
p := bodyElement children first.
|
|
420 |
self assert:(p extractedText = 'foo bar &bla &froboz & & foo').
|
|
421 |
|
|
422 |
"
|
|
423 |
self new test05_textExtraction
|
|
424 |
"
|
|
425 |
|
|
426 |
"Created: / 27-06-2018 / 15:28:31 / Claus Gittinger"
|
1987
|
427 |
!
|
|
428 |
|
|
429 |
test06_comments
|
|
430 |
|doc bodyElement|
|
|
431 |
|
|
432 |
"/ verify: no ampersand escaping in style elements
|
|
433 |
|
|
434 |
UserNotification ignoreIn:[
|
|
435 |
doc := HTML::HTMLParser parseText:'
|
|
436 |
<!!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
437 |
<html>
|
|
438 |
<body>
|
|
439 |
foo<!!--[foo]--><!!--bla-->bar
|
|
440 |
<!!--[foo]--><!!--bla-->
|
|
441 |
foo
|
|
442 |
<!!--[foo]--><!!--bla-->
|
|
443 |
bar
|
|
444 |
<!!--[foo]--><!!--bla-->
|
|
445 |
<p>
|
|
446 |
foo bar &bla &froboz & & foo
|
|
447 |
</p>
|
|
448 |
</body>
|
|
449 |
</html>
|
|
450 |
'.
|
|
451 |
].
|
|
452 |
bodyElement := doc body.
|
|
453 |
self assert:(bodyElement extractedText = 'foo bar foo bar foo bar &bla &froboz & & foo').
|
|
454 |
|
|
455 |
"
|
|
456 |
self new test06_comments
|
|
457 |
"
|
|
458 |
|
|
459 |
"Created: / 16-07-2018 / 19:43:12 / Claus Gittinger"
|
2240
|
460 |
!
|
|
461 |
|
|
462 |
test07_badAttributeInEbayPage
|
|
463 |
|doc|
|
|
464 |
|
|
465 |
"/ when getting ebay's innerhtml, we get the following from firefox
|
|
466 |
"/ (which is invalid in the '<a role="button" _sp="p2047675.l1473" ... line)
|
|
467 |
|
|
468 |
UserNotification ignoreIn:[
|
|
469 |
doc := HTML::HTMLParser parseText:'
|
|
470 |
<div class="c-std vi-ds3cont-box-marpad " expeccoid="5854a792-55e4-4e30-80b9-6f9256863e60">
|
|
471 |
<div class="actPanel vi-noborder " expeccoid="07a6de1e-afe0-4f97-a6fc-5da0c713245a">
|
|
472 |
<table class="vi-bboxrev-tbl" expeccoid="97f87a2d-df4f-4036-a0cf-1457fddc6423" width="100%">
|
|
473 |
<tbody expeccoid="c34fba5f-0727-4f8b-9f48-5f75c5c46025"><tr expeccoid="78e69257-8792-447e-a383-8860ed5a9181">
|
|
474 |
<td expeccoid="9e5f8b64-7655-4e57-91bf-8651956fa738"> </td>
|
|
475 |
<td class="vi-bboxrev-cntrcell" expeccoid="d20b7e71-f388-4d95-a28d-63fddbf7b738">
|
|
476 |
<div class="u-cb spcr vi-bbox-spcr15 " expeccoid="694c0a74-4e12-44fc-b581-5317b823ab2d"></div>
|
|
477 |
|
|
478 |
<div class="u-cb" expeccoid="e2f09742-6068-4ba9-bec3-a3ae9d77a470">
|
|
479 |
<div class="vi-bbox-dspn u-flL lable binLable" id="prcIsum-lbl" expeccoid="e394142f-894f-479f-a7cd-c08915cbb0c6">Preis:</div>
|
|
480 |
<div id="vi-mskumap-none" style="" class="u-flL w29 vi-price " expeccoid="e3b55a6d-8605-438f-ab60-70701e7581ce">
|
|
481 |
|
|
482 |
<span class="notranslate" id="prcIsum" itemprop="price" style="" content="399.0" expeccoid="7a6c8689-32f5-4f50-a088-ff1be081d2f5">EUR 399,00</span>
|
|
483 |
<span itemprop="availability" content="https://schema.org/InStock" expeccoid="3137ad87-1264-444b-9b85-98ef724ab76c"></span>
|
|
484 |
<span itemprop="priceCurrency" content="EUR" expeccoid="350f8bf7-1514-4665-a94a-bf9fe97c1a05"></span>
|
|
485 |
<!!--Added for VAT message - DE site. Show VAT included msg just below the price. Converted price message should come after this message.-->
|
|
486 |
<div class="vat" expeccoid="b21b28fe-b3b7-4def-963c-24a014b18adb">(inkl. MwSt.)</div>
|
|
487 |
<!!-- Vat Excluded message -->
|
|
488 |
</div>
|
|
489 |
<div id="isum-shipCostDiv" class=" sh-CostBB" style="clear: both; display: none;" expeccoid="71265b78-caf3-421b-b583-4f07b78c1492">Kostenloser Versand</div>
|
|
490 |
<span class="pdT8 " id="vi-bboxrev-othrprices" expeccoid="ad58ac0f-d6ca-4491-82a9-820c5080d953">
|
|
491 |
</span>
|
|
492 |
|
|
493 |
<!!-- inserting code for another button -->
|
|
494 |
<!!-- code ends -->
|
|
495 |
<div class="u-flL" expeccoid="32007685-f9ae-4e3b-a965-e15e349ea40d">
|
|
496 |
<a role="button" _sp="p2047675.l1356" id="binBtn_btn" style="" class="btn btn-prim btn-m vi-VR-btnWdth-L " href="https://offer.ebay.de/ws/eBayISAPI.dll?BinConfirm&rev=318&fromPage=2047675&item=372177206742&fb=1" vib="vib" rel="nofollow" "="" expeccoid="48d25feb-7255-4db6-ac71-0236037cde12">
|
|
497 |
Sofort-Kaufen<span class="clipped" expeccoid="c4033cd5-0b5a-4cdf-a84c-f25e0f69ba40"> - </span>
|
|
498 |
</a>
|
|
499 |
<div class="oly_upnl" id="streamLineBinOly" expeccoid="eb5c3f3f-7d04-4c96-82cd-fa93a23e2ca2"><div id="streamline-bin-layer" expeccoid="af596b1f-d458-4a43-8301-7d5047c2f242">
|
|
500 |
<div id="streamline-bin-layer-content" expeccoid="b384cce2-5e1b-48a5-a8a7-ad4f7dc95ee1">
|
|
501 |
<div id="sbin-image-content" expeccoid="1be9cd52-8c2d-4132-8ac1-49b7b3fbcdad">
|
|
502 |
<img id="sbin-image" src="" alt="Sessel-Loungesessel-Clubsessel-Stoff-blau-Sitzmoebel-Wohnmoebel-Frenco" expeccoid="da17cef8-be1f-43e4-90c4-fca6dfcec4f9">
|
|
503 |
</div>
|
|
504 |
<div id="sbin-text-content" expeccoid="832f96ee-e300-48e7-97c7-29b892330546">
|
|
505 |
<p class="sbin-title" expeccoid="2132b498-9bee-4b28-a378-88d73eaf8a36">Sessel Loungesessel Clubsessel Stoff blau Sitzmöbel Wohnmöbel Frenco</p>
|
|
506 |
</div>
|
|
507 |
</div>
|
|
508 |
|
|
509 |
<div style="clear:both" expeccoid="a3e3867c-b660-40c3-8645-bbfc7e177d68"></div>
|
|
510 |
|
|
511 |
<div id="sbin-buttons" expeccoid="0dab8f09-e50d-40a6-81bf-fe2117ba1b52">
|
|
512 |
<button id="sbin-signin-btn" type="button" expeccoid="94dc2fb8-5949-478f-aecf-d08d2357f924">Einloggen und zur Kasse gehen</button>
|
|
513 |
<button id="sbin-gxo-btn" type="button" expeccoid="f83fb1bc-8028-4e0f-b77d-331d9dbe917d">Als Gast kaufen</button>
|
|
514 |
</div>
|
|
515 |
</div>
|
|
516 |
|
|
517 |
</div>
|
|
518 |
</div>
|
|
519 |
</div>
|
|
520 |
|
|
521 |
<div class="u-cb spcr vi-bbox-spcr10" expeccoid="c5773c82-b2e5-4406-b9cf-9f1f2ee07452"></div>
|
|
522 |
<div class="u-cb " expeccoid="e66441e7-b1f7-4342-a97f-587b9dd314ef">
|
|
523 |
<div class="vi-bbox-dspn u-flL lable" expeccoid="4916b066-5ca8-4510-acad-f4ee7a5017f8"> </div>
|
|
524 |
<div class="vi-bbox-dspn u-flL w29" expeccoid="4887b323-d297-4eeb-936a-e4f4226a9899"> </div>
|
|
525 |
<span expeccoid="0cf4f8df-5d53-4697-b7b5-cf0b9efbaeee">
|
|
526 |
<a role="button" _sp="p2047675.l1473" id="isCartBtn_btn" style="" class="btn btn-scnd btn-m vi-VR-btnWdth-L " href="https://cart.payments.ebay.de/sc/add?item=iid:372177206742,qty:1&srt=01000400000050c9e6b4b7e8a98fa345bada6aa05c2af7b022564fa4af69bb2b1facef665ef094d1ceda6cf587b4f354495e3fde21224874629196b80aaf7e986322a17673f7dea6b072ca12d80bf48c979adbb385a72e&ssPageName=CART:ATC" vib="vib" rel="nofollow" "="" expeccoid="5c24b1ee-b193-4794-890a-312def923271">
|
|
527 |
In den Warenkorb<span class="clipped" expeccoid="e4f6e129-8b33-4734-b576-f374c1ee366f"> - </span>
|
|
528 |
</a>
|
|
529 |
</span>
|
|
530 |
</div>
|
|
531 |
<div class="u-cb spcr" expeccoid="687b199a-e6b3-4e79-8312-92285ad6fd54"></div>
|
|
532 |
</td>
|
|
533 |
<td expeccoid="c7d638f3-694c-492d-a1d5-460480cec889"> </td>
|
|
534 |
</tr>
|
|
535 |
</tbody></table>
|
|
536 |
</div>
|
|
537 |
|
|
538 |
<div class="watchListCmp vi-noborder " expeccoid="07cc69f9-d1da-4716-b789-ea1b1fe6ba6f">
|
|
539 |
<table class="vi-bboxrev-tbl" expeccoid="961e3260-68d4-4b92-ae1b-3e1265f881fc" width="100%">
|
|
540 |
<tbody expeccoid="5fcb3674-b815-4c85-a480-f255702b01c4"><tr expeccoid="6418343d-da8c-4b9f-bf25-cbcc86060108">
|
|
541 |
<td expeccoid="9f2682dc-ee1c-46b7-a086-88346fc64658"> </td>
|
|
542 |
<td class="vi-bboxrev-cntrcell" expeccoid="f3084bc9-699e-4307-9242-397b6a7aef64">
|
|
543 |
<div class=" " expeccoid="4d906144-37d4-4696-a1bd-e40874b36e5b">
|
|
544 |
<div id="vi-atl-lnk" class="vi-atw-btm-lnk vi-cleanup-atwl " style="" expeccoid="2c4db542-baed-4fa5-b750-c817570a1611">
|
|
545 |
<a i="-99" n="Watch list" href="https://www.ebay.de/myb/WatchListAdd?_trksid=p2047675.l1360&SubmitAction.AddToListVI=x&item=372177206742&rt=nc&srt=01000400000050372e73209863317b49d8119703fe2fb3aaa8b66ea9efa1b79fe95e306c42112602d2e570dba2827bf74049b5375c671bde80c5ae3fa61295df5428006d35a0860ef486744ad734f9838bbb22dca3e30a&wt=2177ec1ef2dd78e521c371b0d332689b&ssPageName=VIP:watchlink:top:de&sourcePage=4340" expeccoid="d4eb1d8d-9765-4648-aaad-9d0f5ace820b">
|
|
546 |
<span class="vi-atw-icn" expeccoid="b526871c-5f30-4701-a2b9-d15cc864a476"></span>
|
|
547 |
<span class="vi-atw-txt" expeccoid="2b6115ed-c546-4e37-970c-c20c58bc185d">Auf die Beobachtungsliste</span>
|
|
548 |
<span class="vi-rmw-txt" expeccoid="08ac389a-394c-46dc-addf-16a3689df6ad">Beobachten beenden</span>
|
|
549 |
</a>
|
|
550 |
</div>
|
|
551 |
|
|
552 |
<div id="vi-atw-full" class="vi-atw-btm-lnk " style="display:none;" expeccoid="dd577995-a50f-4df5-b8fa-710fc66efb24">
|
|
553 |
<span class="vi-atw-full-lnk" expeccoid="1de876fd-5971-46c9-a0cf-85e0424b499e">
|
|
554 |
<span class="vi-atw-icn" expeccoid="64a42660-c60e-47f6-8795-6b7f13becbc9"></span><span class="vi-atw-txt" expeccoid="8cc5ee62-cdcf-4084-bcfd-1a9404ac9550">Ihre Beobachtungsliste ist voll.</span>
|
|
555 |
</span>
|
|
556 |
</div>
|
|
557 |
|
|
558 |
</div>
|
|
559 |
|
|
560 |
|
|
561 |
<div class="vi-bbox-dspn u-cb spcr" expeccoid="94ff49bd-a6bc-4178-8ab9-28a3a931ba98"></div>
|
|
562 |
<span class="vi-bbox-marLft20" expeccoid="48026109-1244-4da1-8c8d-01f2871cb1ca"><div class="vi-bbox-dspn u-flL lable" expeccoid="0611260a-c134-469e-acba-5cbe6bf87da3"> </div>
|
|
563 |
<div class="vi-bbox-dspn u-flL w29" expeccoid="70167017-7185-43f9-9265-fe7dcc238cbb"> </div>
|
|
564 |
</span>
|
|
565 |
<div class="u-cb spcr vi-bbox-spcr22" expeccoid="4829f2b9-c5be-4231-8fbe-a696d1050512"></div>
|
|
566 |
</td>
|
|
567 |
<td expeccoid="a5388e20-8739-4594-9e3e-5afb826a6975"> </td>
|
|
568 |
</tr>
|
|
569 |
</tbody></table>
|
|
570 |
</div><div id="why2buy" expeccoid="4dd9c815-7d7b-44ed-a621-6b7f9ec05bc4"><div class="w2b w2bsls" expeccoid="794cddbf-0231-4a1d-98f5-bf5eb9eb8d40">
|
|
571 |
<div class="w2b-cnt w2b-3 w2b-red" expeccoid="0f21cf97-b244-4591-a91f-4aebb1be933e"><span class="w2b-sgl" expeccoid="fdedce8d-4b45-46dc-bfb1-c3bf05452897">Inlandsversand und Rücksendung kostenlos</span></div>
|
|
572 |
<div class="w2b-cnt w2b-3 w2b-brdr" expeccoid="df7655ce-6661-46cb-8c9d-b449eb026c0f"><span class="w2b-sgl" expeccoid="9869da07-2f91-4392-971c-0d96e271d118">Versand aus Deutschland</span></div>
|
|
573 |
<div class="w2b-cnt w2b-3 w2b-brdr" expeccoid="68101fa3-aad3-474d-8556-e1024fc63832"><span class="w2b-sgl" expeccoid="fea7ce21-3bb2-4971-b7e6-945ce8e91870">9 Beobachter</span></div>
|
|
574 |
</div>
|
|
575 |
</div></div>
|
|
576 |
'.
|
|
577 |
].
|
|
578 |
|
|
579 |
"
|
|
580 |
self new test07_badAttributeInEbayPage
|
|
581 |
"
|
|
582 |
|
|
583 |
"Created: / 24-05-2019 / 14:34:10 / Claus Gittinger"
|
359
|
584 |
! !
|
|
585 |
|
|
586 |
!HTMLParserTests class methodsFor:'documentation'!
|
|
587 |
|
|
588 |
version
|
|
589 |
^ '$Header$'
|
1988
|
590 |
!
|
|
591 |
|
|
592 |
version_CVS
|
|
593 |
^ '$Header$'
|
359
|
594 |
! !
|
1550
|
595 |
|