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) :

  1. <tr><br />
  2. <td>click</td><br />
  3. <td>//div[@id='restaurationHebergement']/div/div/div[2]/div[2]/table/tbody/tr[5]/td[2]</td><br />
  4. <td></td><br />
  5. </tr><br />
  6. <tr><br />
  7. <td>click</td><br />
  8. <td>//div[@id='restaurationHebergement']/div/div/div[2]/div[2]/table/tbody/tr[5]/td[2]</td><br />
  9. <td></td><br />
  10. </tr><br />
  11. <tr><br />
  12. <td>type</td><br />
  13. <td>//div[@id='restaurationHebergement']/div/div/div[2]/div[2]/table/tbody/tr[5]/td[2]/textarea</td><br />
  14. <td>15</td><br />
  15. </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