I'm loading data from an external file in Selenium IDE (2.9.1) & SelBlocks (2.1.1) with "forJson" function to interact with canvas - insert an object to exact coordinates. Selenium test works, but it seems like JSON data are not read and object is inserted to random coordinates.
JSON file example:
[
{
"coords": {
"x": 400,
"y": 800
}
}
]
Selenium test example:
<tr>
<td>forJson</td>
<td>testdata.json</td>
<td></td>
</tr>
<tr>
<td>clickAt</td>
<td>css=canvas</td>
<td></td>
</tr>
<tr>
<td>endForJson</td>
<td></td>
<td></td>
</tr>
I have also tried "loadJsonVars" or "clickAt" with coords just like an interaction with Google maps - Clicking on Google Maps with Selenium IDE, but no luck.
Thanks in advance for any references or additional questions.