| || |
what is TYPE function in QTP
I like to execute some commands in Command prompt through QTP. In winrunner I used "Type" function but I was not able to find this funtion in QTP
Re: what is TYPE function in QTP
It is implemented differently and uses different scripting lanquage.
In QTP you can run DOS command using shell object.
Example of Redirect:
Set oShell = CreateObject ("WSCript.shell")
oShell.run "cmd /K CD C:\ & DIR >> CDirectoryListing.txt & Exit"
Set oShell = Nothing
Also, search this forum to find more solutions.