In a nutshell I have a ranoreXpath that *may* have an element in it (it also may not).
If the element is in the path && matches a particular criteria then I want that path chosen, if it does not match that criteria then I want that path ignored.
here is the snip that does not work:
Code: Select all
/element//element?[@visible='True' and @controlname='TabbedContainer_tabControl']//table
I've also tried
Code: Select all
element//element?[@visible='True' and @visible~'^((?!False).)*$' and @controlname='TabbedContainer_tabControl']//table
Is there a way for me to ensure that if an element is in the path with a particular value (visible='False') in this case it will be excluded from selection criteria?
thanks,
-marc