IMPORTANT NOTICE: As of 21 February, anything posted in this community WILL NOT BE MIGRATED to our new community site. We have pulled all user information and data from this site and are now in an approximately week long process of importing users, roles, and data to our new site. We are leaving this site open and active so you can post and hopefully get a response until the migration is complete. Once complete, the URL that currently takes you to this site will take you to our new site so your bookmarks will work as always. Please read the information on a New Login Process
The snippet of code below is an example of using the SYS_GetRegistryKeyNames function.
[-] testcase one () appstate none [ ] STRING sPath = "\\SOFTWARE\Segue Software Inc\SilkTest" [ ] INTEGER iKey = HKEY_LOCAL_MACHINE [ ] print (SYS_GetRegistryKeyNames (iKey, sPath))
This will return the error "Error variable HKEY_LOCAL_MACHINE not defined".
This constant is defined in one of the shipped SilkTest ".inc" files. If you add the line;
This will remove the error.