Question - Explain how to read registry key in UFT?
Answer -
The example demonstrated here explains how to read registry key in UFT
‘Create a shell object
Set MyShell= CreateObject (“WScript.Shell”)
Read the value of key from the registry
RegValue =MyShell.RegRead (varpathofkey)
‘in above function we have to pass the path of key in registery’.
e.g. HKCU\software\ie\settings
msgbox RegValue