SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Aug 2000
    Posts
    127
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Handling Unresponsive Application

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

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

    If the AUT(Application Under Test) becomes unresponsive, how would you
    handle that sort of situation with WinRunner? I already know of 1 way to
    solve this but it requires using a command-line utility that displays the
    status of opened applications. Any ideas?

    ---------------------------------------------------------------------------=
    ----------------------------------------------------------------
    This e-mail may be privileged and/or confidential, and the sender does not =
    waive any related rights and obligations. Any distribution, use or copying =
    of this e-mail or the information it contains by other than an intended rec=
    ipient is unauthorized. If you received this e-mail in error, please advise=
    me (by return e-mail or otherwise) immediately.=20

    Ce courriel est confidentiel et prot=E9g=E9. L'exp=E9diteur ne renonce pas =
    aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation =
    ou copie de ce message ou des renseignements qu'il contient par une personn=
    e autre que le (les) destinataire(s) d=E9sign=E9(s) est interdite. Si vous =
    recevez ce courriel par erreur, veuillez m'en aviser imm=E9diatement, par r=
    etour de courriel ou par un autre moyen.=20


    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
    =3D=3D=3D

    ------_=_NextPart_001_01C172CA.A3C5E420
    Content-Type: text/html; charset=ISO-8859-1
    Content-Transfer-Encoding: quoted-printable

    < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
    <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
    <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2654.19"=

    unresponsive, how would you handle that sort of situation with WinRunner?&=
    nbsp; I already know of 1 way to solve this but it requires using a command=
    -line utility that displays the status of opened applications. Any id=
    < !-- |**|begin egp html banner|**| -->

    <table border=3D0 cellspacing=3D0 cellpadding=3D2>
    <tr bgcolor=3D#FFFFCC>
    <td align=3Dcenter><font size=3D"-1" color=3D#003399>[b]Yahoo! Groups Spons=
    <tr bgcolor=3D#FFFFFF>
    <td align=3Dcenter width=3D470><a href=3D"http://rd.yahoo.com/M=3D212180.17=
    01098.3252983.1269402/D=3Degroupweb/S=3D1705007181:HM/A=3D812075/R=3D0/*htt=
    //us.a1.yimg.com/us.yimg.com/a/ve/verisign/verisign1002.gif" height=3D60 wi=
    dth=3D468 border=3D0></a></td>
    com/l?M=3D212180.1701098.3252983.1269402/D=3Degroupmail/S=3D1705007181:HM/A=

    < !-- |**|end egp html banner|**| -->


    IMPORTANT EMAIL ADDRESSES:

    Post message: winrunner@yahoogroups.com

    Subscribe: winrunner-subscribe@yahoogroups.com

    Unsubscribe: winrunner-unsubscribe@yahoogroups.com

    ***To unsubscribe via email: From your email program, send a blank message =
    to winrunner-unsubscribe@yahoogroups.com.

    *To reply to the entire list, use the Reply button in your email program<BR=
    *To respond offline to an individual, locate the sender's email address in =
    the email message

    *To view archives go to groups.yahoo.com

    Direct any questions, comments, or issues about this list to...

    Eric Marx
    This e-mail may be privileged and/or confidential, and the sender does not =
    waive any related rights and obligations. Any distribution, use or copying =
    of this e-mail or the information it contains by other than an intended rec=
    ipient is unauthorized. If you received this e-mail in error, please advise=
    me (by return e-mail or otherwise) immediately.

    Ce courriel est confidentiel et prot=E9g=E9. L'exp=E9diteur ne renonce pas =
    aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation =
    ou copie de ce message ou des renseignements qu'il contient par une personn=
    e autre que le (les) destinataire(s) d=E9sign=E9(s) est interdite. Si vous =
    recevez ce courriel par erreur, veuillez m'en aviser imm=E9diatement, par r=
    etour de courriel ou par un autre moyen.

    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
    =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=

    ------_=_NextPart_001_01C172CA.A3C5E420--


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

    Re: Handling Unresponsive Application

    User KALTOUM POQUET (KALTOUM.POQUET@orfi.fr.nospam) posted:

    ------_=_NextPart_001_01C1732F.EC0191AC
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable

    How do you see that the AUT is not responsive? You have to check what kind
    of elements show you that it is the case.
    after that, you should use exeption handling.=20
    Is an application is not responding, windows does not appear, or nothing
    happens when clicking onto a button... The timeout is made to check this
    sort of problem, but you can go further with handling exceptions functions
    (see chapter 23, p458 WR 7 user's guide).
    =20
    Have fun!
    Kaltoum.

    -----Message d'origine-----
    De: Shum, Garry [mailto:garry.shum@royalbank.com]
    Date: mercredi 21 novembre 2001 21:25
    =C0: 'WinRunner Mailing List'
    Objet: [winrunner] Handling Unresponsive Application
    If the AUT(Application Under Test) becomes unresponsive, how would you
    handle that sort of situation with WinRunner? I already know of 1 way to
    solve this but it requires using a command-line utility that displays the
    status of opened applications. Any ideas?


    Yahoo! Groups Sponsor=09
    =20
    <http://rd.yahoo.com/M=3D212180.17010...roupweb/S=3D1=
    7050071
    81:HM/A=3D812075/R=3D0/*http://www.verisign.com/cgi-bin/go.cgi?a=3Db1783498=
    0005700
    =20
    <http://us.adserver.yahoo.com/l?M=3D2...9402/D=3Degro=
    upmai


  3. #3
    Senior Member
    Join Date
    Aug 2000
    Posts
    127
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Unresponsive Application

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

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

    I don't know how to check if the AUT is not responsive, that's what my
    question was asking. For this sort of situation, conventional exception
    handling can't handle a "Not Responding" AUT because this doesn't generate =
    a
    pop-up window, WR return code or a "consistent" change in any AUT object
    property. I have a workaround for it, but it depends on finding a
    command-line utility that returns the running status of the AUT.
    =20
    =20
    =20
    =20


  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    127
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Unresponsive Application

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

    ------_=_NextPart_001_01C17367.17716E20
    Content-Type: text/plain;
    charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable

    That's the question. What to look for to check if the AUT is "Not
    Responding". That's why I was asking if anybody knows of a command-line
    utility to get this information.
    =20
    =20
    =20


  5. #5
    Points for Confirmed Friends
    Guest

    Re: Handling Unresponsive Application


  6. #6
    Senior Member
    Join Date
    Aug 2000
    Posts
    127
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Unresponsive Application

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

    ------_=_NextPart_001_01C17372.57C35690
    Content-Type: text/plain;
    charset=iso-8859-1
    Content-Transfer-Encoding: quoted-printable

    You can't do what you are saying with applications that have status "Not
    Responding" with a standard WinRunner exception handler.
    =20
    =20
    =20


  7. #7
    Senior Member
    Join Date
    Aug 2000
    Posts
    127
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Unresponsive Application

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

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

    We're testing a client-server program written with VC++. Even though our
    AUT is "Not Responding", it can still return valid object info even though
    it's not supposed to be responsive. So, using error codes is not an option
    because the AUT always returns info. I'm going check out the search engine=
    s
    for the command-line utility I was referring to. I'm sure it must exist
    since there are command-line utilities that retrieve process info,
    application info, etc, so why not application status info.
    =20
    =20
    =20
    =20


  8. #8
    Senior Member
    Join Date
    Jul 2001
    Posts
    216
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Unresponsive Application

    User misha (mm_ke@yahoo.com.nospam) posted:

    Handling Unresponsive ApplicationPerhaps the task manager's definition of
    "not responding" means there is no response to a certain type of windows
    event? If you found out which event this is, you could send this event to
    the app and see if you get a response, ie.simulate what task manager is
    doing.
    I suspect it is not any old event as you are able to retrieve object
    properties.
    Cheers,
    Misha
    ----- Original Message -----
    From: Shum, Garry
    To: 'winrunner@yahoogroups.com'
    Sent: Friday, November 23, 2001 8:08 AM
    Subject: RE: [winrunner] Handling Unresponsive Application


    We're testing a client-server program written with VC++. Even though our
    AUT is "Not Responding", it can still return valid object info even though
    it's not supposed to be responsive. So, using error codes is not an option
    because the AUT always returns info. I'm going check out the search engines
    for the command-line utility I was referring to. I'm sure it must exist
    since there are command-line utilities that retrieve process info,
    application info, etc, so why not application status info.


  9. #9
    Senior Member
    Join Date
    Aug 2000
    Posts
    127
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Handling Unresponsive Application

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

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

    I couldn't find a command-line utility to do what I wanted so I wrote a
    small C++ program in VC++ instead. I'm testing it now to see if it works a=
    s
    expected. Depends on how unstable our AUT is in the latest release but I'm
    sure it'll crash any minute now so we'll find out soon enough.
    =20
    =20
    =20


 

 

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 11:50 AM.

Copyright BetaSoft Inc.