SPONSORS:






User Tag List

Results 1 to 5 of 5

Thread: Options Set

  1. #1
    bjc
    bjc is offline
    Member
    Join Date
    Jan 2000
    Location
    CT
    Posts
    66
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Options Set

    I am in the process of turning over a set of scripts to our QC department. When I was developing these scripts, I created an Options Set which points to various libraries, window declarations, paths, etc.

    Is there a way to have Silk load this Options Set automatically, or will the users be required to set this up manually?

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

    Re: Options Set

    Yes.
    If you are using the Organizer (plan level) you can use an optionset: line to load the option set. This is useful if your tests have optionset dependencies. I use this method two different projects I maintain. The new project I use has 2 option sets, and the old one has over 20.

    You can also do it explicitly with the Agent options, but I've not used this method.

    As a matter of practice my option sets are in the project directory, and are under source control just like other scripts, include files, and support files.
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  3. #3
    Guest

    Re: Options Set

    The option file loaded when SilkTest is launched is controlled by the "OptionSet" variable in the PARTNER.INI file. I don't know of any command line switch that could be used to pass to partner.exe the name of an option file.

    If you are using testplan files then you might try the following (I got this from the SilkTest help file):

    You can now specify in a testplan options sets to be used with the testplan or parts of it. Using this feature you can automatically run different tests that require different options without having to manually open options sets.
    Specify the following statement in the testplan:

    optionset: file.opt

    Dependent testcases will run with the specified options set opened. The options set will be closed when it passes out of scope. If you don't specify a full path name, the file is considered to be in a directory relative to the directory containing the current testplan or subplan.

  4. #4
    bjc
    bjc is offline
    Member
    Join Date
    Jan 2000
    Location
    CT
    Posts
    66
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Options Set

    Thanks to both of you! This is exactly what I was looking for.

  5. #5
    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: Options Set

    Footnote: I am considering addressing topics such as options sets and .ini files in a QUEST presentation. Haven't decided on a good title yet but it's basically covering stuff that will make your life much easier if you have to maintain Silk configurations on multiple machines. This could be a lab environment and/or several Silk developers/users on several machines.

 

 

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 11:06 AM.

Copyright BetaSoft Inc.