SPONSORS:






User Tag List

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

Thread: Window status

  1. #1
    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 status

    User (girish@magicsoftware.com.nospam) posted:


    Hello, Shivaprakash GK
    The system menu of this window must be in u'r GUI map.
    ----------------------------------------------
    #IF Maximize menu is enabled then Maxinize it. else minimize it.
    win_activate ("Untitled - Notepad");
    set_window ("Untitled - Notepad", 10);

    ##I think winrunners return value for this function is incorrect.
    ##So I did this way to just show u how to do.

    ##This works fine...
    menu_get_info("sys_Maximize","enabled",enabled);
    if(enabled)
    {
    win_restore ("Untitled - Notepad");
    }
    else ##Minimze it.
    {
    win_min("Untitled - Notepad");
    }

    ---------------------------------------------
    Girish-T


    Shivaprakash GK
    <GK.Shivaprakash@blr.sp To: "'winrunner@yahoogroups.com'" <winrunner@yahoogroups.com>
    cnl.co.in> cc:
    Subject: [winrunner] Window status
    09/11/01 07:03 PM
    Please respond to
    winrunner



    Dear All,

    I would like to know, how can i can check the status of an window whether
    it's minimixed or not!!!

    My script must look some thing like this:

    if(Minimized)
    {
    restore the window
    }
    else
    {
    minimixe the window
    }

    I tried win_check_info function, it did not work for me.....
    Can u suggest some ideas..

    Thanx in advance,

    Shiva



  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

    Window status

    User Shivaprakash GK (GK.Shivaprakash@blr.spcnl.co.in.nospam) posted:

    Dear All,

    I would like to know, how can i can check the status of an window whether
    it's minimixed or not!!!

    My script must look some thing like this:

    if(Minimized)
    {
    restore the window
    }
    else
    {
    minimixe the window
    }

    I tried win_check_info function, it did not work for me.....
    Can u suggest some ideas..

    Thanx in advance,

    Shiva

    ------------------------ Yahoo! Groups Sponsor ---------------------~-->
    Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now! http://us.click.yahoo.com/n7RbFC/zhw...gFAA/NhFolB/TM


 

 

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 13.64%
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 06:14 PM.

Copyright BetaSoft Inc.