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.
We, as an Automation Testers, while automating Web Application must have faced browser crash due to which, after restarting Internet Explorer comes an dialog box which asks to: Either Restore Last Session […]
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 […]
Many a times we need to execute a QTP script on a (virtual) machine. Now in order for this script to run, the machine should be logged in. In case it is […]
We can read the output of a command which is executed on the command prompt with VBS. As an application of this concept, I used it to find out the IP address […]
There is no straightforward way to clear cookies in Firefox through QTP. Using sendkeys to simulate how we do it manually seemed ridiculously out of the question, so I came up with […]