51Testing软件测试论坛
标题:
TD不能通过IP地址访问,但是可以通过localhost来访问,在线求高手解决
[打印本页]
作者:
lliang918
时间:
2011-12-13 11:20
标题:
TD不能通过IP地址访问,但是可以通过localhost来访问,在线求高手解决
TD不能通过IP地址访问,但是可以通过localhost来访问,在线求高手解决
客户端通过Ip地址访问,直接打不开页面
服务器通过Ip地址访问,页面出现以下代码
<HTML>
<HEAD>
<script language=javascript>
function geturl()
{
mm = location.href;
nn = mm.lastIndexOf("/");
bb = mm.substring(0,nn+1);
return(bb);
}
document.writeln('<HEAD>');
document.writeln('<TITLE>Mercury TestDirector 8.0 SP2</TITLE>');
document.writeln('</HEAD>');
<!--------------------------------------------->
<!-- *** Declare here you download files *** -->
<!--------------------------------------------->
function write_ie_object()
{
// write MS XML Object
document.writeln(' <object id="MSXML3" ');
document.writeln(' CLASSID="clsid:f5078f32-c551-11d3-89b9-0000f81fe221" ');
document.writeln(' CODEBASE="msxml3.cab#version=8.20.8730.1" ');
document.writeln(' type="application/x-oleobject" ');
document.writeln(' STYLE="display: none"> ');
document.writeln(' </object> ');
// write TestDirector Object
document.writeln(' <OBJECT ID="TestDirector" ');
document.writeln(' CLASSID="CLSID:205e7068-6d03-4566-ad06-a146b592fba5" ');
document.writeln(' CODEBASE="Spider80.ocx#Version=8,0,12,2931"');
document.writeln(' WIDTH=100% ');
document.writeln(' HEIGHT=100%> ');
document.writeln(' <PARAM NAME="SetupFile" value="' + geturl() +'setup_a.ini"> ');
document.writeln(' <PARAM NAME="BrowserUI" value="0"> ');
document.writeln(' <PARAM NAME="ProgColor" value="#0080FF"> ');
document.writeln(' <PARAM NAME="ProgBkColor" value="#FFFFFF"> ');
document.writeln(' <PARAM NAME="DomainName" value="Default"> ');
document.writeln(' <PARAM NAME="DomainPassword" value=""> ');
document.writeln(' </OBJECT>');
}
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2