Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

How to disable Time Warping JavaScript timers in Silk Test

How to disable Time Warping JavaScript timers in Silk Test

Time warping JavaScript timers is part of the Silk Test AJAX synchronization. This causes JavaScript timers to trigger in shorter intervals. If the web application uses the JavaScript functions 'SetTimeout' or 'SetInterval' to trigger requests then you might see HTTP Requests sent in shorter time intervals.

To disable the feature known as ‘Time Warping’ for AJAX synchronization you can use the following SetOption() method within the below Silk Test Interfaces:-

 Classic

Agent.SetOption(OPT_XBROWSER_TIME_WARP_MODE, 0)

Workbench (Vb.Net) 

Agent.SetOption("OPT_XBROWSER_TIME_WARP_MODE", 0)

* It is not possible to set this option this when using a Visual Test.

 

By setting the parameter to ‘0’, this disables the functionality. Alternatively setting it to ‘1’ will enable the option.

The advantage of using the OPT_XBROWSER_TIME_WARP_MODE instead of setting the Synchronization mode to HTML is that AJAX synchronization remains in use.

 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-04-14 09:43
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.