一連の再帰的な質問がある AJAX ページがあります (つまり、親の質問に回答すると、2 番目の質問がページから「再表示」されます) が、Watin は子の質問を再表示できません。親の質問は、[はい] と [いいえ] のラジオ質問で構成されます。ラジオ ボタンを手動でクリックすると、子の質問が再表示されます。
私はWatinで次のすべてを試しました:
tr.RadioButton(Find.ByLabelText(xe.Value)).MouseDown();
tr.RadioButton(Find.ByLabelText(xe.Value)).MouseUp();
tr.RadioButton(Find.ByLabelText(xe.Value)).Checked = true;
tr.RadioButton(Find.ByLabelText(xe.Value)).Focus();
tr.RadioButton(Find.ByLabelText(xe.Value)).KeyPress();
tr.RadioButton(Find.ByLabelText(xe.Value)).KeyDown();
tr.RadioButton(Find.ByLabelText(xe.Value)).MouseEnter();
tr.RadioButton(Find.ByLabelText(xe.Value)).Blur();
tr.RadioButton(Find.ByLabelText(xe.Value)).Change();
FireEvent() を実行することをお勧めするかもしれませんが、ラジオ ボタンがクリックされたときに "onclick()" などの Javascript 関数を呼び出しているように見えるものはありません。Web アプリケーションで AJAX の再帰的な質問に対処した人はいますか? お返事ありがとうございます。