SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Dec 1999
    Location
    Portland, OR, USA
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Windows Taskbar access ?

    Silk Test cannot directly access objects in the Windows taskbar.

    ====================================
    Begin Quote from the documentation:-
    ====================================
    The TaskbarWin class defines one object, the PushButton Start, which is the Start button on the taskbar. You can select items from the Start menu, but only by using an index value (the text of the items on the Start menu is not available to SilkTest). For example, the following statement selects the fifth item on the Start menu:

    Taskbar.Start.PopupSelect (10, 10, "#5")

    However, because each machine is likely to have a different Start menu and because each machine's Start menu can change at any time, accessing the Start menu this way is likely to be reliable only on one machine and only for a short time.
    ====================================
    End Quote from the documentation:-
    ====================================

    And Silk cannot see any icons from installed applications.

    Is there any solution to this ? I need to
    verify that applications have been correclty installed by viewing their additions to the taskbar (icons and menu items).

    Are there any third party utilities which can give me this access ?

    What about other test tools ?

    Thanks.

    Quality Control Analyst at Syntel Inc
    Project Test Lead for client Daimler Trucks - North America.
    Interested in testing dot net web services and SOA systems.
    Charles F. Radley
    Oregon, USA.

  2. #2
    Guest

    Re: Windows Taskbar access ?

    You could look for the shortcuts that make up the start menu. That is verify that the shortcuts exist in C:\Windows\Start Menu\Programs. You may have to change the path to match your OS (95/NT) and windows configuration.

  3. #3
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Windows Taskbar access ?

    Download the Remote Reboot library in the download section...

    There is a workaround on getting the Start menu working for any system (no matter what you have installed) The workaround is in the section of the WinNT rebooting.

    If I can remember correctly, although I may have taken that part of the code out... But here's what I did...

    I wen in the User_Profiles dir and figured out what was in the start folder which is what's in the start menu... I dynamically generated a list which was the contents of the Start Menu

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Windows Taskbar access ?

    Use the Task Manager's Application Tab instead to "Switch To" the application you want.

  5. #5
    Junior Member
    Join Date
    Aug 2001
    Location
    california
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Windows Taskbar access ?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by AJ:
    Download the Remote Reboot library in the download section...

    There is a workaround on getting the Start menu working for any system (no matter what you have installed) The workaround is in the section of the WinNT rebooting.

    If I can remember correctly, although I may have taken that part of the code out... But here's what I did...

    <HR></BLOCKQUOTE>

    I attempted to use the Taskbar.Start.Click() but when I compile I get an error "Type mismatch - Expecting a window." I even tried using "winclass.inc" as a header still it didn't work.

    Any idea what could I be doing wrong. By the way, I am running ST 5.5 with Windows XP. Thanks!



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

  6. #6
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Windows Taskbar access ?

    If you are using SilkTest 5.5 SP1 and Windows XP, then the Taskbar class is not supported.

    Look here for more info: http://www.qaforums.com/Forum1/HTML/002888.html

    ------------------
    Steven Tyler
    Lead SQA Automation Engineer
    Timekeeper Central Group
    Kronos Incorporated
    E-Mail: styler@kronos.com
    www.kronos.com
    Improving the Performance of People and Business™
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 07:37 PM.

Copyright BetaSoft Inc.