attached is the source of the webpage I want to test. I need to check a certain text in this area. in this example... particularly the "1-1/1" string. and that's dynamic depending on the number of reports returned. It could be 1-3/3, etc... What's the best way in doing this? Thanks.
<<SearchResult[1].txt>> -Jan

<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF8">
<title>Research Bank Japan</title></HEAD>
<LINK rel="stylesheet" type="text/css" href="../../stylesheets/RBJ.css"/>
<script type="text/javascript" src="script/searchresult.js"></script>
<body class="LinkColor" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0" >
<form id="Form1" name="Form1" method="post" target="_self">
<TABLE WIDTH="100%" HEIGHT="111" BORDER="0" CELLPADDING="0"
CELLSPACING="0" ID="Table1">
<TR>
<TD COLSPAN="1" WIDTH="629" HEIGHT="17"
background="../../images/RBJ_Spacer1.gif"><img height="1"
src="../../images/spacer.gif" width="1"/></TD>
<TD COLSPAN="1" WIDTH="100%" HEIGHT="17"
background="../../images/RBJ_Spacer1.gif"><img height="1"
src="../../images/spacer.gif" width="1"/></TD>
<TD valign="top" HEIGHT="17" colspan ="4"
bgcolor="black" background="../../images/RBJ_Spacer1.gif" align="right"><a
href="javascript:openPDF('../../documents/RBJ_Pricelist.pdf')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('BotBut1','','../../images/RBJ_PriceGuide2.gif',1)"><img
name="BotBut1" border="0" src="../../images/RBJ_PriceGuide1.gif" ></a><a
href="javascript:openPDF('../../documents/RBJ_Contributors_list.pdf')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('BotBut2','','../../images/RBJ_Contributor2.gif',1)"><img
name="BotBut2" border="0" src="../../images/RBJ_Contributor1.gif"></a><a
href="javascript:openPDF('../../documents/ClientManual.pdf')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('BotBut3','','../../images/RBJ_Help2.gif',1)"><img
name="BotBut3" border="0" src="../../images/RBJ_Help1.gif" ></a><a
href="javascript:openPDF('../../documents/Notice.pdf')"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('BotBut4','','../../images/RBJ_Notice2.gif',1)"><img
name="BotBut4" border="0" src="../../images/RBJ_Notice1.gif"></a></TD>
</TR>
<TR>
<TD WIDTH="429" colspan="2" HEIGHT="48"
bgcolor="#003061" nowrap><IMG SRC="../../images/RBJ_Logo.gif" WIDTH="429"
HEIGHT="48"></TD>
<TD WIDTH="68" HEIGHT="48" bgcolor="#003061"
nowrap><img height="1" src="../../images/spacer.gif" width="1"/></TD>
<TD WIDTH="8" ALIGN="right" HEIGHT="48"
bgcolor="#003061"><img height="1" src="../../images/spacer.gif" width="1"/></TD>
<TD width="100" ALIGN="right" HEIGHT="48"
nowrap bgcolor="#003061"><img height="1" src="../../images/spacer.gif"
width="1"/></TD>
<TD HEIGHT="18" ALIGN="right"
bgcolor="#003061"><img src="../../images/RBJ_ThomsonLogo.gif" width="115"
height="48"></TD>
</TR>
<TR>
<TD ALIGN="left" HEIGHT="18" WIDTH="98"
bgcolor="#003061" nowrap><a href="javascript:LogOut()"><IMG
SRC="../../images/RBJ_LogoutSpace.gif" WIDTH="98" HEIGHT="18"
border="0"></a></TD>
<TD ALIGN="left" valign="bottom" HEIGHT="18"
bgcolor="#003061" nowrap><a
href="javascript:NavigateTo('../SearchPage/QuickSearch.aspx?loadoldcriteria=true'
+ document.frmSearch.hdOldCriteria.value)"><img border="0"
src="../../images/RBJ_QuickTab_On.gif" width="110" height="18"></a><a
href="javascript:NavigateTo('../SearchPage/DetailedSearch.aspx?loadoldcriteria=preference'
+ document.frmSearch.hdOldCriteria.value)"><img border="0"
src="../../images/RBJ_DetailTab_Off.gif" width="110" height="18"></a><a
href="javascript:NavigateTo('../UserPref/UserPreference.aspx?')"><img
border="0" src="../../images/RBJ_UserTab_Off.gif" width="111"
height="18"></a></TD>
<TD HEIGHT="18" bgcolor="#003061" nowrap><img
height="1" src="../../images/spacer.gif" width="1"/></TD>
<TD ALIGN="right" bgcolor="#003061"><img
height="1" src="../../images/spacer.gif" width="1"/></TD>
<TD HEIGHT="18" ALIGN="right" bgcolor="#003061"
colspan="2"><img height="1" src="../../images/spacer.gif" width="1"/></TD>
</TR>
<TR>
<TD colspan="2"
background="../../images/RBJ_Spacer2.gif" nowrap><img height="1"
src="../../images/spacer.gif" width="1"/></TD>
<TD background="../../images/RBJ_Spacer2.gif"
nowrap><img height="1" src="../../images/spacer.gif" width="1"/></TD>
<TD ALIGN="right"
background="../../images/RBJ_Spacer2.gif" nowrap><IMG
SRC="../../images/RBJ_SlantBarCap.gif" WIDTH="8" HEIGHT="28"></TD>
<TD HEIGHT="28" bgcolor="#6699cc"
valign="center" colspan="1"><img height="1" src="../../images/spacer.gif"
width="1"/></TD>
<TD bgcolor="6699cc" align ="right" nowrap
valign="middle" class="HeaderDropDownBox">
<select id='SelectProduct'
name='SelectProduct' onchange
="javascript:openProduct(document.Form1.SelectProduct.options[document.Form1.SelectProduct.selectedIndex].value)"
class="HeaderDropDownBox">
<option value
="">ãã®ä»ååã</option>
<option
value="http://research.thomsonib.com">Thomson Researchã¸</option>
<option
value="http://banker.thomsonib.com">Thomson ONE Bankerã¸</option>
<option
value="http://www.tcmj.jp">TCMJã¸</option>
</select>
</TD>
</TR>
</TABLE>
</form>
<form name="frmSearch" method="post"
action="SearchResult.aspx?previouspage=quicksearch.aspx&PAGE=1"
id="frmSearch">
<input type="hidden" name="__VIEWSTATE"
value="dDwtNTc3MjAyNDk7dDw7bDxpPDA+Oz47bDx0PDtsPGk8MD47PjtsPHQ8cDxwPGw8VGV4dDs+O2w8YTs+Pjs+Ozs+Oz4+Oz4+Oz7e6FE9G9v5DeaY45oDi5oyg2Dxvg=="
/>
<table WIDTH="98%" border="0" cellpadding="0" cellspacing="0"
border ="0">
<tr>
<td colspan="3" align="left" >
<table width="50%" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td width="135" nowrap
align="right" height ="25" valign ="bottom" class="Label">
ããã¸ã§ã¯ãã»ã³ã¼ã: </td>
<td align="left" height="25" width="75" valign ="bottom"
class="LabelValue"> <span id="projectCode"
class="LabelValue">a</span> </td>
<td align="left" height="25" valign="bottom" class="LabelValue"><a
href="javascript:ReturnToProjectCode('searchresult')"><img
src="../../images/RBJ_SrchResBut.gif" width="68" height="18"
border="0"/></a></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" border="0" width="100%"
bgcolor="white" >
<tr><!-- START 3 Button -->
<td align="center" nowrap >
<table WIDTH="98%" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<table
width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap width="125" align="right" valign="middle" height="30"
class="Label">ã¬ãã¼ãã® </td>
<td nowrap align="left" valign="middle" height="30" colspan="2"
class="Label"><img src="../../images/spacer.gif" width ="4"><a
href="javascript:ShowTOC()"><img src="../../images/RBJ_SrchResButPreview.gif"
width="68" height="18" border="0"></a></td>
<td nowrap align="right" valign="middle" height="30"
class="Label"> <a
href="javascript:ReturnToPreviousSearchPage()"><img
src="../../images/RBJ_SrchResButNewSrch.gif" width="76" height="18"
border="0"></a><img src="../../images/spacer.gif" width ="3"><a
href="javascript:ModifyPreviousSearchCriteria()"><img
src="../../images/RBJ_SrchResButModSrch.gif" width="76" height="18"
border="0"></a><img src="../../images/spacer.gif" width ="3"><a
href="javascript:Savesession()"><img
src="../../images/RBJ_SrchResButSavSrch.gif" width="76" height="18"
border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr><!-- END 3 Button -->
<tr><!-- START Button Save Search Result -->
<td align="center" nowrap >
<table WIDTH="98%" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<table
width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap width="125" align="right" valign="middle"
class="Label">æ¤ç´¢çµæãªã¹ãã® </td>
<td nowrap valign="bottom" height="22" colspan="2" class="Label"> <a
href="javascript:SaveSearchResult()"><img
src="../../images/RBJ_SrchResButSave.gif" width="68" height="18"
border="0"></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr><!-- END Button Save Search Result -->
<tr><!-- START Page HyperLink-->
<td align="center">
<table WIDTH="98%" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td align="left" nowrap>
<table
width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap colspan="4" align="right" class="PageLink">
<b>1</b>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr><!--END Page HyperLink-->
<tr valign="top">
<td nowrap>
<table cellSpacing="0" cellPadding="0"
border="0" width ="100%">
<!--tr vAlign="top">
<td></td>
<td></td>
</tr sapce between paging and
title-->
<tr vAlign="top">
<td nowrap
height="110"></td>
<td nowrap >
<table
id="Table3" cellSpacing="0" cellPadding="0" border="0" bgcolor="white"
height="109" width="100%">
<tr>
<td nowrap align="center" colspan="3">
<table id="Table6" cellSpacing="0" cellPadding="0" width="95%"
border="0">
<tr bgcolor="6699CC">
<td nowrap class="TitleWhite" height="25"
valign="middle"> <B> æ¤ç´¢çµæ</B>
<b>1-1/1</b>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td nowrap align="center" colspan="3" valign="top" >
<table border="0" cellpadding="0" cellspacing="0" width="95%"
bgcolor="#7599d7">
<tr>
<td nowrap>
<table border="0" cellpadding="0"
cellspacing="1" width="100%">
<tr>
<td nowrap align="center"
colspan="3">
<table id="Table11"
cellSpacing="0" cellPadding="3" width="100%" border="0" height="0">
<tr
bgColor="DBECF6">
<td
noWrap align="right" width="50">
<input id="chkAll" name="chkAll" onclick="javascript:CheckAll(this.form,0)"
type="checkbox" value="chkAll" />
</td>
<td
noWrap align="right"
width="50"> </td>
<td
align="left" width="50%" class
="SubTitle6699CC">ã¿ã¤ãã«/ã¢ããªã¹ãå-証å¸ä¼ç¤¾/調æ»ä¼ç¤¾</td>
<td
nowrap align="center" width="10%"
class="SubTitle6699CC">ã¬ãã¼ãã¿ã¤ã</td>
<td
nowrap align="center" width="10%" class="SubTitle6699CC">æ¥ä»</td>
<td
nowrap align="center" width="7%" class="SubTitle6699CC">ãã¼ã¸</td>
<td
nowrap align="center" width="11%" class="SubTitle6699CC">ã¬ãã¼ãçªå·</td>
</tr>
</table>
</td>
</tr>
<!--loop-->
<tr>
<td nowrap align="center"
colspan="3" >
<table id="Table12"
cellSpacing="0" cellPadding="4" width="100%" border="0" bgcolor="white">
<tr bgcolor
="FEFCEC" class="SearchResultValue">
<td
noWrap align="right" width="50" class="Ranking">
<input type="checkbox" name="chkBOX" name="chkBOX"
value="lta07933~INR~2000~æµæ¾ãããã¯ã¹/ãµããªã¼~0~Roberts,Richard~ã¯ã¬ãã£
ã¹ã¤ã¹ ãã¡ã¼ã¹ã ãã¹ãã³è¨¼å¸ï¼æ ªå¼ï¼~2~2005/5/24">
</td>
<td
noWrap align="right" width="50" >
<br>
</td>
<td
align="left" width="50%" class="HeadLineResult">
<P> <A
href='javascript:PurchaseSingleReport("lta07933~INR~2000~æµæ¾ãããã¯ã¹/ãµããªã¼~0~Roberts,Richard~ã¯ã¬ãã£
ã¹ã¤ã¹ ãã¡ã¼ã¹ã
ãã¹ãã³è¨¼å¸ï¼æ ªå¼ï¼~2~2005/5/24")'>æµæ¾ãããã¯ã¹/ãµããªã¼</A>
<br>Roberts,Richard - ã¯ã¬ã㣠ã¹ã¤ã¹ ãã¡ã¼ã¹ã
ãã¹ãã³è¨¼å¸ï¼æ ªå¼ï¼
</P>
</td>
<td
nowrap align="center" width="10%">INR </td>
<td
nowrap align="center" width="10%">2005/5/24</td>
<td
nowrap align="center" width="7%">2</td>
<td
nowrap align="center" width="11%">lta07933</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" cellpadding="1" cellspacing="0" bgcolor="white"
width="100%">
<tr>
<td colspan="3" align="left"
class="PageLink">
<b>1</b>
</td>
</td>
</tr>
</table>
<input type="hidden" name="hdOldCriteria" id="hdOldCriteria"
value="&previouspage=quicksearch.aspx&PAGE=1"/>
<input type="hidden" name="hdPageCount" id="hdPageCount"
value="1"/>
<input type="hidden" name="hdCurrentPage" id="hdCurrentPage"
value="1"/>
<input type="hidden" name="modifyProjectCode"
id="modifyProjectCode" value="1"/>
<input type="hidden" name="ViewOnlyUser" id="ViewOnlyUser"
value="0"/>
<input type="hidden" name="hdPreviousPage" id="hdPreviousPage"
value="quicksearch.aspx"/>
<input type="hidden" name="pCodeName" id="pCodeName" value="a"/>
<input type="hidden" name="hdShowConfirmation"
id="hdShowConfirmation" value="0"/>
</form>
<form name="frmHidden"></form>
<form name="frmPurchase">
<input type="hidden" name="hdHTML" id="hdHTML"/>
<input type="hidden" name="hdDoc_list" id="hdDoc_list"/>
<input type="hidden" name="hdDoc_Price" id="hdDoc_Price"/>
<input type="hidden" name="hdDoc_Title" id="hdDoc_Title"/>
<input type="hidden" name="hdDoc_Type" id="hdDoc_Type"/>
<input type="hidden" name="hdReportType" id="hdReportType"/>
<input type="hidden" name="hdEmailDetails" id="hdEmailDetails"/>
<input type="hidden" name="projectcodename"
id="projectcodename" value="a"/>
<input type="hidden" name="previous" id="previous"/>
<input type="hidden" name="previousCriteria"
id="previousCriteria"/>
<input type="hidden" name="reportname" id="reportname" />
<input type="hidden" name="projectname" id="projectname"
value="a"/>
<input type="hidden" name="EmailDetails" id="EmailDetails" />
<input type="hidden" name="reporttype" id="reporttype" />
<input type="hidden" name="winHeight" id="winHeight"/>
<input type="hidden" name="winWidth" id="winWidth"/>
<input type="hidden" name="oldCriteria" id="oldCriteria" />
</form>
</body>
</HTML>
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
