SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9

Thread: Window handles

  1. #1
    Senior Member
    Join Date
    Nov 2001
    Location
    Wilmington, NC, USA
    Posts
    152
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window handles

    User Sankara Narayanan (rrkey@visionair.com.nospam) posted:

    ------_=_NextPart_001_01C1EFB9.C38F4820
    Content-Type: text/plain;
    charset="iso-8859-1"

    Logically I too believe that the handle will not change dynamically.

    Scott

    Scott

  2. #2
    Member
    Join Date
    Oct 2001
    Location
    Chicago
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window handles

    User Irlbeck, James (james.irlbeck@htc.com.nospam) posted:

    ------_=_NextPart_001_01C1EFC5.F3F8D010
    Content-Type: text/plain;
    charset="iso-8859-1"

    Window handles are asssigned "on event = invocation" and are maintained
    until that instantiation of the window is terminated. When re-invoked a new
    handle is assigned for a similar duration.


  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: Window handles

    User Steve Mathisen (scmathisen@hotmail.com.nospam) posted:

    Gary,
    I could not tell if you were drowsy then, but, changing a thread title
    from "Waiting for a KeyPress" to "Window handles" is a good trick.

    Steve Mathisen

    ----Original Message Follows----
    From: "Shum, Garry" <garry.shum@rbc.com>
    Reply-To: winrunner@yahoogroups.com
    To: "'winrunner@yahoogroups.com'" <winrunner@yahoogroups.com>
    Subject: [winrunner] Window handles
    Date: Mon, 29 Apr 2002 15:53:08 -0400

    Over a year ago I had run into an issue where child windows of a parent
    window would have their window handles dynamically changed immediately after
    any other child windows had been closed. I can no longer reproduce this but
    my gut is telling me that I must have been drowsy or something that day
    because logically speaking, once a window is opened and gets a handle, it
    has the same handle value for the duration of its existence, meaning its
    handle never changes. Am I correct in saying this and was just drowsy on
    the day I "thought" I found this problem?
    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

  4. #4
    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: Window handles

    User Steve Mathisen (scmathisen@hotmail.com.nospam) posted:

    If you are using browser based windows the names do change based on how many
    you have open and their position relative to the upper left hand corner of
    your screen.


    ----Original Message Follows----
    From: rrkey@visionair.com
    Reply-To: winrunner@yahoogroups.com
    To: winrunner@yahoogroups.com
    Subject: RE: [winrunner] Window handles
    Date: Mon, 29 Apr 2002 16:09:27 -0400

    Logically I too believe that the handle will not change dynamically.

    Scott

    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

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

    Window handles

    User Shum, Garry (garry.shum@rbc.com.nospam) posted:

    ------_=_NextPart_001_01C1EFB7.7C0C7790
    Content-Type: text/plain;
    charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable

    Over a year ago I had run into an issue where child windows of a parent
    window would have their window handles dynamically changed immediately afte=
    r
    any other child windows had been closed. I can no longer reproduce this bu=
    t
    my gut is telling me that I must have been drowsy or something that day
    because logically speaking, once a window is opened and gets a handle, it
    has the same handle value for the duration of its existence, meaning its
    handle never changes. Am I correct in saying this and was just drowsy on
    the day I "thought" I found this problem?

  6. #6
    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: Window handles

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by WinRunner:
    User Shum, Garry (garry.shum@rbc.com.nospam) posted:
    I can no longer reproduce this but my gut is telling me that I must have been drowsy or something that day because logically speaking, once a window is opened and gets a handle, it has the same handle value for the duration of its existence, meaning its
    handle never changes. Am I correct in saying this and was just drowsy on
    the day I "thought" I found this problem?
    <HR></BLOCKQUOTE>

    You may indeed have been drowsy.
    Window handles are assigned by the operating system when the window is created. They remain until the window is destroyed.

    ------------------
    - Joe (strazzerj@aol.com)
    Joe Strazzere
    Visit my website: AllThingsQuality.com to learn more about quality, testing, and QA!

  7. #7
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window handles

    User Shum, Garry (garry.shum@rbc.com.nospam) posted:

    ------_=_NextPart_001_01C1F05E.65379CA0
    Content-Type: text/plain;
    charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable

    What do you mean when you say "changing a thread title=20
    from "Waiting for a KeyPress" to "Window handles" is a good trick"?


  8. #8
    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: Window handles

    User Steve Mathisen (scmathisen@hotmail.com.nospam) posted:

    Gary,

    It was meant as a joke. Either you or the message server attached your
    response to a "Window handles" thread to a response of mine to a "Waiting
    for a KeyPress" thread. See the messages below.

    Sorry if I was not clear...

    Steve


    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

  9. #9
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window handles

    User Shum, Garry (garry.shum@rbc.com.nospam) posted:

    ------_=_NextPart_001_01C1F097.ECCC6270
    Content-Type: text/plain;
    charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable

    AHA!

 

 

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 02:09 PM.

Copyright BetaSoft Inc.