SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Aug 2008
    Posts
    108
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    [Object Browser] How does it highlight objects?

    I was wondering how the Highlight Object on Screen functionality of TestComplete actually worked. Is this a Windows API call? or is it something custom rolled by AutomatedQA? I think its a pretty cool feature and I can see uses for it outside of TestComplete, therefore I was wondering how hard it would be to implement something similar?

    Thanks

  2. #2
    Senior Member
    Join Date
    Jul 2008
    Posts
    1,049
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: [Object Browser] How does it highlight objects?

    Hi Aolszowka,

    >> how the Highlight Object on Screen functionality of TestComplete actually worked
    We cannot provide you with this information. Sorry.

    However, if you want to highlight something on the screen, you can use WinAPI functions. Here is a sample code demonstrating how to draw on the screen:

    <font class="small">Code:</font><hr /><pre>{Delphi 7}
    procedure DrawOnScreen;
    var
    ScreenDC: hDC;
    begin
    ScreenDC := GetDC(0);
    Rectangle(ScreenDC, 0, 0, 100, 100);
    ReleaseDC(0, ScreenDC);
    end;
    </pre><hr />
    Regards,
    Allen - SmartBear Support

  3. #3
    Senior Member
    Join Date
    Aug 2008
    Posts
    108
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: [Object Browser] How does it highlight objects

    Thank you Allen for your response, I figured that it was something custom rolled by TestComplete and I totally understand the need to protect Intellectual Property. However your test function does exactly what I need it was very helpful! Thank you!

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:23 PM.

Copyright BetaSoft Inc.