Blog Archives

WMI Tutorial – II

There are two distinct mechanisms that can be used to establish a connection to WMI on a local/remote computer:

1) SWbemLocator object and
2) SWbemServices Object

Both the mechanisms are same except 2 differences…….

Tagged with: , , , , , , , , , , , ,
Posted in wmi

WMI Tutorial – I

WMI Flow

While developing scripts (not restricted to QTP/UFT), we all sometimes need to know the version of MS Office, Operating System version etc to handle different scenarios programmatically. To know the system properties, there is a technique called WMI provided by Microsoft inbuilt in its operating system ‘Windows’. In the next few posts, I will introduce you to WMI.

Tagged with: , , , , , , , , , , , ,
Posted in wmi

How to delete Registry Key using QTP/VBScript?

As I have already talked about How to read/modify and create Registry Settings in previous posts, today I will be talking about how to delete Registry Keys. Again, there are 2 ways to delete Registry Keys: Using VBScript: This method

Tagged with: , , , , , ,
Posted in Awesum Stuff

How to create Registry key if it does not exists?

In one of my previous post, I posted about how to read and modify the Registry Settings using VBScript/QTP. But, this only works if Registry Key/SubKey (that you intends to read/modify) already exists. In this post, first we will look

Tagged with: , , , , , , ,
Posted in Awesum Stuff
Blog Stats
  • 168,304 hits
Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 796 other followers