Hi,
I am facing some difficulty while creating fitnesse script for card layout UI, which doesn't have any label. Can someone please suggest me how to get any value from card layout from UI through fitnesse .
Discussion posts and replies are publicly visible
One possibility to consider might be giving the card layout a label for fitnesse to use but then setting the labelPosition to "HIDDEN".
In fact this should be best practice - for ALL components to have a label, visible or otherwise, so that this kind to testing can take place.
Hi nehar572,
As per my understanding, you have a card layout with a dynamic link and you trying to get the value by clicking on it,
if that's the case your Appian code should be
a!cardLayout(
content:{},
link: a!dynamicLink(
label: "YourLabel" -> This label is used by fitness to recognise this cardlayout
)
Fitness Code:
| click on card | YourLabel |
Regards,
Sachin
I believe you have taught me something about Fitnesse. it makes sense that it would use the link's label, and the label of a link on a card layout, image, etc. isn't displayed.