haripotter’s technorati

Just another WordPress.com weblog

Execute a DOS command in QTP

At times in our QTP testcases we may have a need to execute a command using the DOS command window. This could be anything from a simple DIR command to a complex SSH command that can be execute using a tool called plink.exe. I’ll talk about using plink.exe to execute ssh commands on a remote system in another post. Here is how you call the function to execute a command in command window..

Read more »

February 28, 2008 Posted by haripotter | HP Quality Center and QTP | , , | No Comments Yet

Check status of a windows service on a remote system using WMI

In the automation world, you may be required to check whether the product that you wanted to test is installed and the application service is running properly.  You could use the below code to accomplish that. You could add this to a function library and associate it with QTP test. Then call the function with appropriate test parameters. For example :

Read more »

February 28, 2008 Posted by haripotter | HP Quality Center and QTP | , , , | No Comments Yet

Hello world!

Hello and welcome to my blog. This is my first post in wordpress and I’ll dedicate this post for world peace. Hello World! ♥ Love, Live and let live. Peace be to all of you.

February 16, 2008 Posted by haripotter | Uncategorized | | No Comments Yet