I am using Silk 22.214.171.124 on W2K Machines. My program clicks the Start button then it clicks the Run Menu , enters the name of the Application in the Run Dialog's Combo Box and Clicks OK to start the Application.
This has been working fine for 1 month. But lately I see that at times after I run the same application a number of times on some machines the Silk Script fails and complains that it cannot find the Combo Box.
Same script was running on the same machine for quite sometime and now it fails.
Its very flakey and I am unable to debug the problem.
Any hints and tips in this direction would be really helpful. I am gone crazy solving this
If u r using the keyboard that having the start menu button try using this. Generally it should work if worked previously. I have not faced any situation like this except u change something like updating the patch or something for OS.
The following is some code we have to use the run dialog. I recommend using the run dialog as a last resort. Note: there is a bug in Silk, if connecting to a remote machine of different OS, you will not be able to interact with the Start button.
Someone mentioned using SYS_Execute(). I don't think this will work. SYS_Execute() will wait for the command to finish before moving on to the next line of code. This won't happen if the app is running.
may not be the cleanest code, don't know why we have sleeps in there, but you get the idea.