Package com.eviware.x.form

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


      form.addTextField( SOCKET_TIMEOUT, "Socket timeout in milliseconds", FieldType.TEXT );
      form.addTextField( TESTCASE_TIMEOUT, "Timeout in milliseconds for entire TestCase", FieldType.TEXT );
      form.addTextField( MAXRESULTS, "Maximum number of TestStep results to keep in memory during a run",
          FieldType.TEXT );

      wsrmForm = builder.createForm( "WS-RM" );
      wsrmForm.addCheckBox( WS_RM_ENABLED, "Use WS-Reliable Messaging" );
      wsrmForm.addComboBox( WS_RM_VERSION, new String[] { WsrmVersionTypeConfig.X_1_0.toString(),
          WsrmVersionTypeConfig.X_1_1.toString(), WsrmVersionTypeConfig.X_1_2.toString() },
          "The  property for managing WS-RM version" );
      wsrmForm.addTextField( WS_RM_ACK_TO, "Acknowledgments To", FieldType.TEXT );
View Full Code Here


          WsrmVersionTypeConfig.X_1_1.toString(), WsrmVersionTypeConfig.X_1_2.toString() },
          "The  property for managing WS-RM version" );
      wsrmForm.addTextField( WS_RM_ACK_TO, "Acknowledgments To", FieldType.TEXT );
      wsrmForm.addTextField( WS_RM_EXPIRES, "Expires after", FieldType.TEXT );

      amfForm = builder.createForm( "AMF" );
      amfForm.addCheckBox( AMF_AUTHORISATION_ENABLE, "Enable AMF Session" ).addFormFieldListener(
          new AMFXFormFieldListener() );
      amfForm.addTextField( AMF_ENDPOINT, "AMF Authorization endpoint", FieldType.TEXT );
      amfForm.addTextField( AMF_LOGIN, "AMF Authorization usernmae", FieldType.TEXT );
      amfForm.addTextField( AMF_PASSWORD, "AMF Authorization password", FieldType.PASSWORD );
View Full Code Here

  }

  private void buildDialog()
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Contains Assertion" );
    XForm mainForm = builder.createForm( "Basic" );

    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" );
View Full Code Here

  }

  private void buildDialog()
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "WS-A properties to assert" );
    XForm mainForm = builder.createForm( "Basic" );
    mainForm.addCheckBox( ASSERT_ACTION, "Check if 'wsa:Action' exists and has the right value" );
    mainForm.addCheckBox( ASSERT_TO, "Check if 'wsa:To' exists" );
    // mainForm.addCheckBox(ASSERT_REPLY_TO, "Check if 'wsa:ReplyTo' exists");
    // mainForm.addCheckBox(ASSERT_MESSAGE_ID,
    // "Check if 'wsa:MessageId' exists");
View Full Code Here

  }

  private void buildDialog()
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Ws-a properties to assert" );
    XForm mainForm = builder.createForm( "Basic" );
    mainForm.addCheckBox( ASSERT_ACTION, "Check if 'wsa:Action' exists" );
    mainForm.addCheckBox( ASSERT_TO, "Check if 'wsa:To' exists" );
    mainForm.addCheckBox( ASSERT_REPLY_TO, "Check if 'wsa:ReplyTo' exists" );
    mainForm.addCheckBox( ASSERT_MESSAGE_ID, "Check if 'wsa:MessageId' exists" );
    // mainForm.addCheckBox(ASSERT_RELATES_TO,
View Full Code Here

  public void perform( SecurityTest securityTest, Object param )
  {
    if( dialog == null )
    {
      XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "SecurityTest Options" );
      form = builder.createForm( "Basic" );
      form.addCheckBox( FAIL_ON_ERROR, "Fail on error" ).addFormFieldListener( new XFormFieldListener()
      {

        public void valueChanged( XFormField sourceField, String newValue, String oldValue )
        {
View Full Code Here

  }

  private void buildDialog()
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Add Request to TestCase" );
    XForm mainForm = builder.createForm( "Basic" );

    mainForm.addTextField( STEP_NAME, "Name of TestStep", XForm.FieldType.URL ).setWidth( 30 );

    closeRequestCheckBox = mainForm.addCheckBox( CLOSE_REQUEST, "(closes the current window for this request)" );
    mainForm.addCheckBox( SHOW_TESTCASE, "(opens the TestCase editor for the target TestCase)" );
View Full Code Here

  }

  private void buildDialog()
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "NotContains Assertion" );
    XForm mainForm = builder.createForm( "Basic" );

    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" );
View Full Code Here

  protected XFormDialog buildDialog( Interface modelItem )
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "WADL2Java" );

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

    mainForm.addTextField( OUTPUT, "Root directory for all emitted files.", XForm.FieldType.PROJECT_FOLDER );
    mainForm.addTextField( PACKAGE, "Default Package for generated classes", XForm.FieldType.JAVA_PACKAGE );

    mainForm.addCheckBox( AUTOMATIC_PACKAGE_NAMES, "Generates starting point code for a client mainline" );
View Full Code Here

  }

  private void buildDialog()
  {
    XFormDialogBuilder builder = XFormFactory.createDialogBuilder( "Add Request to TestCase" );
    XForm mainForm = builder.createForm( "Basic" );

    mainForm.addTextField( STEP_NAME, "Name of TestStep", XForm.FieldType.URL ).setWidth( 30 );

    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)" );
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.