SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2004
    Location
    Detroit, MI
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Ideas on how to avoid "BitMaps do not Match" message

    We recently created several TestPartner scripts with BitMap checks and are using ExecuteCheck to check for the existance of the BitMaps on the screen. The problem we are having is that the "actual" bitmap presented on the screen sporadically differs from the saved/expected bitmap. The work around that we are using is to re-identify the bitmaps after the checks have failed. Unfortunately, the process of re-identifying the bitmaps gets old after doing 10-20 times.

    Does anyone have any suggestions as to how we can change our TestPartner scripts to ignore slight changes in stored bitmaps?

    Thanks,
    Don Harris

  2. #2
    Senior Member
    Join Date
    Sep 2001
    Location
    Philly
    Posts
    1,231
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Ideas on how to avoid "BitMaps do not Match" message

    Did you see that ther is a pixel threshold on BitMap Checks? Its on the detail tab of the check.
    ~Alias~

  3. #3
    Senior Member
    Join Date
    Jun 2002
    Location
    farmington hills, MI, US
    Posts
    713
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Ideas on how to avoid "BitMaps do not Match" message

    I will be brutally honest bitmap testing sucks. Every time I hear it a cold chill falls over my body, but if you absolutely have to.

    1. Do not use generic video cards and try to stick with the same video card accross different machines.

    2. Make sure that you have verification in your scripts near the beggining to verify that the screen resolution that the machine running the script has the same resolution and color depth of the machine that defined the check.

    3. If you still have problems you may have to use a lesser color depth such as high color(16 bit).

    4. Use the suggestion that Alias provided. Keep in mind that this number corresponds to the count of the pixels that differ so you may need to use a larger number than anticipated.

  4. #4
    Member
    Join Date
    Oct 2004
    Location
    Detroit, MI
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Ideas on how to avoid "BitMaps do not Match" message

    Thanks for the replies.

    I actually contacted TestPartner support and they suggested that I use WindowEvents and monitor for the events using the Whenever statement.

    Thanks Again,
    Don Harris

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.34%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 08:20 AM.

Copyright BetaSoft Inc.