JavaScript Functions > Alphabetical Listing of Web Functions > web.setMaxHtmlParamLen

web.setMaxHtmlParamLen

Sets the maximum length of any HTML string that can be retrieved and saved as a parameter.

Syntax

web.setMaxHtmlParamLen( length );
Property Name
Description
length
The maximum length of any HTML string that can be retrieved. Do not enter a length greater than the value of an unsigned integer (4294967295).

Return Values

Not applicable

Parameterization

The following argument can be parameterized using standard parameterization: length

General Information

The web.setMaxHtmlParamLen function is a service function that is used when correlating HTML statements. It is recorded only when correlation during recording is enabled (see VuGen's Recording Options).

The web.setMaxHtmlParamLen function sets the maximum length of any HTML string which VuGen can retrieve and save in a parameter. The default value for the maximum length of a parameter that can be captured during correlation is 256 characters (see web.regSaveParamEx). To retrieve a string longer than 256 characters, use web.setMaxHtmlParamLen to increase the maximum valid length. An attempt to save a string whose length exceeds the maximum length will fail.

Example

web.setMaxHtmlParamLen("1024");