I'm trying to figure out how to extract the value from a drop down list.
The select list is organized:
How can I choose the item from the list by name, and then extract the value (1234)?<option value="1234">Item Name</option.
Thanks!
How can I choose the item from the list by name, and then extract the value (1234)?<option value="1234">Item Name</option.
Code: Select all
VERSION BUILD=5010115
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.iopus.com/iim/demo/v4/f2/automatic-data-entry.asp
TAG POS=1 TYPE=SELECT FORM=NAME:WebDataEntry ATTR=NAME:COUNTRYID CONTENT=119
EXTRACT POS=1 TYPE=TXT ATTR=<SELECT<SP>size=1<SP>name=COUNTRYID>*
Code: Select all
VERSION BUILD=5010115
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://www.iopus.com/iim/demo/v4/f2/automatic-data-entry.asp
EXTRACT POS=1 TYPE=HTM ATTR=<TD<SP>vAlign=top<SP>align=left<SP>bgColor=#ffffff>*
But right now it is not possible to extract the value="119" (or the "CONTENT")?Tech Support wrote:The feature to extract the value is high on our "to do" list. It will be available soon.
What you can already do with the current version is to select by index and then extract the text:
If you are already on our iOpus mailing list, you will be notified when the next release is available. If you are not on our mailing list, you can sign up so that you receive the notification. The sign-up form is available atCode: Select all
VERSION BUILD=5010115 TAB T=1 TAB CLOSEALLOTHERS URL GOTO=http://www.iopus.com/iim/demo/v4/f2/automatic-data-entry.asp TAG POS=1 TYPE=SELECT FORM=NAME:WebDataEntry ATTR=NAME:COUNTRYID CONTENT=119 EXTRACT POS=1 TYPE=TXT ATTR=<SELECT<SP>size=1<SP>name=COUNTRYID>*
http://www.iOpus.com/newsletter
<tr>
<td align="left" valign="middle" height="18" bgcolor="#ffffff"> <b>ITEM A</b></td>
<td align="center" valign="middle" bgcolor="#ffffff"> 1</td>
<td align="center" valign="middle" bgcolor="#ffffff"> 25</td>
<td valign="middle" bgcolor="#ffffff" align="center"> <a href="a.php?t=1242"><b>10</b></a></td>
<td align="center" valign="middle" bgcolor="#ffffff"> <a href="m.php?n=targets&t=1242"><b>10</b></a></td>
<td align="center" valign="middle" bgcolor="#ffffff"><a href="edit.php?n=edit&t=1242">Edit</a> - <a href="ms.php?n=ms&t=1242">Del</a> - <a href="#" onClick="if(confirm('Are you sure you want to delete?')) document.location='ms.php?haction=del&t=1242'; return false;">Delete</a></td>
</tr>
Code: Select all
URL GOTO=http://www.iopus.com/download/
TAG POS=1 TYPE=B ATTR=TXT:<SP>IIM<SP>Image<SP>Recognition<SP>Plugin<SP>(0.4<SP>MB)
EXTRACT POS=R1 TYPE=HREF ATTR=<B>*
Code: Select all
URL GOTO=http://www.iopus.com/download/
TAG POS=1 TYPE=B ATTR=TXT:<SP>IIM<SP>Image<SP>Recognition*
EXTRACT POS=R1 TYPE=HREF ATTR=<B>*
TAG POS=1 TYPE=B ATTR=HREF:*{{!EXTRACT}}*