I am building a regression script that I will use on all new releases of our application and want to be able to check the registry keys that are being created. I have managed to do it by opening the registry editor (NT) and navigating to the appropriate keys and then using a obj_check_bitmap to check against expected results in the right pane of the editor window. I just wondered though whether there was a function I could call that will do this for me.
Failing that is there a better way of doing it...(I am a novice)
[This message has been edited by JeffCr (edited 10-24-2000).]
The easiest way to read the registry is to use the CSO 2 functions from Mercury's ftp site. When you have these functions installed - it gives you a function titled "get_registry_value". By passing the key information that you want to read, the function will return the string information for that key.
This way you should be able to capture the information held in the keys without the need to open the regedit application. As well - obj_check_bitmap is not really a good way to check text information if it can at all be helped.
Insanity: doing the same thing over and over again and expecting different results