If the main page loaded into RTV references a separate file that is not part of the session, the file can require modification before it is loaded into RTV. For example, if a JavaScript™ file referenced by a page in a session contains a domain reference, that reference can result in a JavaScript error during replay.
You can design dynamic external file modification rules to apply to the referenced JavaScript file that modify the file before it is loaded into RTV.
Dynamic external file modification rules use the same interface as described for dynamic response modification rules in the preceding section.
Non-dynamic external file modification rules can be developed, as well. These rules apply regular expressions to matching patterns to modify the content of specified files before they are loaded into RTV.