How to find elements in container div by an attribute
Posted: Thu Dec 11, 2014 6:58 am
hi guys,
I have a bunch of elements with an attribute called "field". I get the container div like so:
Ranorex.DivTag divContainer = (Ranorex.DivTag) repo.container;
then there is a whole bunch of fieldset elements/ withing the fieldsets are the elements I need to find by attribute "field"
I get fieldsets like this:
IList<FieldSetTag> MyFields = divContainer.Find<FieldSetTag>(".//fieldset[@class='fld']");
How can I then search for all elements in the fieldset by attribute "field". I want to get the element type and all it's other attributes
I have a bunch of elements with an attribute called "field". I get the container div like so:
Ranorex.DivTag divContainer = (Ranorex.DivTag) repo.container;
then there is a whole bunch of fieldset elements/ withing the fieldsets are the elements I need to find by attribute "field"
I get fieldsets like this:
IList<FieldSetTag> MyFields = divContainer.Find<FieldSetTag>(".//fieldset[@class='fld']");
How can I then search for all elements in the fieldset by attribute "field". I want to get the element type and all it's other attributes