Fill datagrid widget with selenium

1
0
-1

Hello,

I'm trying to setup seleniumIDE tests for my process but I'm stuck with datagrid widget. I'm using BOS 5.10.

I found out how to fill my grid cells with code like that (I need to click twice for the textarea to be found) :

<tr><br />
    <td>click</td><br />
    <td>//div[@id='restaurationHebergement']/div/div/div[2]/div[2]/table/tbody/tr[5]/td[2]</td><br />
    <td></td><br />
</tr><br />
<tr><br />
    <td>click</td><br />
    <td>//div[@id='restaurationHebergement']/div/div/div[2]/div[2]/table/tbody/tr[5]/td[2]</td><br />
    <td></td><br />
</tr><br />
<tr><br />
    <td>type</td><br />
    <td>//div[@id='restaurationHebergement']/div/div/div[2]/div[2]/table/tbody/tr[5]/td[2]/textarea</td><br />
    <td>15</td><br />
</tr>

But the values are not recorded : the cell remains in edition state. I tried many things (similate mouse click, simulate TAB key press, change focus...) but my cells always remain in edition state.

If somebody had a worlaround it would be great !

Best regards,

Marina

No answers yet.
Notifications