Can you please let me know the following solustion.
i have a appliction before starting the testcase i need to invoke the application it means open the application. But i already followed the following steps but it was not invoking, can you please let me other than these solustions
i followed the following steps
1) i tried to use the build in method start() but it's open the application
2)second i tired to use the open application using start/Run command also, but it's open also
3) finally i taried to use the App_start() method also it's not working.
Can you please let me know other than above solustions.
SYS_Execute is a bad choice here because SilkTest will not go on until application is closed. SYS_Execute is waiting for the output of the program it is executing, hence the optional LIST OF STRING parameter.
look in the shared code section of this forum. Somebody included a function there that will start application using windows dlls. I think it is something like ShellExecuteA.
You should be able to define this application as a MainWin and therefore use the Start() method to launch it. Can you show us how the application's main window is defined and the Start() method call you are using to try and launch it?