SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set/Get Registry Values

    2 ways to do it...

    1- use built in functions...

    2- use the simplified functions available in the downloads section under Segue, Registery Functions.

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  2. #2
    Junior Member
    Join Date
    Dec 2000
    Location
    hillsboro,or,usa
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Set/Get Registry Values

    Hi,
    How do we set/get registry values in registry using script. In silk test help it has been mentioned as accessing registry values for Windows 95 only. I am basically working on other windows operating systems.
    Thanks in advance,
    Murali Krishna

    ------------------
    pmk
    pmk

  3. #3
    Junior Member
    Join Date
    Sep 2000
    Location
    Beaverton, OR USA
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set/Get Registry Values

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by muralikrishna:
    How do we set/get registry values in registry using script. In silk test help it has been mentioned as accessing registry values for Windows 95 only. I am basically working on other windows operating systems.
    <HR></BLOCKQUOTE>

    I ran the following code-segment on Win95, Win98, and Win2000 without problem. The following returns a value from the Registry:

    Does this help? As for setting a Reg value, I couldn't help you.

    Erich

  4. #4
    Member
    Join Date
    May 2000
    Posts
    42
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Set/Get Registry Values

    Well, if you were using the latest, greatest testing app called TestPartner, you'd be able to use standard VBA statements called SaveSetting, GetSetting, GetAllSettings, and DeleteSetting.

    For example:
    Debug.Print GetSetting(appname := "MyApp", section := "Startup", key := "Left", default := "25")



    [This message has been edited by Garbage_Man (edited 12-05-2000).]

  5. #5
    Guest

    Re: Set/Get Registry Values

    Refer to the thread in this forum on setting/creating registry keys at http://www.qaforums.com/boards/ubb/F...ML/001097.html

    There is a snippet of code in the thread that will allow you to create registry keys, something that the built in SYS_SetRegistryValue() function won't allow you to do.

    ------------------
    Tony Mrozinski
    Sr. Software Test Automation Engineer
    Home Networking Operations
    Intel Corporation

 

 

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 07:39 PM.

Copyright BetaSoft Inc.