私は、ext-jsアプリケーションのグリッドの行をselenium webdriverを使用して選択する必要があるシナリオを持っています。行の選択に基づいて、いくつかのボタンが有効になります。 HTMLスニペットは(DIV/TR/TD /テーブルに試み - すべての要素)Selenium Webdriverを使用してext-jsグリッドの行を選択すると、IEのために動作しません
<div id="ext-element-55" class="x-grid-item-container" style="width: 756px; transform: translate3d(0px, 0px, 0px);" role="presentation">
<table id="tableview-1812-record-288" class="x-grid-item x-grid-item-selected" cellspacing="0" cellpadding="0" style=";width:0" data-recordindex="0" data-recordid="288" data-boundview="tableview-1812" role="presentation">
<tbody>
<tr class=" x-grid-row" role="row" aria-selected="true">
<td class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1825 x-grid-cell-first x-unselectable" data-columnid="gridcolumn-1825" tabindex="-1" role="gridcell" style="width: 378px;">
<div class="x-grid-cell-inner " style="text-align:1;" unselectable="on">FirstElementToSelect</div>
</td>
<td class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1826 x-grid-cell-last x-unselectable" data-columnid="gridcolumn-1826" tabindex="-1" role="gridcell" style="width: 378px;">
<div class="x-grid-cell-inner " style="text-align:1;" unselectable="on">
</td>
</tr>
</tbody>
</table>
<table id="tableview-1812-record-289" class="x-grid-item x-grid-item-alt" cellspacing="0" cellpadding="0" style=";width:0" data-recordindex="1" data-recordid="289" data-boundview="tableview-1812" role="presentation">
<tbody>
<tr class=" x-grid-row" role="row" aria-selected="true">
<td class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1825 x-grid-cell-first x-unselectable" data-columnid="gridcolumn-1825" tabindex="-1" role="gridcell" style="width: 378px;">
<div class="x-grid-cell-inner " style="text-align:1;" unselectable="on">SecondElementToSelect</div>
</td>
<td class="x-grid-cell x-grid-td x-grid-cell-gridcolumn-1826 x-grid-cell-last x-unselectable" data-columnid="gridcolumn-1826" tabindex="-1" role="gridcell" style="width: 378px;">
<div class="x-grid-cell-inner " style="text-align:1;" unselectable="on">
</td>
</tr>
</tbody>
</table>
</div>
WebElementクリック以下の通りであるクロムとFFのため正常に動作し、行を選択するが、それはIEの行を選択しません。アクションクラス、ロボットAPIも試しましたが、これらはIEでも動作しません。 IEでネイティブイベントを使用して動作させる方法はありますか?(選択するにはjavascriptを使用しないでください)。 requiredWindowFocusを使用すると、IEで動作しますが、同じマシン上で並列の の並列処理が実行され、リモートロックされたマシンでテストが実行されているので、これを使用したくないことに注意してください。
セレン版 - 2.53.0 ブラウザ - IE11 IEドライバのバージョン3.0
ありがとう、私は、合成イベントを使用しないように回避策としてjavascriptを使用しました。 – Monty
回答を選択して質問を終了してください。 – Arghajit