• +91 9723535972
  • info@interviewmaterial.com

QTP Interview Questions and Answers

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

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners