SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Dec 2000
    Location
    Phoenix, AZ
    Posts
    371
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    queries in testplan.ini

    We have a testplan that uses multiple queries that are stored in testplan.ini. The problem with this is testplan.ini is stored in the SilkTest folder under Program files. We have our own directory structure for all of our scripts, plans, etc that we check into a change control system. We would like to check testplan.ini in for change control too but it does not fall within our directory structure. I was hoping we could do something like make sure we have the testplan.ini file in the same location as the plan file and we would be able to see the queries. However, this is not the case. Does anyone know of another way we would be able to access these queries without having to customize the testplan.ini file for each machine that installs SilkTest? I was thinking maybe there might be a way to specify which testplan.ini file to use in the options file. It would have been nice if the query information was included in the plan file instead of testplan.ini.

    Thanks.

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

  2. #2
    Member
    Join Date
    Jun 2001
    Location
    Bedford, MA, USA
    Posts
    85
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: queries in testplan.ini

    kkoski,
    I suggest you include testplan.ini in the same directory tree with the other automation files so it can be checked-in to source control as needed. The users must copy the file to it's required run-time location when they check-out an updated version.
    You can "automate" this with a batch script that checks-out all automation files to their proper location. The batch script can rely on designated environment variables that you mandate to be on all test machines.

    Hope this helps.
    - Jim


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

  3. #3
    Member
    Join Date
    Jun 2001
    Location
    Bedford, MA, USA
    Posts
    85
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: queries in testplan.ini

    Your batch script can use the SEGUE_HOME environment variable to know where to put testplan.ini.

    Take a look at the attached batch file (which I had to rename to a .txt file) as an example. This file does not use SEGUE_HOME, but it does use other env variables.

    If Perforce is your source control app you can use a lot of this script!

    Have fun!
    - Jim

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

  4. #4
    Senior Member
    Join Date
    Dec 2000
    Location
    Phoenix, AZ
    Posts
    371
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: queries in testplan.ini

    Ahhhhh ....... SEGUE_HOME Both of these answers seem so obvious now that you have mentioned them.

    Thanks again.

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

  5. #5
    Senior Member
    Join Date
    Dec 2000
    Location
    Phoenix, AZ
    Posts
    371
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: queries in testplan.ini

    Jim,
    This is not a bad idea. I already have a .bat file that I run to get all of my scripts and put them in their default directories. I guess I just need to add something that will move the testplan.ini file to the SilkTest directory. One issue I can see is that on some of my test machines I have SilkTest installed on the C drive and on others on the D drive.

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

 

 

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 04:07 AM.

Copyright BetaSoft Inc.