Click on Excel Cell
Posted: Mon Jan 07, 2013 1:51 pm
Hi,
I am trying to create some tests for a VSTO addin for Excel.
I am recording a test and this involves double clicking on an Excel cell.
The item in the repository is created and called CellA8, the definition appears to be correct (/form[@processname='EXCEL']/element[@class='XLDESK']/workbook/table[@name='Sheet1']/row[@index='8']/cell[@address='A8']), however, when the test runs, it is unable to click on this cell. The small screenshot of the cell does has not got this cell highlighted with a red rectangle, but it has highlighted something that is not part of the worksheet!
When the test runs, it fails with a message stating :
Failed to move to location '152;171' within element '{Cell:A8}'.
The pointer cannot be moved to point '{X=64,Y=-20970382}' since it is outside of the visible desktop.
Any ideas please?
Regards
Bill.
I am trying to create some tests for a VSTO addin for Excel.
I am recording a test and this involves double clicking on an Excel cell.
The item in the repository is created and called CellA8, the definition appears to be correct (/form[@processname='EXCEL']/element[@class='XLDESK']/workbook/table[@name='Sheet1']/row[@index='8']/cell[@address='A8']), however, when the test runs, it is unable to click on this cell. The small screenshot of the cell does has not got this cell highlighted with a red rectangle, but it has highlighted something that is not part of the worksheet!
When the test runs, it fails with a message stating :
Failed to move to location '152;171' within element '{Cell:A8}'.
The pointer cannot be moved to point '{X=64,Y=-20970382}' since it is outside of the visible desktop.
Any ideas please?
Regards
Bill.