SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2000
    Location
    Berne, Switzerland
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to use a win NT system variable in a compiler constant?

    Hi

    Because I'm working on two Windows NT 4.0 machines using a different language, english and german, I would use a system variable named OSL in a compiler constants in the Runtime Options.
    I wonder if it is possible.
    I'm using SilkTest 5.0.2.

    Thanks

    ------------------
    Yves-Alain Paroz
    Ascom Transmission Ltd.
    Yves-Alain Paroz
    Ascom Transmission Ltd.

  2. #2
    Senior Member
    Join Date
    Jan 2000
    Location
    Chicago, Illinois, USA
    Posts
    151
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to use a win NT system variable in a compiler constant?

    Environment variables retreived with
    SYS_GetEnv command.

    eg.
    string sEnvVal = SYS_GetEnv("COMPUTERNAME")

    If it is not what you trying to find please resopond.

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

  3. #3
    Junior Member
    Join Date
    Feb 2000
    Location
    Berne, Switzerland
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to use a win NT system variable in a compiler constant?

    Thanks to ademin

    Great, it is possible to use a 4test function like SYS_GetEnv("OSL") defining a compiler constant.
    We are working with different language version of Windows, french, german and english, and I have implemented the 'Internationalizing tags' solution like it is describe in the SilkTest user's guide.

    ------------------
    Yves-Alain Paroz
    Ascom Transmission Ltd.

    [This message has been edited by Yves-Alain Paroz (edited 04-22-2001).]
    Yves-Alain Paroz
    Ascom Transmission Ltd.

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:48 AM.

Copyright BetaSoft Inc.