FrameExists

Description

Checks if a frame exists on a browser page. Specify the frame name in the value column.

Parameters

Parameter Description

expected=value

Optional parameter. If used, PTF writes either a Pass or Fail for the step in the test log, based on whether the matching frame exists. If this parameter is not included, then only step information is logged during execution.

For example:

expected=true Logs an error when the frame is not found; logs Passed if found, logs Failed if not found.

expected=false Logs an error when the frame is found; logs Passed if not found, logs Failed if found.

ret=&variable

Optional parameter. Specify a variable to store the return value.