SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Points for Confirmed Friends
    Guest

    Getting Registry Entries

    Does anybody know of how to work with Windows NT/95 registry entries?
    How would you use QAPartner to get/verify or maybe even set registry entries?
    If QAPartner does not do it (which I don't know of a way), has anybody tried some 3rd party utils that track registry entries?
    I just wish there were functions like iniFileGetValue function for the registry...

    Thanks.
    -AJ Alhait

  2. #2
    Points for Confirmed Friends
    Guest

    Re: Getting Registry Entries

    SYS_GetRegistryValue(), SYS_SetRegistryValue() are documented in the online help.

    You can get some additional information about some other registry functions, and how to work with them, from http://www.ultranet.com/~danil/Cluey/creg.html

    A great resource to learn about the windows API is Daniel Appleman's _Visual Basic Programmer's Guide to the Win32 API_, which shows how to map all of the API into Visual Basic. The transformation from VB to 4Test is pretty straight forward.

    Mr Cluey

  3. #3
    Points for Confirmed Friends
    Guest

    Re: Getting Registry Entries

    One way to access the registry is to use Windows API calls through dll declarations in QAP. If the API calls do not provide the functionality that you need, then you can create your own dll wherein you can write your own C functions. See page 70 of the QAP 4Test language reference book on how to declare the dll functions.

    Hope this helps.

    Blaine

 

 

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 13.64%
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 01:57 PM.

Copyright BetaSoft Inc.