Fitnesse - 18.1.4 - Populate picker field in section

Hello all,

I've been trying to populate a picker field located inside a section this way:

 

| click on link | SECTION_NAME |

| wait for | 5 |

| populate field | FIELD_LABEL | in section | SECTION_NAME | with | VALUE |

 

It hasn't worked. Has anyone succeeded trying this? Any suggestions?

 

Thanks.

  Discussion posts and replies are publicly visible

Parents
  • Hi Sara Rodríguez,

    The above script which you mentioned in the description of the Post will not work if the section where you are trying to enter the value is collapsed.

    So first verify the section is not collapsed. If it is collapsed, Please use the below script to enter the value to the picker.
    | toggle section | SECTION_NAME | visibility |
    | populate field | FIELD_LABEL OR [FIELD_INDEX] | in section | SECTION_NAME | with | VALUE(S) |

    If the section is not collapsed, you can directly use the below script.
    | populate field | FIELD_LABEL OR [FIELD_INDEX] | in section | SECTION_NAME | with | VALUE(S) |

    Also, "Click on link" script will only work for the links. We cannot click section label's by using "Click on link" script.
  • Hello ,

    First of all, thanks for your time.

    "Clink on link" does work, although it's more correct using "toggle senction".
    No matter what, the picker field can't be populated the way you suggest.
    The only solution I found was filling in the field searching by its index, which was quite hard to find.

    Thanks for your help.
Reply Children