An error is received when trying to save the "Speed simulation" Run-time settings of a TruClient script:
"Script Error: An error has occurred in the script on this page.
Error: Object doesn't support property or method 'indexOf'"
As a result the settings are not saved and the "Save" button becomes disabled.
To fix the issue for the current script:
Open the default.cfg file in the script folder.
Go to the [ModemSpeed] section
Add values for the ModemSpeedUpload, ModemSpeedDownload and ModemSpeedDownloadAndUpload settings.
Save the file and reopen the script in TruClient
Go to the Run-time settings > Network > Speed simulation. Changing and saving the values should work now.
To fix the issue for any new scripts, modify the run-time settings templates for TruClient IE and Firefox:
Apply the above changes to the following default.cfg file:
After saving the changes, any new TruClient script will have the default runtime settings for "Speed simulation"