Having trouble working this one out, below is the DOM view of my Tree view.
need to search all 'li' elements within the whole tree for some text,
then I need to click the "rtPlus" (+)
element inside the the li element that contains the matched text.
div id="TreeView1" class="RadTreeView RadTreeView_Default explorertree>
<ul class="rtUL rtLines">
<li class="rtLI rtFirst">
<span class="rtPlus"/> **click this when test matched **
#text **This is the matching text**
<li class="rtLI rtLast">
I'm sure that this can be done with a single XPath query to locate the correct "rtPlus" button and would really appreciate someone suggesting the right approach to this or some sample selenium tests for this component would be good.