Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
10 replies
Subscribers
7 subscribers
Views
4355 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Completed fields randomly clear when button pressed using automation (FitNesse or Ruby).
martinc410
over 8 years ago
#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
0
martinc410
over 8 years ago
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: {}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
martinc410
over 8 years ago
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: {}
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data