Examples of buildDialog()


Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    // "Check if 'wsa:MessageId' exists");
    mainForm.addCheckBox( ASSERT_RELATES_TO, "Check if 'wsa:RelatesTo' exists and is equal to request MessageID" );
    mainForm.addCheckBox( ASSERT_REPLY_TO_REF_PARAMS, "Check if 'wsa:ReplyTo' ReferenceParameters exist" );
    mainForm.addCheckBox( ASSERT_FAULT_TO_REF_PARAMS, "Check if 'wsa:FaultTo' ReferenceParameters exist" );

    dialog = builder.buildDialog( builder.buildOkCancelHelpActions( HelpUrls.SIMPLE_CONTAINS_HELP_URL ),
        "Specify options", UISupport.OPTIONS_ICON );
  }

  protected XmlObject createConfiguration()
  {
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    // mainForm.addCheckBox(ASSERT_REPLY_TO_REF_PARAMS,
    // "Check if 'wsa:ReplyTo' ReferenceParameters exist");
    // mainForm.addCheckBox(ASSERT_FAULT_TO_REF_PARAMS,
    // "Check if 'wsa:FaultTo' ReferenceParameters exist");

    dialog = builder.buildDialog( builder.buildOkCancelHelpActions( HelpUrls.SIMPLE_CONTAINS_HELP_URL ),
        "Specify options", UISupport.OPTIONS_ICON );
  }

  protected XmlObject createConfiguration()
  {
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

          form.getFormField( FAIL_SECURITYTEST_ON_ERROR ).setEnabled( !Boolean.parseBoolean( newValue ) );
        }
      } );
      form.addCheckBox( FAIL_SECURITYTEST_ON_ERROR, "Fail SecurityTest if it has failed TestSteps" );

      dialog = builder.buildDialog( builder.buildOkCancelHelpActions( HelpUrls.TESTCASEOPTIONS_HELP_URL ),
          "Specify general options for this SecurityTest", UISupport.OPTIONS_ICON );
    }

    StringToStringMap values = new StringToStringMap();
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    closeRequestCheckBox = mainForm.addCheckBox( CLOSE_REQUEST, "(closes the current window for this request)" );
    mainForm.addCheckBox( SHOW_TESTCASE, "(opens the TestCase editor for the target TestCase)" );
    mainForm.addCheckBox( SHOW_REQUEST, "(opens the Request editor for the created TestStep)" );

    dialog = builder.buildDialog( builder.buildOkCancelActions(),
        "Specify options for adding the request to a TestCase", UISupport.OPTIONS_ICON );
  }
}
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    mainForm.addTextField( CONTENT, "Content to check for", XForm.FieldType.TEXTAREA ).setWidth( 40 );
    mainForm.addCheckBox( IGNORE_CASE, "Ignore case in comparison" );
    mainForm.addCheckBox( USE_REGEX, "Use token as Regular Expression" );

    dialog = builder.buildDialog( builder.buildOkCancelHelpActions( HelpUrls.SIMPLE_NOT_CONTAINS_HELP_URL ),
        "Specify options", UISupport.OPTIONS_ICON );
  }

  protected String internalAssertRequest( MessageExchange messageExchange, SubmitContext context )
      throws AssertionException
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    mainForm.addTextField( JAXB_CUSTOMIZATION, "Space-separated list of JAXWS or JAXB binding files",
        XForm.FieldType.TEXT );

    buildArgsForm( builder, true, "wadl2java" );

    return builder.buildDialog( buildDefaultActions( HelpUrls.WADL2JAVA_HELP_URL, modelItem ),
        "Specify arguments for reference wadl2java", UISupport.TOOL_ICON );
  }

  protected StringToStringMap initValues( Interface modelItem, Object param )
  {
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    mainForm.addCheckBox( ADD_SOAP_RESPONSE_ASSERTION, "(adds validation that response is a SOAP message)" );
    mainForm.addCheckBox( ADD_SCHEMA_ASSERTION, "(adds validation that response complies with its schema)" );
    mainForm.addCheckBox( ADD_SOAP_FAULT_ASSERTION, "(adds validation that response is not a SOAP Fault)" );
    mainForm.addCheckBox( CREATE_OPTIONAL_ELEMENTS_IN_REQUEST, "(creates optional content in sample request)" );

    dialog = builder.buildDialog( builder.buildOkCancelActions(),
        "Specify options for adding a new request to a TestCase", UISupport.OPTIONS_ICON );

    dialogValues.put( ADD_SOAP_RESPONSE_ASSERTION, Boolean.TRUE.toString() );
  }
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

      XForm mainForm = builder.createForm( "Basic" );
      mainForm.addLabel( "Info", "" );
      mainForm.addTextField( "Username", "Username for authentication", XForm.FieldType.TEXT );
      mainForm.addTextField( "Password", "Password for authentication", XForm.FieldType.PASSWORD );

      basicDialog = builder.buildDialog( builder.buildOkCancelActions(), "Specify Basic Authentication Credentials",
          UISupport.OPTIONS_ICON );
    }

    private void buildNtDialog()
    {
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

      mainForm.addLabel( "Info", "" );
      mainForm.addTextField( "Username", "Username for authentication", XForm.FieldType.TEXT );
      mainForm.addTextField( "Password", "Password for authentication", XForm.FieldType.PASSWORD );
      mainForm.addTextField( "Domain", "NT Domain for authentication", XForm.FieldType.TEXT );

      ntDialog = builder.buildDialog( builder.buildOkCancelActions(), "Specify NT Authentication Credentials",
          UISupport.OPTIONS_ICON );
    }

    private class ShowDialog implements Runnable
    {
View Full Code Here

Examples of com.eviware.x.form.XFormDialogBuilder.buildDialog()

    XForm mainForm = builder.createForm( "Basic" );

    mainForm.addTextField( CODES, "Comma-separated acceptable status codes", XForm.FieldType.TEXTAREA ).setWidth( 40 );

    // TODO : update help URL
    dialog = builder.buildDialog(
        builder.buildOkCancelHelpActions( HelpUrls.SECURITY_VALID_HTTP_CODES_ASSERTION_HELP ), "Specify codes",
        UISupport.OPTIONS_ICON );
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.