SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Apr 2003
    Location
    hyderabad,ap,india
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to invoke the application from system tray dynamically

    Dear all,

    plz let me know how to invoke the application from system tray as my application do not have any exe in any hard drive .when i install my application it just load's the system tray ...

    i want to invoke application using
    getenv

    thank in advance

    srikanthp



    ------------------

  2. #2
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    Which application? I'll assume the application-to-be-tested.

    If that's the case, the application must be installed somewhere. You can invoke it by using the TSL function "invoke_application();". One of the arguments to this function is the path/name of the .exe.

    This is described in the WinRunner Help menu -> Help -> TSL Online Reference.

    It doesn't make any difference that it's in the tray.

    getenv() will not launch an application.
    ------------------
    ************************
    "Remember! You are responsible for the amount of excitement you create!"

    JP


    [This message has been edited by jpensyl (edited 04-22-2003).]

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Location
    hyderabad,ap,india
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    u r right jp

    s i have folder of my application in c:\ drive but when i click the .exe in that folder that just load the system tray

    and when we click the system tray then i get the actuall window ...

    i think u catch my point

    as u said when i give the .exe path in the
    invoke_application()

    this function is not working for me to load actuall window that will appear when i click the system tray

    thank u
    srikanthp


    ------------------

  4. #4
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    A couple more things to try:

    1) Perhaps the app is configurable as to how it runs initially and maybe there are settings to have it run maximized.

    2) The invoke_application() function takes an argument to have the app run maximized.

    Please post here, your actual invoke_app... command so we can look at it for possible issues.



    ------------------
    ************************
    "Remember! You are responsible for the amount of excitement you create!"

    JP

  5. #5
    Senior Member
    Join Date
    May 2001
    Location
    Ankh-Morpork
    Posts
    2,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    This worked, at least for MS Messenger:

    Manually launch the app in question from the tray window. Open up Task Manager. Find the now-running app in the Applications tab. Right-click on the application, and select Go To Process. The Processes tab will now be displayed with the app's process highlighted. Note the name of that executable, and use that in your WR invoke_application() command.

    Hope that works for your situation.

    ------------------
    Charles Reace (charlesDOTreaceATverizonDOTnet)
    "Forward!" he cried from the rear, and the front ranks died.
    The generals sat, and the lines on the map moved from side to side.

    (Roger Waters, "Us and Them")
    web site | [url=http://www.ebookworm.us/[/url]

    [i]...Sound trumpets! Every trumpet in the host! / Sixty thousand, on these words, sound, so high the mountains sound, and the valleys resound.</i] (The Song of Roland)

  6. #6
    Junior Member
    Join Date
    Sep 2002
    Location
    Milan
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    if your application appears in the system tray you can try to maximize it simply emulating, in analog mode, one or more "ALT + TAB".

    something like:
    (key names are not for an english keyboard, you can get the right names recording in analog mode).

    ------------------

    Stefano Colzani
    Opera Multimedia SpA

    [This message has been edited by Stefano (edited 04-23-2003).]

    [This message has been edited by Stefano (edited 04-23-2003).]

    Stefano Colzani
    Opera Multimedia SpA

  7. #7
    Junior Member
    Join Date
    Apr 2003
    Location
    hyderabad,ap,india
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    hai to all reply..!!

    i will try all the methods which are in reply...
    i will to add the MAX parameter in
    invoke_application()
    and i will come back again

    cu
    srikantp




    ------------------

  8. #8
    Member
    Join Date
    Dec 2002
    Location
    Hyderabad, India
    Posts
    44
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to invoke the application from system tray dynamically

    You can use the dbl_click() function.

    Regards,
    BNR

    ------------------

 

 

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

Copyright BetaSoft Inc.