The "File Download" dialog box occurs because a file of a type not recognized by the TrueLog is being sent from the server, hence the "File download" dialog pops up when viewed in the TrueLog Explorer. This dialog box only appears in the TrueLog Explorer and is a display issue, it will not effect the running of the test. There is a mechanism integrated in the TrueLog Explorer that allows custom handling of special content types and/or URL file extensions, by adding their values to the Registry in the key below: HKEY_CURRENT_USER\Software\Segue Software Inc\SilkPerformer 6.x\TrueLog Explorer NOTE: Since SilkPerformer 7.4 (2006) the registry is now at: HKEY_CURRENT_USER\Software\Borland\Silk TrueLog Explorer\x.x Since SilkPerformer 8.3 (2011) the correct registry path is now: HKEY_CURRENT_USER\Software\Silk\Silk TrueLog Explorer\x.x The following four registry values: MaskContentTypes MaskExtensions SuppressContentTypes SuppressExtensions contain lists of content-types and file extensions that need special handling. The Mask* values apply to textual data, which can be "rendered" as plain text in the HTML view. The Suppress* values apply to binary (non-textual) data, which cannot be properly rendered. Steps to suppress the download dialog: 1. Open TrueLog Explorer 2. Import the xlg file 3. Select the node where the download box pops up. 4. Examine the IN-HDR Tab. If the content-type seems unfamiliar, such as app/fireclick.x-hint.1, close the TrueLog Explorer 5. Add this content-type to the MaskContentTypes value (strings are separated by semicolons) 6. Start the TrueLog Explorer again (the registry settings are read on startup only). 7. If the download box still pops up, add the previous content-type to the SuppressContentTypes value. The download box should not appear anymore. If the Content-Type seems ok, examine the URL. If you notice an extension other than .html, for example, .js, .pl, .chtml, .jar, .class, or .vbs examine the IN-DATA Tab to see whether the response body consists of textual or binary data. If you see textual data in the in-data view, add the URL file extension to the MaskExtensions value. Note : If you are testing an application that uses AJAX technology (specifically JSON) using SilkPerformer 2008 then it is likely that you will need to suppress the type "application/json" to avoid dialog boxes relating to JSON. If the data seems to be binary, add the file extension to the SuppressExtensions value (extension again separated by semicolon). You have to make changes to the Registry value only after you have closed the TrueLog Explorer. Restart the TrueLog Explorer and the issue should be resolved.
↧