Form Variables

Description:

A form variable is used to store an HTML form content.

Format:

FORM name;

Parameter:

name

The name of the variable. This must be a valid AgileLoad Dataname.

Example:

FORM FormVar;

HTML_SetFormValue(FormVar, "login", "John");
HTML_SetFormValue(FormVar, "password", "Smith");

Log "Form Info: " + ToString(FormVar);

HTTP PRIMARY POST HOST "demo.fmstocks.com" URL "/fmstocks/default.asp" URLENCODED_FORM FormVar;

See Also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap