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.
Click on Excel Cell
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Click on Excel Cell
Hello,
Is it possible to track this cell correctly in Spy?
Is it highlighted correctly?
Could you please post a Snapshot of your application in order to analyze this issue?
Please take a look at section 'Creating Ranorex Snapshot Files' in our User Guide.
Regards,
Markus (T)
Is it possible to track this cell correctly in Spy?
Is it highlighted correctly?
Could you please post a Snapshot of your application in order to analyze this issue?
Please take a look at section 'Creating Ranorex Snapshot Files' in our User Guide.
Regards,
Markus (T)