WebTest unable to select Radio Button using xPath
-------------------------------------------------
Key: WT-439
URL: http://webtest-community.canoo.com/jira/browse/WT-439
Project: WebTest
Type: Bug
Versions: 2.6
Environment: Windows XP Pro
Reporter: Joseph Goolsby
I'm currently trying to get WebTest to select a Radio button, however it can't
find it when I use the name attribute in the <selectRadioButton> call. I have
therefore moved to trying to get it to use the xPath of the radio button,
however that's also failing. The source code for where the Radio button is
located is:
<table class="copyTable">
<tbody id="root:_idJsp1:tbody_element">
<tr>
<td><label><input name="payOrder" value="0" type=
"radio" /></label></td>
<td>
<table class="copyTableView">
<tbody>
<tr>
<td class="td30"><strong>Date:</strong></td>
<td>06/13/08</td>
</tr>
<tr>
The Radio button's name is payOrder. The xPath I'm attempting to use is:
xpath="//[EMAIL PROTECTED]'copyTable']/tbody/tr[1]/td[1]/label"
The problem being that WebTest recognizes the xPath all the way up to here:
xpath="//[EMAIL PROTECTED]'copyTable']/tbody/tr[1]/td[1]/"
But once the /label is added WebTest returns a "No Node found" error, without
the /label WebTest can verify the xPath with no error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest