SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    75
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Can WinTask GetProperties of a control/object?

    Im trying WinTask out and I'm liking it so far. Much less convoluted than Rational Robot. But I need to get some properties from a Combobox like the count of elements, the width, etc. Can WinTask do this? or is it mainly only for seeing and inputting and not able to do object recognition to this level?

    That will be a major factor unfortunately.

  2. #2
    Moderator Joe Strazzere's Avatar
    Join Date
    May 2000
    Location
    USA
    Posts
    13,170
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Can WinTask GetProperties of a control/object?

    WinTask can get some of the properties of some objects.

    For example, the Capture$() function can often get the textual contents of an object like a combobox.

    But it's not going to have as complete set of built-in GetProperties as a dedicated test tool like Rational Robot.

    WinTask can use functions contained within DLLs, though, including system DLLs.

    So to get the rectangle of an object (which would give you a way to compute the width), you can do something like this:
    http://www.sqablogs.com/jstrazzere/3...indowRect.html

    If you are trying WinTask out now, you should try it against your applications and see what it can do.

    And when you are ready, some of these scriptlets might help:
    http://www.sqablogs.com/jstrazzere/WinTask/
    Joe Strazzere
    Visit my website: AllThingsQuality.com to learn more about quality, testing, and QA!

 

 

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 08:07 PM.

Copyright BetaSoft Inc.