Hi,
I'm struggling to find the correct xpath for a tag in my html file:
<table cellspacing="0" cellpadding="5" border="0" width="100%">
<tr>
<td colspan="1" rowspan="1" valign="top">
<ul class="tabs">
<li class="on"><a onClick="cursorWait();"
href="screen/view.do?screenId=8812§ionId=21389&wizardExecuted=null">Filter</a></li>
</ul>
<div class="tabArea"
style="width: auto; padding: 6px;">
<div class="row">
I have tried several xpaths, and none of them come back with the correct result:
xpath="normalize-space(table[1]/tr[1]/td[1]/u...@class='tabs']/l...@class='on']/a)"
text="Filter"/>
xpath="normalize-space(table[1]/tr[1]/td[1]/u...@class='tabs']/l...@class='on']/a='Filter')"
text="Filter"/>
xpath="normalize-space(/body/table[1]/tr[1]/td[1]/u...@class='tabs']/l...@class='on']/a)"
text="Filter"/>
The webtest always fails...
Gert
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969