Example: Check the form name (Java)

The template check_form_name.javais the template used (by default) when generating the Java code for checking the form name.

check_form_name.java

!! Validates the current form name
!! This check is enabled if --check-all or --check-form parameter is used.
!!
!! Parameters:
!!  . formName  : The name of the current form
!!
      ScenarioChecks.checkFormName(client, "$(formName)");