Share this page

# web.setMaxHtmlParamLen

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

Correlation Functions for JavaScript

## 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");

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: