Can SilkTest be used to lock a workstation at the end of a testscript?
For security reasons, it is sometimes desirable to lock a workstation at the end of an unattended suite of testing. This can be done automatically by calling the function "LockWorkStation" from the file "user32.dll".
By inserting this code at the end of a testscript, SilkTest will lock the workstation:
[-] dll "user32.dll" [ ] [ ] long LockWorkStation () [ ] [-] testcase Test1 () [ ] [ ] LockWorkStation () [ ]