私はテストの初心者で、質問があります。ReadOnlyCollection<IWebElement>
attribute を使用する場合、どうすれば正しく使用できますかFindsBy
。テストを開始した後、コレクションは常に null です。C# での私のコードは次のとおりです。
[FindsBy(How = How.Name, Using = "role")]
public ReadOnlyCollection<IWebElement> radPercentage { get; }
ここにウェブのテストがあります:http://testwisely.com/demo/survey
私はこのようなことをしたい: radPercentage[2].Click();