Hi
Can i use HierarchyConstraints in this example:
I know how to ID the child Node
I can ID the parent node(But not without the child)
Can i use HierarchyConstraint to instead of saying Find this child and then this parent 2 parents up. To just say this:
Find this child, then find a parent matching this htmlfindexpression(or similar) but not giving it a parent count to go up, so it will just move it way up until it finds the element or fail.
What I'm doing now is one of 2 things either use xpath or make a long htmlfindexpression with alot of | to get the elements, but i don't like this solution.
Can i use HierarchyConstraints in this example:
I know how to ID the child Node
I can ID the parent node(But not without the child)
Can i use HierarchyConstraint to instead of saying Find this child and then this parent 2 parents up. To just say this:
Find this child, then find a parent matching this htmlfindexpression(or similar) but not giving it a parent count to go up, so it will just move it way up until it finds the element or fail.
What I'm doing now is one of 2 things either use xpath or make a long htmlfindexpression with alot of | to get the elements, but i don't like this solution.