455 " |
455 " |
456 self new test06_comments |
456 self new test06_comments |
457 " |
457 " |
458 |
458 |
459 "Created: / 16-07-2018 / 19:43:12 / Claus Gittinger" |
459 "Created: / 16-07-2018 / 19:43:12 / Claus Gittinger" |
|
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" |
460 ! ! |
584 ! ! |
461 |
585 |
462 !HTMLParserTests class methodsFor:'documentation'! |
586 !HTMLParserTests class methodsFor:'documentation'! |
463 |
587 |
464 version |
588 version |