Fitnesse - How to validate values in a Drop Down ?

Hi All,

I'm new to Fitnesse for Appian. Could any one please tell me what is method to be used to validate values in a drop down.

Thanks & Regards

Rajesh KV

  Discussion posts and replies are publicly visible

Parents
  • Hi Rajesh,

    You should be able to use the verify methods on a dropdown the same way that you would on a text field.  Below is a snap shot of these methods:

     

    | verify field | FIELD_LABEL or [FIELD_INDEX] or FIELD_LABEL[INDEX] | contains | VALUES() | Verify field contains value
    | verify field | FIELD_LABEL or [FIELD_INDEX] or FIELD_LABEL[INDEX] | contains value | VALUE | Use this to verify a field that contains a comma
    | verify field | FIELD_LABEL or [FIELD_INDEX] | in section | SECTION_NAME | contains | VALUE(S) | Verify field in section contains a value

     

    Best,

    Lucas

  • Hi Lucas,

    I used populate fields method first and used verify filed method. To verify drop down values. Not sure, if this correct way or is there any other alternative ?
Reply Children
No Data