Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read registry values using DotNetFactory in QTP
#1
Not Solved
How to read registry values using DotNetFactory in QTP?

I tried the following code,but it is giving some error.

Code:
Set regVersion = DotNetFactory.CreateInstance("Microsoft.Win32.RegistryKey")

RegKeyFinal = regVersion.OpenSubKey("SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",True)

msgbox RegKeyFinal.GetValue("ParseAutoexec")

PLease suggest if i am missing any steps.
Reply


Messages In This Thread
How to read registry values using DotNetFactory in QTP - by mag - 07-16-2008, 06:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Want to read the data from excel and set read value in the JavaTable rajeevk7 0 2,316 07-10-2017, 04:20 PM
Last Post: rajeevk7
  How to mask the particular read only mode fields while capturing screenshot in QTP kalaivanan123 2 3,531 03-18-2014, 11:31 AM
Last Post: basanth27
  How to read and write in excel through QTP script shwetha_m 5 29,723 03-14-2014, 02:58 PM
Last Post: venkatesh9032
  Read the HTTP response inside QTP script xcoder2 1 7,103 10-14-2013, 06:53 PM
Last Post: anil2u
  A DotnetFactory question on Stacks Parke 0 1,717 09-27-2013, 11:38 PM
Last Post: Parke

Forum Jump:


Users browsing this thread: 1 Guest(s)