SPONSORS:






User Tag List

Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Dec 2000
    Location
    LA,CA,USA
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Knowing what version of SilkTest in running

    Click on "Help" and "About Silk Test"

  2. #2
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Knowing what version of SilkTest in running

    Interesting

    No I don't think there is .. hmm. They may encode this info somewhere in the registry.

    Assuming you don't change the Silk versions
    all that often. Also assuming that you will be doing this on a machine by machine basis, you may want to create a compiler constant.

    Also ASSUMING you actually want to go this route you probably want to make this a string (when I did it I entered 5.0.3 and it tried to interpret it as a number "5.0.3" worked better).

    So you can actually just refer to it directly via Silk_Version or some name like that. I realize this is the "Rube Goldberg"
    approach .. but I think this is really why people use Silk in the first place!


    [This message has been edited by rick_weth (edited 01-04-2001).]

    [This message has been edited by rick_weth (edited 01-06-2001).]
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

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

    Re: Knowing what version of SilkTest in running

    You could use Rick Weth's DLL in the downloads section of this bulletin board in Segue section, under heading GetFileVersion.

    I use it to determine the versions of EXE's and DLL's used in the product I test. I suppose you could use it to query the version of partner.exe that you use on your given PC's. You could read the version and take whatever appropriate action desired.

    [This message has been edited by styler (edited 01-04-2001).]
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  4. #4
    Junior Member
    Join Date
    Nov 2000
    Location
    San Jose, CA USA
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Knowing what version of SilkTest in running

    You can query version from Partner.exe file. There is GetFileVersion(...) windows API. Encapsulate it into DLL, declare it in a script and call it.

    Nick

  5. #5
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Knowing what version of SilkTest in running

    Wow it's nice to see how much faith you all have in my GetFileVers utility! Also not a bad idea ..

    Unfortunately GetFileVers does not always work, and in the case of the partner.exe or a dll associated with it .. it won't work!

    Near as I can figure it this thing "tends" to work for MFC built "stuff" via VC++ and not at all for others.

    So bottom line if you can get it to work in your environment (like I needed it for) that's great! Maybee I will go back and re write this guy but not in the near future.

    COMPILER CONSTANTS ANYONE??



    [This message has been edited by rick_weth (edited 01-04-2001).]
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  6. #6
    Senior Member
    Join Date
    Dec 2000
    Location
    NY, NY, USA
    Posts
    165
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Knowing what version of SilkTest in running

    Hi all;

    Simple question.... Is there a Silk function that I can call in a script that will return the version of SilkTest currectly running?
    (I checked the Registry; but the version is not there.)

    Jerry

  7. #7
    Senior Member
    Join Date
    Dec 2000
    Location
    NY, NY, USA
    Posts
    165
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Knowing what version of SilkTest in running

    Thanks to all for their thoughts and attention.

    I am working with some Silk code where the writer modified defaults and browser .inc files. I currently have v5.0.3.1 and v5.0.2 running (bad practice, I know). I was thinking of a way to get the currect .inc files loaded by checking the version at runtime.

    Rather than compiler constants, I will design a local .ini file to contain specialized parameters for a machine's test. A setup script can then handle.

    Thanks again;
    Jerry

 

 

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 12:21 AM.

Copyright BetaSoft Inc.