SPONSORS:






User Tag List

Results 1 to 4 of 4

Thread: Sharing ODBC's

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sharing ODBC\'s

    Hi All,

    I have 2 PC's. I'm running Silk on both and want to know if there is a way to share the ODBC's setup on one PC.

    I'm using ODBC's to connect to excel and I don't want to re-create these on the other PC.

    Thanks...

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  2. #2
    Senior Member
    Join Date
    Jul 2000
    Posts
    117
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sharing ODBC\'s

    Not that I'm aware of ... the ODBC settings are contained in the registry -- so it seems unlikely that you could share across machines.

    However -- search the forum for "ODBC", "DSN", and/or Excel. There are several threads on the topic -- one of them discusses a pretty easy way to use Silk to create the DSNs you need "on the fly" as part of your test setup. That way they are (1) standardized, (2) always accessible, and (3) part of your framework (thus portable)!


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

  3. #3
    Senior Member
    Join Date
    Dec 1999
    Location
    Sarasota FL USA
    Posts
    109
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sharing ODBC\'s

    In the ODBC utility in Windows you can create a FileDSN. After it is created, you can put it on a server / shared location and share it between the test systems. By using the external FileDSN you can change servers without going and changing code in your scripts.

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

  4. #4
    Super Member
    Join Date
    Jul 2001
    Location
    Earth
    Posts
    1,882
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sharing ODBC\'s

    You can also write code in your ScriptEnter function to check the registry if the DSN is there and if not create it using registry commands

    ------------------
    James Soderborg
    http://www.ameliortech.com
    jamesso@ameliortech.com

 

 

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

Copyright BetaSoft Inc.