| || |
How can I pass a values (username/password) from QTP to the Dos Prompt.?
After invoking a batch file the dos prompt is open in waiting mode and expecting username and password to be feeded to the dos prompt. I don't want to run any commands on dos prompt just feed the values.
I have already got control of the dos prompt as below.
Set oDOSwin = Description.Create()
oDOSwin("text").Value = "C:\\WINDOWS\\System32\\cmd.exe"
Window(oDOSwin).Move 50, 50
Re: How can I pass a values (username/password) from QTP to the Dos Prompt.?
I was able to find the solution.