SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    May 2001
    Location
    Santa Clara, CA, USA
    Posts
    57
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Use of Environment Variable in Partner.ini file

    I am trying to use environment variable in the Partner.ini . But its not working.
    First of all I am not sure if we can use the environment variable in the ini file ?? Any comments

    I have attached the ini file with the message

    But its not working. Could anyone suggest on this

    Thanks

  2. #2
    Member
    Join Date
    May 2001
    Location
    Santa Clara, CA, USA
    Posts
    57
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Use of Environment Variable in Partner.ini file

    Sorry I forgot to attach the ini file. Here it is

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

  3. #3
    Junior Member
    Join Date
    Oct 2000
    Location
    Cambridge MA USA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Use of Environment Variable in Partner.ini file

    Maybe I'm confused here (I haven't had nearly enough coffee this morning).

    You seem to be confusing two things; a .bat file and a .ini file.

    A .bat file consists of a series of DOS commands (setting environment variables, running software, whatever). Your first statement
    is something that woiuld be found in a .bat file and would indeed add the value of the %SEGUE_HOME% directory to the end of the path.

    A .ini file consists of a series of attribute/value pairs organised in sections.
    So, for instance, where you say
    this is a section called "RecordWinId" with two attribute/value pairs. .Ini files are read by specific programs (eg Partner.exe) and used by that program in specific ways. There are functions you can call which will set/read the value of a given attribute in a given section of a .ini file. So Partner.exe may have a line in it of the form
    which in this case would return 340 to the program. Actually, it might well return the STRING "340" to the program; converting that to a useful integer is left as an exercise to the student.
    So unless the program is expecting an environment variable, you could be out of luck.

    As an aside, you can use your own .ini files with Silk Test. Look at the IniFileGetValue and IniFileSetValue functions.



    [This message has been edited by NigelC (edited 05-14-2001).]

 

 

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:46 PM.

Copyright BetaSoft Inc.