SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Mar 2000
    Location
    Washington, DC, USA
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Object Recognition problems with Robot

    I am currently testing a Retail Management application with Robot. The application is composed of a patchwork of modules that were developed either in Power Builder or JAVA. The main GUI is a window that appears as 5 superimposed tab layers.

    The problem facing my team is that Robot is having problems recognizing the objects on a given layer. This is causing failures with respect to verifying object properties as well as recognizing objects to perform actions on. This also means conventional recording methods for navigation are crippled or rendered completely useless. When standard object property verifications are employed, robot appears to be recognizing objects in the tab layers that are hidden behind the layer that is immediately visible. Robot also seems to be recognizing combo boxes, radio buttons and push buttons as HTML table objects.

    Can anyone out there provide some insights as to what is happening as well as potential work-arounds? Is there a way that we can recognize objects from any of the built-in procedures or methods in Rational Robot other than using SqaGetProperty or making our scripts act dynamically on that object and verifying via the outcome? Right now, it looks like we are reduced to using either coordinates and low-level scripts to navigate. We are also reduced to indirect methods to verify objects (like executing direct actions on objects, monitoring for context changes and of course, manual testing). Any insights or work-arounds would be useful!

    ------------------

  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: Object Recognition problems with Robot

    User Arguelles, Gene (gargue01@sprintspectrum.com.nospam) posted:

    I am currently testing a Retail Management application with Robot.
    The application is composed of a patchwork of modules that were developed
    either in Power Builder or JAVA. The main GUI is a window that appears as 5
    superimposed tab layers.

    The problem facing my team is that Robot is having problems recognizing the
    objects on a given layer. This is causing failures with respect to verifying
    object properties as well as recognizing objects to perform actions on. This
    also means conventional recording methods for navigation are crippled or
    rendered completely useless. When standard object property verifications are
    employed, robot appears to be recognizing objects in the tab layers that are
    hidden behind the layer that is immediately visible. Robot also seems to be
    recognizing combo boxes, radio buttons and push buttons as HTML table
    objects.

    Can anyone out there provide some insights as to what is happening as well
    as potential work-arounds? Is there a way that we can recognize objects from
    any of the built-in procedures or methods in Rational Robot other than using
    SqaGetProperty or making our scripts act dynamically on that object and
    verifying via the outcome? Right now, it looks like we are reduced to using
    either coordinates and low-level scripts to navigate. We are also reduced to
    indirect methods to verify objects (like executing direct actions on
    objects, monitoring for context changes and of course, manual testing). Any
    insights or work-arounds would be useful!

    ---

  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: Object Recognition problems with Robot

    User Rino (rvandam@psakids.com.nospam) posted:

    Is this a Powerbuilder window, or java? And is the tabcontrol a standard
    Powerbuilder control, or a third party product?

    I had problems with tab recognition in a Powerbuilder window because of a
    third-party tab control.

    Rino

    "Arguelles, Gene" <gargue01@sprintspectrum.com> wrote in message
    news:109770@sqa-suite-users...
    5
    the
    verifying
    This
    are
    are
    be
    from
    using
    using
    to
    Any
    ---

  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: Object Recognition problems with Robot

    User Rino (rvandam@psakids.com.nospam) posted:

    Well, my case was different from yours, but maybe similar enough to maybe be
    of help:

    I had a (third party) tabcontrol with about seven tabs, with only one
    'active' at a time. Problem was, Robot would report all controls on all of
    the tabs as visible, and to make matters worse, many controls had the same
    name! So I could have four datawindows that all had the same name, and were
    all set to visible.

    I ended up reading all of the controls on the form, then distinguishing
    between controls with the same name by properties that were slightly
    different (a datawindow that was 1 pixel wider for instance), thus ending up
    with a set of controls on the active tab.

    I am not sure if this helps you, since you seem to be having problems
    recognizing the controls in the first place...

    Rino

    "Arguelles, Gene" <gargue01@sprintspectrum.com> wrote in message
    news:109856@sqa-suite-users...
    context(!!!!)
    developed
    as
    well
    reduced
    ************************************************** **************************
    ************************************************** **************************
    ---

  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: Object Recognition problems with Robot

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

    I think we need to break this down a bit and get more specifics. Please
    read my comments below and respond.

    Luke

    When you say "either in Power Builder or JAVA", do you mean a) "some of
    each", or b) "not sure which"?

    Are you familiar with Control Arrays, and how to check for them?

    Does Robot see the controls as the expected object types (e.g.,
    "TabControl", "PushButton", "EditBox", etc.), OR as Generic objects?

    What happens when you record and playback the following? Please delineate
    between record results and playback results, whether you get the expected
    response, and expected code in script, etc.:

    Mouse Clicks (give examples for a few different controls).

    Keystrokes (records calls to InputKeys).


    ---

 

 

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.00%
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 04:21 PM.

Copyright BetaSoft Inc.