SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,441
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    CaptureBitmap with OverrideExisting=True is not overwritting the previous file

    CaptureBitmap with OverrideExisting=True is not overwritting the previous file in UFT 12.

    Is this problem also happening in your machine? If not, please post a message so I can follow up with our IT Team, who updates our machines remotely or silently, as they just did some updates in the last few days.

    I capture the .png bitmap of a window and save it to a folder. On rerun, the previous bitmap does not get replaced eventhough the OverrideExisting parameter is set to True.


    Thanks.
    Gilbert
    Last edited by Gilbert; 07-29-2014 at 02:33 PM. Reason: additional info provided

  2. #2
    Advanced Member
    Join Date
    Aug 2004
    Location
    Wellington, New Zealand
    Posts
    797
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    What code are you using to generate the filename of the captured image?
    Regards,

    Alex
    ... just another Tester ...

  3. #3
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,441
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    Quote Originally Posted by a.irvine View Post
    What code are you using to generate the filename of the captured image?
    I didn't have to worry about the code used to generate the filename of the captured image. It is all done in this free tool that anyone can download and use called PAC (PDF Accessibility Checker) which can be used for PDF 508 Compliance testing. The tool is a .NET Windows Forms for what UFT can see so objects recognized are mostly SwfWindow, SwfObjects, SwfTable, etc.

    Either way you choose (.bmp or .png), this issue in CaptureBitmap with OverrideExisting=True is encountered.

    If you get a chance to try it, let me know if you see the same issue or not.

    Thanks.
    Gilbert
    Last edited by Gilbert; 07-31-2014 at 07:41 AM. Reason: updated info

 

 

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 12.50%
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 10:06 PM.

Copyright BetaSoft Inc.