I have a particular requirement
QTP is installed on one of the windows machine where the product is not deployed.
Based on the OS (windows, linux, solaris, OEL), i need to shoot a command on the command line to get an output.
And all this i need to do at run time using QTP.
Is it possible? If yes, how can we do it?
Let me know if i am not clear in my description.
Do you want to find the OS of a remote machine? or is it to issue a command on the command line you are asking how to do?
Initially i want to find the OS, based on the OS it returns i need to run a command on that machine and get the output.
download pstools. you can use the psexec.exe to run command on a remote machine. you can also use psinfo.exe to get the OS info about a machine.
"God doesn't play dice" - Einstein