|
If not( Browser("Login").Page("Main").Link("申请单派发").Exist(1)) then
result=false
end if
msgbox cstr(result)
If not(Browser("Login").Page("Main").Link("申请单查询").Exist(1)) then
result=false
end if
msgbox cstr(result)
If not(Browser("Login").Page("Main").Link("申请单跟踪").Exist(1))then
result=false
end if
msgbox cstr(result)
If not(Browser("Login").Page("Main").Link("无线工单派发").Exist(1)) Then
result=false
End If
msgbox cstr(result)
If not(Browser("Login").Page("Main").Link("废弃工单列表").Exist(1))then
result=false
End If
msgbox cstr(result)
wait(4)
If not(Browser("Login").Page("Main").Link("常规资产列表").Exist(2)) Then
result=false
End If
If not(Browser("Login").Page("Main").Link("工单占用资产列表").Exist(2)) Then
result=false
End If
wait(4)
If not(Browser("Login").Page("Main").Link("待定资产列表").Exist(2)) Then
result=false
End If
If not(Browser("Login").Page("Main").Link("已删除资产列表").Exist(2)) Then
result=false
End If
wait(4)
msgbox cstr(result)
If not(Browser("Login").Page("Main").Link("报废资产列表").Exist(2)) Then
result=false
End If
msgbox cstr(result)
If not(Browser("Login").Page("Main").Link("调出本公司资产列表").Exist(1)) Then
result=false
End If
有时候前面4-5个存在,有时就只有前3个存在,为什么会出现这种情况啊?
下面的是HTML
<td class="MainTitle" nowrap="true" style="height:20px;">工单管理</td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>调整工单派发</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>调度工单派发</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>调拨工单派发</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>报废工单派发</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><a href='WorkBill/History/WorkBillList.aspx' target='mainFrame'>工单查询</a></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><a href='WorkBill/History/DeletedWorkBillList.aspx' target='mainFrame'>废弃工单列表</a></td>
</tr><tr>
<td nowrap="true" style="height:20px;"><hr size=1 class="MainPanelSplit"></td>
</tr><tr>
<td class="MainTitle" nowrap="true" style="height:20px;">机房资源管理</td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><a href='HouseResources/Send/SendHouseResource.aspx' target='mainFrame'>申请单派发</a></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><a href='HouseResources/Browse/BrowseHouseResource.aspx' target='mainFrame'>申请单查询</a></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><a href='HouseResources/Follow/FollowHouseResource.aspx' target='mainFrame'>申请单跟踪</a></td>
</tr><tr>
<td nowrap="true" style="height:20px;"><hr size=1 class="MainPanelSplit"></td>
</tr><tr>
<td class="MainTitle" nowrap="true" style="height:20px;">资产管理</td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>机房管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>网元管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>小区管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>基站管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>仓库管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>资产管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" style="height:20px;"><hr size=1 class="MainPanelSplit"></td>
</tr><tr>
<td class="MainTitle" nowrap="true" style="height:20px;">数据导入</td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><a href='DataImport/DataImport.aspx' target='mainFrame'>数据导入</a></td>
</tr><tr>
<td nowrap="true" style="height:20px;"><hr size=1 class="MainPanelSplit"></td>
</tr><tr>
<td class="MainTitle" nowrap="true" style="height:20px;">基础数据管理</td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>网元类型管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr>
<td nowrap="true" Id="TitleTextStyle" style="height:20px;border:1px solid #F7F3F7;"><table border=0 cellpadding="0" cellspacing="0" width=100%><tr><td><a href='#'>室内站类型管理</a></td><td align="right"><img src="http://192.168.1.251/Images/arrow.gif" border="0" height="7" /><td></tr></table></td>
</tr><tr> |
|