(*
http://docs.testplant.com/ePF/SenseTalk/stk-system-interaction.htm#shell
*)
//set the shellCommand to "ShellExecute"
//run bat
shell "c:\windows\system32\cmd.exe", <
> ">C:\Users\bigd\Downloads\ShellOutpoutFile.txt"
//read bat result from output file
put file "C:\Users\bigd\Downloads\ShellOutpoutFile.txt" into ShellLog
//print outputfile info
log "Shell content from TxtFile"
log ShellLog
http://docs.testplant.com/ePF/SenseTalk/stk-system-interaction.htm
沒有留言:
張貼留言
留個話吧:)