Problem with IE pop-up boxes
I am VERY new to SilkPerformer. I am running into a problem where SilkPerformer does not appear to handle any pop-up boxes/prompts. When I recorded the script I needed to click Yes or Ok on a couple prompts, but they appear to receive errors in SilkPerformer - If I avoid the prompts, the script runs fine. The problem is there is no way to avoid all the prompts in my application.
How can I get SilkPerformer to see the prompts?
Re: Problem with IE pop-up boxes
SP does not drive an instance of the browser, so it will NEVER see the prompts. If the clicking of a button on the prompt results in a post back to the server, then SP should have recorded that post in your script. Find that section of code and parameterize and programatically solve for all situations that could be encountered. FYI, this is the most challenging part of any performance tool, getting the scripts to actually work like a real life user. It takes a lot of perseverence and doggedness as well as an understanding of what is going on both in your application and the tool. Since you're using SP I will say that the logs are your best friend. Learn to read them, understand them, and compare recorded and playback logs. And if at first you don't succeed, try a different tack. I've often had to record things multiple times before I keyed in on the issue that was preventing correct operation. Try to record with different values and compare the scripts to see what changed. And more than anything else you have to be dogged. You've got to approach the scripting side of this job as if you were a detective. Apply logic, and take it one step at a time. Some very useful commands in SP....the print and return statements. And don't neglect the F1 key. Good luck, it's not easy, but it can be very rewarding if you persevere.