Page 1 of 1

Click on Excel Cell

Posted: Mon Jan 07, 2013 1:51 pm
by bangeib
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.

Re: Click on Excel Cell

Posted: Tue Jan 08, 2013 12:54 pm
by Support Team
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)