SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Robot recognizing MFC objects

    User (cgendreau@act.com.nospam) posted:

    I checked the archives and have seen that most of these questions were
    asked and answered in late 99 and early 2000.
    I am wondering if something new has surfaced that I was unable to find.

    My question, how do I get Robot to recognize objects in our application?
    The developers tell me that the front end was done in MFC.
    Robot sees the objects in the GUI as Generic objects, unless the object
    has the focus, in which case the object will be recognized (combolistbox,
    editbox, etc...).

    Is there a plugin or enabler that I can use to get Robot to recognize the
    objects as what they are instead of generic objects?

    Are there any questions I need answered by our development team before I
    can get my answer to this question?

    Thanks,
    Chris...

    ---

  2. #2
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Robot recognizing MFC objects

    User MArk B. (mkbutler@russellmellon.com.nospam) posted:

    Does the app have the test ocx included on each window? It should if it
    doesn't.

    MArk B.

    ---

  3. #3
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Robot recognizing MFC objects

    User (cgendreau@act.com.nospam) posted:

    Is this something that the developers need to put in?
    Where do I get this test ocx?

    Pardon my naivete, but working with MFC apps is something new to me.

    Thanks,
    Chris...


    ---

  4. #4
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Robot recognizing MFC objects

    User (lgoodwin@russell.com.nospam) posted:

    In Robot versions prior to version 2000, you had to install the Object
    Testing Utilities from the Robot/TeamTest install disk and add the SQAOCX
    to all forms in the project in order for Robot to recognize object
    properties in MSVC++, VB and Delphi controls (and 3rd party controls based
    on theirs).

    In recent versions, support for HTML (IE/Navigator), Java, Delphi, VB is
    built-in, and controlled in the Extension Manager dialog (select
    MSVC++, you have to manually add the ActiveX test control to each OLE
    container. You may also want/need to change some/all of the C++ Object
    Recognition Order Preference settings.

    HTH,

    Luke


    ---

  5. #5
    SQA Council
    Join Date
    Mar 2001
    Posts
    14,438
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Robot recognizing MFC objects

    User MArk B. (mkbutler@russellmellon.com.nospam) posted:

    But you still get better recognition and more stable record and playback if
    you use the ocx.

    Also, you may have problems with getting to grouped controls in C++. Robot
    will sometimes only see the group and won't let you record the control in
    it. To gain access to the controls in the group you'll have to turn off the
    VB extension, restart Robot, do your recording, turn on the VB extension,
    and restart Robot again. (Yes, I know I said C++ and VB.)

    I don't know if this was fixed or when. I haven't seen it for a while
    because I don't record much.

    MArk B.
    ---

 

 

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 11.54%
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 06:05 AM.

Copyright BetaSoft Inc.