I want to click on card choice fields, can someone tell me what script should I write?
The following is the card choice field that we are using
a!cardChoiceField(label: "Activity Choices", labelPosition: "COLLAPSED", data: local!activities, cardTemplate: a!cardTemplateTile( id: fv!data.zlkActivityType, primaryText: fv!data.zlkActivityType, icon: choose( fv!index, "briefcase-medical", "microphone", "briefcase-medical", "microphone", "microphone", "briefcase-medical", "microphone" ), showWhen: isnull(fv!data.zatParenttype)
), value: local!selectedActivity, saveInto: local!selectedActivity, maxSelections: 1, align: "CENTER", showShadow: true )
Discussion posts and replies are publicly visible
Hi kagrawal031,
You need to have a recent version of Fitnesse and use the command below:
|click on card|CARD_NAME or CARD_NAME[INDEX]|in card choice field|FIELD_NAME or FIELD_NAME[INDEX]|
Regards,
Acacio B
Instead of "in card choice field" I used "choice" and it worked.
|click on card|CARD_NAME or CARD_NAME[INDEX]|choice|FIELD_NAME or FIELD_NAME[INDEX]|