SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 1999
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Verifying broken HtmlImage

    I tried using BrowserPage.HtmlImage("#1").Exists (). But it doesn't help with broken images. Any tips on how to verify broken images without doing Bitmap verification?

    Thanks in advance

  2. #2
    Junior Member
    Join Date
    Jan 2000
    Location
    Seattle, WA 98104
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verifying broken HtmlImage

    I have the same problem as you do. I am going to continue to dig for information. If you find out the answer to this burning question please let me know... And if I do, I'll do the same.

    armandoc@freeshop.com

  3. #3
    Junior Member
    Join Date
    Jan 2000
    Location
    Seattle, WA 98104
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verifying broken HtmlImage

    OK ive gone every direction on this to no success. I cant find a property of and Image object that changes when an images is either broken or not broken. ie. Enabled always says TRUE. I can pull the URL, but if the image is broken, then i simply pull the "broken" URL.. Seems to me that checking for image rendering is a fundamental task when testing web pages.. Someone must have some experience in this area in reagards to SilkTest. Any info would help. Thank you.

  4. #4
    Member
    Join Date
    Nov 2000
    Location
    Ulm, DE
    Posts
    82
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verifying broken HtmlImage

    Hello,

    Have you found any solution to this problem? If so, please let me know. What was your workaround?

    Thanks.

    ------------------
    Silverter - A profi was once a beginner
    Silverter - A guru was once a beginner

  5. #5
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Verifying broken HtmlImage

    I have an idea. Think this in terms of how everything happens.

    You should do:

    -BrowserPage.WaitForReady //it can be something else make sure page is completely loaded.

    -Check HTML source file//basically now you compare ER/AR. Or just Check for the image with the X(or something).
    TO get the source HTML GetPageSource()
    it returns a list of string(works from 5.32 and later).

    or check for return code---------

    Y do I have the feeling that there is a code to check if a link is broken(on this site). I believe that the logic might be similar. You should get some kind of info from the html header. Like 505, 501, 404..911 you know( http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).

    Make a broken image link and check for HTML header. This is one way to do it. You can get the source of any page.

    Hope this brings some fresh ideas.



    [This message has been edited by GodKnows (edited 12-18-2001).]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:01 PM.

Copyright BetaSoft Inc.