| || |
settings required to record OS generated dialogboxes while recording one application
I have this application in which an excel sheet is genrated as a result of a query. So as soon as I fire this query from the web page (say "Get Report"), I get this DialogBox "Download File". I have options of saving it to the disk or seeing the file from the server. I have to save this file on local disk and compare it with the standard result file. Once I click OK on the first diealogbox which is "Download file", I get another dialogbox "Save as". I am saving this with some name. But the problem comes at the time of running the script. When I run the script I get message '[DialogBox] File Download' is not enabled. I tried enabling all the dialogboxes manually by clicking alt+ctr and clicking the enable radio button in the individual dialogbox window in script. I again tried to run the script this time its giving message '[DialogBox] File Download' is not found. What could be the possible reason? What settings are required to record such cases?
Re: settings required to record OS generated dialogboxes while recording one application
1. Compile the test.
2. Open Silk's Record/Actions dialog and manually perform the exact sequence that you've described.
3. Then compare the results with your testcase coded sequence. Are they the same?
4. Try running the recorded action block. Does the failure still occur?