Page 1 of 1

storing xpath in excel and , to access it via script

Posted: Wed Dec 28, 2016 12:54 pm
by sawaiabhishek
Hi There,

I would like to store the xpath of the element in excelsheet.

and later i would like to write a script where i will fetch the excel data from the code and will click on the particular element.

Can someone please suggest the way forward to achieve above task.

Re: storing xpath in excel and , to access it via script

Posted: Wed Dec 28, 2016 9:06 pm
by N612
Hello,

As explained in the other thread, you can create elements with the Host.Local.FindSingle(RxPath) method. In order to retreive them from a excel sheet, you can use a excel data connector and a variable. I recommend reading and trying the user guide pages linked below on this.