SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    win_wait_info problem

    Hi,
    I'm trying to use the function, win_wait_info(), in my script, but winrunner continuously complains by throwing an "Illegal Parameter" error. However, I used the win_wait_info() function in another script without any problems.

    This is what I've typed:
    win_wait_info("User Login", "push_button", "OK", 10);

    Now the "User Login" window name is already in my GUI file.

    Thanx

  2. #2
    Senior Member
    Join Date
    May 2003
    Location
    Austria
    Posts
    1,480
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: win_wait_info problem

    Out of the help:

    win_wait_info ( window, property, value, time );


    So param2 must be a property you see when spying at the window by using GUI spy (don't forget to check the "window" radio button).

    Does you window have a property named "push_button", containing a value "OK"?
    I doubt...

    Regards,
    Juergen

  3. #3
    Junior Member
    Join Date
    Aug 2004
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: win_wait_info problem

    Thanx for the help. That's just weird how that same line for the same window worked on two other PCs and not this PC I'm currently working on.

 

 

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 08:08 PM.

Copyright BetaSoft Inc.