Considering the following Then verifying method already implemented:
/// <summary> /// Verifies the elements of a <see cref="ComboBox" />. /// </summary> /// <param name="automationId"> /// The automation Id of the <see cref="ComboBox" />. /// </param> /// <param name="values"> /// The expected values for the <see cref="ComboBox" />. /// </param> [Then(@"the combobox with id ([^ ""]+) contained the following elements")] public void VerifyComboboxContainsValues(AutomationIdString automationId, Table values) I'm searching how to correctly write the corresponding scenario in a feature file to define the expected ComboBox values to be passed in the values Table:
So something like that:
Scenario: xxx Given xxx Then the combobox with id "SomeAutomationId" contains the following elements "Value_1", "Value_2"... "Value_n"