How can SilkTest open the task manager from a script?
The following code can be used to invoke the Task Manager on Windows NT and Windows 2000.
[-] testcase Test1 () appstate none [ ] Sys_Execute ("Start taskmgr.exe")
This will start the task manager dialog but will not return control to SilkTest until the dialog is dismissed. To bring up the task manager dialog and return control to SilkTest. Firstly create a shortcut to the "TaskMgr.exe" executable. This will create a file with a ".lnk" extension. This can be then run using SYS_Execute()
[-] testcase Test1 () appstate none [ ] Sys_Execute ("Start taskmgr.exe.lnk")