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… Read more “How to prevent “Restore your Session” dialog box after being restarted on crashing?”
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… Read more “How to create Registry key if it does not exists?”
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… Read more “How to Connect to Remote Machine with VBScript ?”
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… Read more “How to Read Command Line Output with VBScript ?”
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,… Read more “How to clear cookies in Firefox ?”