dynamic Using in FindsBy mit Selen

Ich habe diese Spezifikation

Scenario Outline: Display widget
    Given I have a valid connection
    When I navigate to home using <browser>
    Then The element in css selector #<id> > svg > g.x.axis.percent > text:nth-child(1) should be <value>
    Examples:
        | browser | id      | valye  |
        | Chrome  | Widget1 | 213.00 |

Mit dieser Seitendefinition

class BarSummaryPage
{

    [FindsBy(How = How.CssSelector, Using="#{DYNAMIC-ID} > svg > g.x.axis.percent > text:nth-child(1)")]
    private IWebElement Mes;
}

Ich muss das @ konfigurierUsing Eigenschaft inFindsBy dynamic, wie oben: SIEHE#{DYNAMIC-ID}

Antworten auf die Frage(1)

Ihre Antwort auf die Frage