Declined
Last Updated: 14 Dec 2023 08:24 by ADMIN
ADMIN
Rodney
Created on: 14 May 2013 20:35
Type: Feature Request
6
Find Expressions - option for finding parent element
From the Customer: 
I am trying to locate the parent of the current node using XPath (or any other method).  In my example, the leaf node is easily identifiable, but I am trying to locate the parent "td" node - nothing seems to work:
    ..
    //..
    ../td

The main group of the find expression locators locate the leaf node, then I try to add a child group filter and specify the XPath for the parent (//) thinking that the current context will be the node I located above. Unfortunately this doesn’t work.

I was able to work around the issue by using the Parent<HtmlTableCell>()method within a coded step 
0 comments