Completed fields randomly clear when button pressed using automation (FitNesse or Ruby).

#AppianFitnesse
#GeneralInterest
We have an issue where a field can be populated by FitNesse but when a button (i.e. Submit) is pressed, the field is cleared and the page errors because of the now-empty field. This randomly happens but it is the same field/s it happens to. One is a simple page with text, a field and a button.
Note: I have witnessed this using Ruby as well, so it's most likely an Appian/Sail and not a FitNesse issue.

OriginalPostID-252844

  Discussion posts and replies are publicly visible

Parents
  • Hi Tom,
    Here's one of the forms:
    a!formLayout(
    label: "Perform reconciliation",
    instructions: "Give application id in the text box and the application financial status will be changed to ""Payment settled"" in about 2 mins.",
    firstColumnContents: {
    a!textField(
    label: "Application id",
    instructions: "If application is 1507-1234 SDA, then enter 1234.",
    labelPosition: "ADJACENT",
    required: true(),
    value: ri!int_applicationId,
    saveInto: ri!int_applicationId,
    refreshAfter: "UNFOCUS",
    validations: {}
    )
    },
    secondColumnContents: {
    a!textField(
    label: "",
    labelPosition: "ADJACENT",
    value: "",
    readOnly: true(),
    saveInto: ri!int_applicationId,
    refreshAfter: "UNFOCUS",
    validations: {}
    )
    },
    buttons: a!buttonLayout(
    primaryButtons: {
    a!buttonWidgetSubmit(
    label: "Submit",
    style: "PRIMARY",
    value: "Submit",
    saveInto: ri!text_buttonAction
    )
    },
    secondaryButtons: {
    a!buttonWidgetSubmit(
    label: "Cancel",
    style: "NORMAL",
    value: true,
    saveInto: ri!text_buttonAction,
    skipValidation: true
    )
    }
    ),
    validations: {}
    )
Reply
  • Hi Tom,
    Here's one of the forms:
    a!formLayout(
    label: "Perform reconciliation",
    instructions: "Give application id in the text box and the application financial status will be changed to ""Payment settled"" in about 2 mins.",
    firstColumnContents: {
    a!textField(
    label: "Application id",
    instructions: "If application is 1507-1234 SDA, then enter 1234.",
    labelPosition: "ADJACENT",
    required: true(),
    value: ri!int_applicationId,
    saveInto: ri!int_applicationId,
    refreshAfter: "UNFOCUS",
    validations: {}
    )
    },
    secondColumnContents: {
    a!textField(
    label: "",
    labelPosition: "ADJACENT",
    value: "",
    readOnly: true(),
    saveInto: ri!int_applicationId,
    refreshAfter: "UNFOCUS",
    validations: {}
    )
    },
    buttons: a!buttonLayout(
    primaryButtons: {
    a!buttonWidgetSubmit(
    label: "Submit",
    style: "PRIMARY",
    value: "Submit",
    saveInto: ri!text_buttonAction
    )
    },
    secondaryButtons: {
    a!buttonWidgetSubmit(
    label: "Cancel",
    style: "NORMAL",
    value: true,
    saveInto: ri!text_buttonAction,
    skipValidation: true
    )
    }
    ),
    validations: {}
    )
Children
No Data