Locate element by Xpath.

Add-in Express™ Support Service
That's what is more important than anything else

Locate element by Xpath.
 
ravinukala




Posts: 103
Joined: 2012-10-05
Hi,

Right now we can highlight an element based on ID of an element,

however we need a functionality where, a node is selected based on relative XPath,
Is there any way to retrieve object of HtmlElement based on XPath?

We tried doing it with .net classes for XPath and that returns XPathElement,
however to set background color (for highlighting), HtmlElement is needed,

Assigning temporary IDs to Html elements is not the solution for us.

Any help regarding this is much appreciated.
Posted 09 Oct, 2012 08:23:47 Top
Andrei Smolin


Add-in Express team


Posts: 15202
Joined: 2006-05-11
Hello,

I don't think this question relates to Add-in Express for IE and .NET. I suggest that you google for the answer. I've happened to find this topic:

http://social.msdn.microsoft.com/Forums/hu-HU/iewebdevelopment/thread/8ee3ed00-3dcc-403b-a2f0-95ea6e6e7e13

My knoledge of this theme are limited so I suppose your googling would be better tham mine.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Oct, 2012 02:32:00 Top
ravinukala




Posts: 103
Joined: 2012-10-05
Hi Andrei,

Thanks for your response.

Thanks
Posted 11 Oct, 2012 06:46:14 Top