Below QTP program / example demonstrates how to edit registry key in qtp
'Create a shell object
Set WshShell = CreateObject("WScript.Shell")
'write the value of key in the registry
WshShell.RegWrite "HKCU\Software\ie\settings\", 1, "REG_BINARY"
Note that you must know path of the key.
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs