Page 1 of 1

XPaths and Excel!!!

Posted: Wed Nov 27, 2019 5:30 pm
by NuzakFarnas
I'm trying to open, examine, modify and close excel spreadsheets generated by a call to an API end point. The creation, opening and closing is all happening without issue. What I have a problem with is that the spreadsheet has been changed so that the first sheet has a unique name in each file to match the filename. Recording actions in studio appears to create a recording that can add the figures I want to certain cells but this was when the sheet name remained unchanged from one file to the next.whatsapp web 192.168.0.1 routerlogin


The XPath to the cells in question appears to include the sheet name. Is there any way of having an XPath that uses the sheet index instead? That way the name would be irrelevent.

Re: XPaths and Excel!!!

Posted: Thu Nov 28, 2019 8:25 am
by odklizec
Hi,

Could please post a Ranorex snapshot (NOT screenshot and ideally, post at least two snapshots for two different sheets) and full xpath of problematic element, as you have it stored in repository? Thanks.

Re: XPaths and Excel!!!

Posted: Fri May 21, 2021 8:17 am
by JosephY
NuzakFarnas wrote:

I chose to change the spreadsheet xpath to do my calculus homework in excel. I'm enrolled in the business calculus course with excel at SLU math, so I need to do this correctly.
Hello,

Are you still working with XPaths and Excel for your projects? Why not use Spy to edit the path?