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..
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 :
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.
-
Archives
- June 2009 (1)
- April 2009 (1)
- March 2009 (1)
- August 2008 (5)
- July 2008 (4)
- May 2008 (2)
- April 2008 (3)
- February 2008 (3)
-
Categories
-
RSS
Entries RSS
Comments RSS