|
我已经安装了JAVA插件。但是QTP还是不能识别该网站的任何一个东西。整个网站页面别识别成一个对象。这是这个网站首页代码:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>中国</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<!-- Dojo Css-->
<link rel="stylesheet" href="resources/css/dojo_loadall.css">
<!--
<link rel="stylesheet" href="resources/css/dojo_loadall.css">
<link rel="stylesheet" href="resources/css/dojo_extend_loadall.css">
-->
<!-- App Css-->
<link id="bocmain" rel="stylesheet" href="resources/css/bocmain.css">
<!-- module Css -->
<!--
<link rel="stylesheet" href="resources/css/bocmain_loadall_popular.css">
<link rel="stylesheet" href="resources/css/bocmain_loadall.css">
-->
<!-- themes main-->
<link id="thememain" rel="stylesheet" href="resources/css/themes/thememain.css">
<!-- themes-->
<!-- switch_theme_1
<link id="themeStyles" title="normal" rel="stylesheet" href="resources/css/themes/normal/normal.css">
<link id="themeStyles" title="fancy" rel="alternate stylesheet" href="resources/css/themes/fancy/fancy.css">
-->
<!-- required: dojo.js -->
<script type="text/javascript" src="../dojo/dojo/dojo.js"
djConfig="isDebug:false, parseOnLoad: true, popup:true">
</script>
<script type="text/javascript">
dojo.locale = 'zh';
if(window.location.href.indexOf("?") > -1){
var str = decodeURIComponent(window.location.href).substr(window.location.href.indexOf("?")+1);
var ary = str.split(/&/);
for(var i=0; i<ary.length; i++){
var split = ary[i].split(/=/),
key = split[0],
value = split[1];
switch(key){
case "locale":
dojo.locale = value;
break;
case "dir":
document.getElementsByTagName("html")[0].dir = value;
break;
}
}
}
</script>
<script type="text/javascript" src="../js/com/ibm/boc/register.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/i18npre.js"></script>
<!-- app related js -->
<script type="text/javascript" src="views/investment/invesmentindex.js"></script>
<script type="text/javascript" src="disabled.js"></script>
<!-- for debug in IE
<script type="text/javascript" src="../js/com/ibm/boc/util.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/servicehistory/business.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/main.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/loadlayout.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/fundation.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/fundationquick/fundationquick.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/myfundation/myfundation.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/myfundation/fundationholding/business.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/myfundation/myfundationaction/buy.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/security/MobileCheckNum.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/epaymentsetting/openepayment/eprotocolpaybusiness.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/autopayment/hurrypayview/business.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/security/SecurityFactorAssemble.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/fundationcombination/customize/customizebusiness.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/fundationcombination/recommend/recommendbusiness.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/fundation/fundationcombination/fundationcombination.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/epaymentsetting/epaymentsettingquery/business.js"></script>
<script type="text/javascript" src="../js/com/ibm/boc/views/epaymentsetting/openepayment/epaybankbusiness.js"></script>
-->
</head>
<body class="claro bocmain thememain">
<noscript>
<style>
.maincontainer{
display: none!important;
}
.noscriptcontainer{
width: 100%;
height: 100%;
padding-left: 100px;
padding-top: 50px;
font-size: 15px;
font-weight: bold;
}
.noscriptimg{
height:715px;
width: 700px;
background-image: url(resources/css/images/noscript.png);
background-repeat: no-repeat;
}
</style>
<div class="noscriptcontainer">
<div class="noscriptimg"></div>
</div>
</noscript>
<div class="maincontainer">
<div class="globalaction">
<button class="bocbutton menubtn" onmouseover="main.showNavigation();" onmouseout="main.hideNavigation();">
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"navigation", "replaceNode":true'></div>
</button>
</div>
<iframe class="iframeglobalactioncontent globalactioncontentinvisible" scrolling: "no" frameBorder: "0" src: "javascript:false;" contentDocument:"no">
</iframe>
<div class="globalactioncontent globalactioncontentinvisible" onmouseover="main.showNavigation();" onmouseout="main.hideNavigation();">
<div class="logocontainer" dojoType="dijit.layout.BorderContainer">
<!--top-->
<div id="header" dojoType="dijit.layout.ContentPane" region="top" splitter="false">
<div class="headerTop">
<div id="logo"></div>
<div class="headerinfo">
<div class="hellouser">
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"welcomeInfo", "replaceNode":true'></div>
</div>
<div class="headerinfobtns">
<button data-dojo-type="dijit.form.Button" data-dojo-props='"class":"bocbutton setlanguagebtn", iconClass:"languagebtnicon", onClick:main.callSetLanguage, label:main.nls.language'>
</button>
<button data-dojo-type="dijit.form.Button" data-dojo-props='"class":"bocbutton quickhelpbtn", iconClass:"quickhelpbtnicon", onClick:main.callHelp, label:main.nls.help'>
</button>
<button data-dojo-type="dijit.form.Button" data-dojo-props='"class":"bocbutton exitbtn", iconClass:"exitbtnicon", onClick:main.showLogoutDialog, label:main.nls.logout'>
</button>
</div>
</div>
</div>
</div>
<!--center-->
<div id="centerTab" dojoType="dijit.layout.TabContainer" region="center" tabStrip="true" useSlider="false" splitter="false">
</div>
<div id="bottomPanel" dojoType="dijit.layout.ContentPane" region="bottom" splitter="false">
<div class="bottomBar">
<table align="center">
<tr>
<td>
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"BOCLTD", "replaceNode":true'></div>
</td>
<td>
<a class="hotline_link" href="" target="_blank">
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"serviceHotline", "replaceNode":true'></div>
</a>
</td>
<td>
<a href="http://www.boc.cn/ebanking/security/bocnet/200810/t20081022_990714.html" target="_blank">
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"securityNotice", "replaceNode":true'></div>
</a>
</td>
<td>
<a href="javascript:void(0);" onclick="main.loader.loadModuleDefaultByString('functionnavigator')">
<!--功能导航--><span data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"functionnavigator", "replaceNode":true'></span>
</a>
</td>
</tr>
</table>
</div>
</div>
</div>
<div align="center" class="quickhelpbtn">
</div>
<div class="cloneNode">Loading <img style="width:17px; height:17px" src="../dojo/dojox/image/resources/images/loading.gif" alt="progress" /></div>
<img style="display:none" src="resources/css/images/icon10.png" class="animationSlideBox"/>
<div id="logoutDialog" data-dojo-type="dijit.Dialog" data-dojo-props='title:main.nls.logoutTitle, execute:main.logout'>
<div class="dialogContentContainer">
<!-- TODO add content -->
<div class="loginoutinfo">
<div class="promptInfo">
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"logoutContent", "replaceNode":true'></div>
</div>
<div class="checkBoxContent hide">
<input type="checkbox" class="checkBoxCss"/>
<div data-dojo-type="com.ibm.boc.widget.I18nOutput" data-dojo-props='"i18nkey":"exitPromptInfo", "replaceNode":true'></div>
</div>
</div>
<div class="dialogBtnContainer">
<button data-dojo-type="dijit.form.Button" data-dojo-props='type:"submit", label:main.nls.ok'>
</button>
<button data-dojo-type="dijit.form.Button" data-dojo-props='type:"button", "class":"bocNormalBtn", onClick:function(){ dojo.query(".checkBoxCss",main.logoutDialog.domNode)[0].checked=false;dijit.byId("logoutDialog").onCancel(); }, label:main.nls.cancel '>
</button>
</div>
</div>
<span class="security_ca_detachsigner"></span>
</div>
</div>
</body>
</html> |
|