GetFrameContent Function

Description:

This functions is only valid in Navigate and Submit commands.
If a web page specified in the Navigate or Submit command contains some frames, the HTTP requests which load the frames will be automatically executed by the AgileLoad injector. The GetFrameContent function allows to load the HTTP body of those "frame" subrequests in a character string variable.

Format:

NAVIGATE PRIMARY url IDENTIFIER id
    frameContentVar = GetFrameContent(index);
 

Parameters:

index

integer expression which specifies the index of the frame

Example:

STRING szFrameContent;

NAVIGATE PRIMARY "http://webserver/frames.html" IDENTIFIER 1
    szFrameContent=GetFrameContent(1)

See also:





Go back to the Learning center:


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