SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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)
    Total Downloaded
    0

    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
    Points for Confirmed Friends
    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
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:50 PM.

Copyright BetaSoft Inc.