SPONSORS:






User Tag List

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

Thread: Window Wait

  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

    Window Wait

    User Murad Khan (MKhan@harlandfs.com.nospam) posted:

    Greetings all:

    We're evaluating robot. I'd like to check to see if a particular window
    exists, and immediately return yes or no. Any thoughts?

    Currently using:
    SQASuspendLogOutput
    Result = WindowVP (Exists, "Type=Window;Name=frmFSP",
    "VP=FSP_Login;Wait=0,0")
    SQAResumeLogOutput

    and it seems to wait for upto 20 seconds looking for the window.

    AdThanksVance


    Murad Yar Khan
    Test Automation Engineer
    Harland Financial Solutions

    ---

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

    User Tom Roberts (testmachine2k@yahoo.com.nospam) posted:

    With the Wait parameter settings, you're telling Robot
    to check the existance of the window zero times every
    zero seconds, so, if I'm not mistaken, it's gonna
    check using the default settings, usually for 30
    seconds every 2 seconds. Give it a certain period of
    time like:
    "Wait=1,3"
    This will check every second for 3 seconds. If after 3
    seconds the window is not open, then it will return
    fail, otherwise it will return true as soon as the
    window is identified. If after 1 second it's found,
    then the script continues after that, it doesn't wait
    the entire time frame specified in the second setting.

    --- Murad Khan <MKhan@harlandfs.com> wrote:
    ************************************************** **************************
    ************************************************** ***************************


    __________________________________________________

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

    User Murad Khan (MKhan@harlandfs.com.nospam) posted:

    Thanks for the reply Tom:

    Tech support essentially told me what you just did, except they suggested
    that the removal of the 'Wait' parameter causes Robot to check once and move
    on.

    Alas, my installation does not want to behave normal, and it insists on
    waiting for about 30 seconds regardless of whether:

    1. I use Wait=1,3 or Wait=0,0 or -1,-1
    2. I use the optional Wait parameter at all
    3. Under playback options, I have delay between Playback->Script
    4. Under playback options, I have Wait State->Automatic Wait for

    Is there anything else I'm missing and should be doing?

    AdThanksVance


    Murad Yar Khan
    Test Automation Engineer
    Harland Financial Solutions
    Pleasanton, CA 94588


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

    User Carl Nagle (Carl.Nagle@sas.com.nospam) posted:

    This message is in MIME format. Since your mail reader does not understand
    this format, some or all of this message may not be legible.

    ------_=_NextPart_000_01C2217F.29DDDB10
    Content-Type: text/plain;
    charset="utf-8"

    Don't know if this matters, but there is also a delay multiplier in one of the options panels.
    At least, in the later versions of Robot somewhere in/after 2001.

    You might see what that is set at. It used to default to 10, I think. Terrible!

    Carl

    -----Original Message-----
    From: Murad Khan [mailto:MKhan@harlandfs.com]
    Sent: Mon 7/1/2002 2:01 PM
    To: SQA Suite Team Test Users
    Cc:
    Subject: RE: Window Wait
    Thanks for the reply Tom:

    Tech support essentially told me what you just did, except they suggested
    that the removal of the 'Wait' parameter causes Robot to check once and move
    on.

    Alas, my installation does not want to behave normal, and it insists on
    waiting for about 30 seconds regardless of whether:

    1. I use Wait=1,3 or Wait=0,0 or -1,-1
    2. I use the optional Wait parameter at all
    3. Under playback options, I have delay between Playback->Script
    4. Under playback options, I have Wait State->Automatic Wait for

    Is there anything else I'm missing and should be doing?

    AdThanksVance


    Murad Yar Khan
    Test Automation Engineer
    Harland Financial Solutions
    Pleasanton, CA 94588




    ------_=_NextPart_000_01C2217F.29DDDB10
    Content-Type: application/ms-tnef

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Location
    India
    Posts
    172
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Window Wait

    The multiplier or the units of time were off ten times in one of the earlier releases of Robot. I think it was fixed in the Synch Serice release of Feb 2002
    Sachin Lalye

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

    Re: Window Wait

    User Tom Roberts (testmachine2k@yahoo.com.nospam) posted:

    I agree that Robot only checks once if you don't add
    the Wait parameter. If I'm not mistaken it uses the
    settings in the Wait State tab of the GUI Playback
    Options to check if the window exists. Normally it's:
    try for 30 seconds every 2 seconds. That's probably
    where your 30 second pause is coming from.

    I find it very hard to believe that the "script" would
    not continue after 3 seconds if you had "Wait=1,3". If
    it's not too much trouble, can you post the lines
    where it's doing this?

    Now, are you sure it's not your application that is
    causing that pause or delay?

    You're getting closer to the answer Murad, you just
    don't know if your a step or a mile away, but you're
    closer!


    --- Murad Khan <MKhan@harlandfs.com> wrote:
    ************************************************** **************************
    ************************************************** ***************************


    __________________________________________________

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

    Re: Window Wait

    User Murad Khan (MKhan@harlandfs.com.nospam) posted:

    Tom/Carl:

    Thanks for the feedback. I think we may have a slightly more nefarious issue
    at hand. In the past I have had Robot work the way we all agree it should.
    Tech support is working with me to try to determine the source of the errant
    behavior I am experiencing.

    Here is my current understanding (in conflict with what Tom and I described
    below).

    The following assumes default wait periods as specified in playback options
    together with the appropriate multipliers etc:
    WindowVP (Exists, "window description", "VP=VPDescription")

    The following waits for the wait specified, over-riding defaults specified
    in playback options (note ';' between VP and Wait specification), in this
    case, check once and continue:
    WindowVP (Exists, "window description", "VP=VPDescription;Wait=0,0")


    AdThanksVance


    Murad Yar Khan
    Test Automation Engineer
    Harland Financial Solutions
    Pleasanton, CA 94588


 

 

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

Copyright BetaSoft Inc.