Impossible to retrieve textblocks not directly under <body>
Brought to you by:
russgold
Currently, it is not possible to retrieve TextBlocks from a
WebResponse object when they are no direct child of
the <body> tag of the html page. E.g. we have an html
page:
<html>
<head><title>carts</title></head>
<body bgcolor="white">
<form type=POST action=carts.jsp>
<BR>
Please enter item to add or remove:
<br>
Add Item:
<SELECT NAME="item">
<OPTION>Beavis & Butt-head Video collection
<OPTION>X-files movie
</SELECT>
<br>
<INPUT TYPE=submit name="submit" value="add">
<INPUT TYPE=submit name="submit" value="remove">
</form>
</body>
</html>
The TextBlocks with texts 'Please enter item to add or
remove:' and 'Add Item:' are not in the list returned by:
webResponse.getTextBlocks();
Logged In: YES
user_id=37920
As noted in the release notes, text blocks are an
experimental feature. I hope to have them working more fully
by 1.7. I will keep this one of the cases to verify. Thanks.