0
Selenium IDEで複数の要素を選択するには、Ctrlキーを押した後にユーザーが選択する必要がありますか?Selenium IDEの複数要素選択機能のキーボードショートカットとは何ですか?
この機能にはどのコマンドが使用されていますか?
Selenium IDEで複数の要素を選択するには、Ctrlキーを押した後にユーザーが選択する必要がありますか?Selenium IDEの複数要素選択機能のキーボードショートカットとは何ですか?
この機能にはどのコマンドが使用されていますか?
(selectコマンドとの組み合わせで)addSelectionを使用してみてください:
<tr>
<td>select</td>
<td>//select[@name='toppings']</td>
<td>olives</td>
</tr>
<tr>
<td>addSelection</td>
<td>//select[@name='toppings']</td>
<td>mushrooms</td>
</tr>
この例http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html上のHTMLスニペットで動作します:
<select name="toppings" multiple="multiple" size="5" id="dougtest" style="background-color: rgb(255, 255, 255);"><option value="mushrooms">mushrooms
</option><option value="greenpeppers">green peppers
</option><option value="onions">onions
</option><option value="tomatoes">tomatoes
</option><option value="olives">olives
</option></select>
あなたが求めているものを明確ではないが、してみてくださいそれについてもっと詳しく説明する – Dee
私は、ユーザーがマルチ選択フィールドを実行しようとしていると仮定しますか? herEのように:http://www.htmlcodetutorial.com/forms/_SELECT_MULTIPLE.html – DMart