SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2001
    Posts
    47
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    can 2 windows with same label be added to a GUI map

    User mfoley (mfoley@sqmr.com.nospam) posted:

    original question:

    I meant that 2 windows are having the same label in the physical
    description in the GUI map
    {
    class: window,
    label: COrderFrame,
    MSW_class: AfxFrameOrView42u
    }

    Both windows have the same physical recorded description.

    So when I am in window1 and tries to execute a winrunner script which
    tries to click an object in window2, it thinks that it recognizes the
    window and gives the error that it couldn't find that object.

    ______________________________________________
    reply:
    Many different answers have been given to this question. Most of them are
    correct even though the answers are different.

    Answers are making assumptions.
    One set of answers is assuming that both windows will be displayed
    simultaneously. The answers for this add the location attribute as the way
    to differentiate the windows during playback.

    Another set of answers assumes that the windows will not be displayed
    simultaneously. Many different solutions for this case have also been
    presented.

    Are the windows displayed simultaneously?

    regards,
    m.foley


  2. #2
    Senior Member
    Join Date
    Jun 2002
    Location
    Hadera, Israel
    Posts
    313
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: can 2 windows with same label be added to a GUI map

    User Roman Zilber (romanz@enigma.com.nospam) posted:

    Two windows with the same physical description can be added to GUI map, but
    WR can't match the windows.
    Think, if you have two girlfriends, twins, you never can know for sure which
    one is Ann which is Diana.


  3. #3
    Senior Member
    Join Date
    May 2000
    Location
    Seattle, Wa
    Posts
    669
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: can 2 windows with same label be added to a GUI map

    User SCMathisen (scmathisen@hotmail.com.nospam) posted:

    Did you read the earlier thread on the list that discusses using the
    Location property to solve this issue?

    Thanks,
    Steve Mathisen <"}}}}><
    SCMathisen@Hotmail.com
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    "The course of this conflict is not known, yet its outcome is certain.
    Freedom and fear, justice and cruelty, have always been at war,
    and we know that God is not neutral between them."
    ... Pres. George W. Bush

    ----- Original Message -----
    From: "mfoley" <mfoley@sqmr.com>
    To: <winrunner@yahoogroups.com>
    Sent: Monday, July 01, 2002 7:54 AM
    Subject: [winrunner] Re:can 2 windows with same label be added to a GUI map


    way
    to winrunner-unsubscribe@yahoogroups.com.
    you require. We get long mailings when the entire message is left
    the email message
    poster to be banned from this list. Please consult 'Terms of Service&quot;
    and &quot;Guidelines&quot; prior to making your first post.

    Steve Mathisen
    &lt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Quality is the result of a carefully constructed cultural environment. It has to be the fabric of the organization, not part of the fabric.
    Philip Crosby

 

 

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

Copyright BetaSoft Inc.