All - I am working in Win2K and would like to invoke Task Manager and get the various memory related information using SilkTest.
I was able to invoke Task Manager through the following code:
[ ] STRING sCmdLine
[ ] sCmdLine = "start C:\WINNT\system32\taskmgr.exe"
[ ] INTEGER iReturn
[ ] iReturn = SYS_Execute (sCmdLine )
But looks like SYS_Execute function will help only in invoking TskMagr and keep it open until it is manually closed.
Can I use any other function to invoke TaskManager and play with it instead of SYS_Execute.? I would like the script to go to next line once the Task Manager is invoked. Right now the testcase keeps running until I manually close the Task Manager.