Registry Editor in QTP

QTP allows to create and edit a key values of registry.Registry handling is possible by using a wscript. shell object. Refer a following code to add/edit registry values Dim wshshell,companyname,emp1name set wshshell=Createobject(“Wscript.shell”) wshshell.RegWrite “HKEY_CURRENT_USER\Software\Company”,”Lion”,”Reg_SZ” /*┬áThis will create a key in registry with the name company and add Lion as key with Reg_SZ key type *\ […]

Continue Reading