SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 1999
    Location
    Campbell, CA
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Identifying the path of an open SilkTest file

    Hi,

    There's a keyword CurrentPath

    Olinda

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

    Identifying the path of an open SilkTest file

    I'm sure you've all encountered this; is there a solution?

    An open file (.t, .inc, .pln, etc.) will have its name on the SilkTest label. How do I tell what directory the file is in (like SYS_GetDir())?

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

    Re: Identifying the path of an open SilkTest file

    Olinda;

    Thanks for replying. However, CurrentPath is used at runtime; I am looking for a way to get the path of an open file within SikTest at design time. For example, I am editing the file "functions.inc", is it the file in the \common library or in the \appl lib?

    Jerry

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Location
    Chicago, IL USA
    Posts
    383
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Identifying the path of an open SilkTest file

    I run into this problem too.
    I have two versions of files with the same names in different directories, and occasionally I start editing the wrong one.

    I do not think there is any way the get the path with certainty. "Save As" defaults to the directory last used with the "Open" dialog. When I lose track, I usually close my file (often dumping my changes) and then navigate the directories with the "open" dialog again.

    I have worked with teams that locked all of the files the were not in use, because people would often start updating the wrong version.

    This is something that should go on Segue's wish list for future versions.
    Rob Kapteyn, CSTE
    RobKapteyn@gmail.com

  5. #5
    Junior Member
    Join Date
    Oct 2000
    Location
    UK
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Identifying the path of an open SilkTest file

    Don't you read the release notes? ;-)

    Silk 5.0.3 lets you display the path in the title bar by adding ShowFullPath=TRUE to the [General] section of the partner.ini file. This does cause some problems in one or two of the dialogs though as they aren't wide enough to let you see the filename.

  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)

    Re: Identifying the path of an open SilkTest file

    Andrew;

    Well, flog me with a wet noodle!; I did not read the release notes.

    Adding parm to ini file works great. Just what I needed. Thanks.

    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 02:38 PM.

Copyright BetaSoft Inc.