Enabling and disabling system hardware using vbscript in QTP

You can enable or disable any hardware component in your system using Vb-script. It is a simple and a very small code hardly few lines. All that you require is a small program called Devcon. It is a command line utility that lets you perform a few management functions on the system hardware. You need to download this program from Microsoft free of cost and extract the file "devcon.exe" anywhere in your computer. "devcon.exe" is available for both 32 bit and 64 bit machines and works for Windows 2000, Windows XP, Windows Server 2003, Windows Vista and Windows 7.

Views: 86

Tags: Advanced, Automation, Books, Concepts, Programming, QTP, Resources, scripts, tutorial, with


You need to be a member of Test Republic to add comments!

Join Test Republic

© 2014   Created by Test Republic.

Badges  |  Report an Issue  |  Terms of Service