SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing on multiple O/S\'s

    This is an EXTREMELY common request. As a matter of fact, the ability to do this is often a big "point" made to management to get them to approve the expense of automation.

    There are some previous posts about things not working the same (as NT) or at all on Win95, Win98, W2K. Check those out.

    If you didn't plan for this then you will likely run into OS-specific problems such as syntax when dealing with the registry, folder/filenames, manipulating an OS tool such as Explorer, Acrobat Reader, NotePad, etc. The list could be huge.

    My suggestion is tackle it in phases. Don't start "fixing" as soon as you find one problem. Handle any biggies of course (issues that prevent anything from running or impact a big hunk of your scritps) but then try to get through one run of ALL of your scripts on each of the other platforms. Then you'll have enough info to actually plan the "fixing" part.

  2. #2
    Junior Member
    Join Date
    Feb 2001
    Location
    Portland, OR, USA
    Posts
    21
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Testing on multiple O/S\'s

    Our Automation Group has been asked to run our scripts against our AUT on multiple operating systems (Win95/98/ME/NT/2K)? Is this a common scenario and if it is, what problems can we expect to run into?

    Any suggestions or comments would be helpful.
    Bill Hull
    QA Engineer
    Timberline Software
    www.timberline.com

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Location
    Sunyyvale CA USA
    Posts
    422
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing on multiple O/S\'s

    As earlier post says may be issues related to rgistry keys and path names. My suggestion if you are having more constants declared for reg keys and file names and their paths maintain different include files specific to OS and use them accordingly.

    Your base code of tetsscript file should work fine. Only issue is do not hard code file names and file paths instead create a include file and declare them as constants differently for different OS. Hope this helps you.
    Sree

  4. #4
    Senior Member
    Join Date
    Aug 1999
    Location
    Irvine, CA
    Posts
    157
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing on multiple O/S\'s

    I don't agree with sree about the separate include files for each OS. It is easier and more maintainable in my opinion to just conditionally code around the minor differences between OS's. You also don't have to worry about which inc file you are "using" all the time. SilkTest provides the guitype statement or the GetGuiType function that should be more than enough.
    Matt Gray

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

    Re: Testing on multiple O/S\'s

    To add to MattGray's reply:
    We use GetGuiType() and conditional statements like mswnt, msw98, msw9x.

    Also, we use environment variables on the system to figure out windows dir, windows system dir, temp dir, and the registry to look up other things.

    Environment vars that are helpful:
    <UL TYPE=SQUARE>
    <LI> COMSPEC path to command.com on 9x, or cmd.exe on NT
    <LI> TEMP path to temp directory
    <LI> WINDIR windows dir
    get system dir by appending \system for win9x, or \system32 for winnt[/list]

    Scripts can rely on getting this kind of information at runtime, so you don't have to have separate hard coded include files.

    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 05:42 AM.

Copyright BetaSoft Inc.