Click on Excel Cell

Ranorex Spy, Recorder, and Studio.
bangeib
Posts: 1
Joined: Mon Jan 07, 2013 1:44 pm

Click on Excel Cell

Post by bangeib » 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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Click on Excel Cell

Post by Support Team » Tue Jan 08, 2013 12:54 pm

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)
.
Image