51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

12
返回列表 发新帖
楼主: zing0718
打印 上一主题 下一主题

[原创] 帮帮我吧,我快被TD8.0折磨死了

[复制链接]

该用户从未签到

21#
发表于 2009-3-23 11:41:56 | 只看该作者
QC?公司舍不得出那个钱的。破解的限制又多。
还是TD吧,当BUG管理工具用。
回复 支持 反对

使用道具 举报

该用户从未签到

22#
发表于 2009-3-23 17:26:34 | 只看该作者

善哉 !拿去吧这样该可以了 :tdbin 下 setadmin.html文件

<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 Site Administrator</TITLE>');
        document.writeln('</HEAD>');

<!--------------------------------------------->
<!-- *** Declare here you download files *** -->
<!--------------------------------------------->

        function write_ie_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() +'SiteAdmin_setup.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>');
        }

        function write_ns_object()
        {
                document.writeln(' <EMBED  type="application/x-npwrap" ');
                document.writeln(' ID="TestDirector" ');
                document.writeln(' CLASSID="205e7068-6d03-4566-ad06-a146b592fba5" ');
                document.writeln(' NPCODEBASE="http://updates.merc-int.com/testdirector/td75/others/netscape/npwrap.cab#Version=" ');
                document.writeln(' CODEBASE="' + geturl() + 'Spider80.ocx#Version=8,0,12,2931" ');
                document.writeln(' CONTROLNAME="Mercury TestDirector" ');
                document.writeln(' WIDTH=100% ');
                document.writeln(' HEIGHT=100% ');
                document.writeln(' SetupFile="' + geturl() + 'SiteAdmin_setup.ini" ');
                document.writeln(' BrowserUI=0' );
                document.writeln(' ProgColor="#0080FF" ');
                document.writeln(' ProgBkColor="#FFFFFF" ');
                document.writeln(' DomainName="Default" ');
                document.writeln(' DomainPassword="" ');
                document.writeln(' </EMBED>');
        }

        function write_ns_6_object()
        {
                document.writeln(' <embed type="application/x-oleobject" ');
                document.writeln(' ID="TestDirector" ');
                document.writeln(' clsid="205e7068-6d03-4566-ad06-a146b592fba5" ');
                document.writeln(' CODEBASE="' + geturl() + 'Spider80.ocx#Version=8,0,12,2931" ');
                document.writeln(' CONTROLNAME="Mercury TestDirector" ');
                document.writeln(' WIDTH=100% ');
                document.writeln(' HEIGHT=100% ');
                document.writeln(' param_SetupFile="' + geturl() + 'SiteAdmin_setup.ini" ');
                document.writeln(' param_BrowserUI=0' );
                document.writeln(' param_ProgColor="#0080FF" ');
                document.writeln(' param_ProgBkColor="#FFFFFF" ');
                document.writeln(' param_DomainName="Default" ');
                document.writeln(' param_DomainPassword="" ');
                document.writeln(' </EMBED>');
        }


        function download_ns_plugin()
        {
                document.write('<A HREF="http://updates.merc-int.com/testdirector/td75/others/netscape/download.htm">');
                       document.write('Click Here to download and install Netscape ActiveX Plug-In </A><BR>');
        }


        // Sniff Browser
        var ua = navigator.userAgent;
        var fWin32  = (ua.lastIndexOf('Win') != -1) &&  (ua.lastIndexOf('Windows 3.1') == -1) && (ua.lastIndexOf('Win16') == -1);
        var fMSIE3456 = (ua.lastIndexOf('MSIE 3.0') != -1) || (ua.lastIndexOf('MSIE 4.0') != -1) || (ua.lastIndexOf('MSIE 5.0') != -1) || (ua.lastIndexOf('MSIE 5.5') != -1) || (ua.lastIndexOf('MSIE 6.0') != -1);
        var fNS3456   = ((ua.lastIndexOf('Mozilla/6') != -1) || (ua.lastIndexOf('Mozilla/5') != -1) || (ua.lastIndexOf('Mozilla/4') != -1) || (ua.lastIndexOf('Mozilla/3') != -1)) && (ua.lastIndexOf('MSIE') == -1);

        var fActiveX = fWin32 && fMSIE3456;
        var fPlugIn = fWin32 && fNS3456;
        var fDownlevel = !fActiveX && !fPlugIn;

        // Handle Netscape Browser
        if (fPlugIn)
        {
                document.writeln('<BODY bgcolor="#C0C0C0" link="#0000FF" vlink="#800080" topmargin="0" leftmargin="0">');

                if ( navigator.mimeTypes["application/x-oleobject"] )
                {
                        write_ns_6_object();
                }
                else
                {
                        if ( !navigator.mimeTypes["application/x-npwrap"] )
                        {
                                if (navigator.appVersion >= "5")
                                {
                                        document.writeln('<OL>');
                                        document.write        ('<LI>Click ');
                                        document.write        ('<A HREF="http://updates.merc-int.com/testdirector/td75/others/netscape/npmozax.exe">here</A>');
                                        document.writeln(' to download Netscape 6 / Mozilla ActiveX plug-in (self-extract file)');
                                        document.writeln('<LI>Unzip downloaded plug-in into browser plug-in directory.');
                                        document.writeln('<LI>Restart the browser.');
                                        document.writeln('</OL>');
                                }
                        else if ((navigator.appVersion >= "4") && (navigator.javaEnabled()))
                                {
                            trigger = netscape.softupdate.Trigger;
                                        if (trigger.UpdateEnabled())
                                        {
                                vi = new netscape.softupdate.VersionInfo(1,0,0,17);
                                    trigger.ConditionalSoftwareUpdate("http://updates.merc-int.com/testdirector/td75/others/netscape/npwrap.jar",
                                                "plugins/ms/npwrap", vi, trigger.DEFAULT_MODE);
                                                document.write('Please RELOAD current page after plug-in download.');
                                        }
                                        else
                                                download_ns_plugin();
                                }
                        else
                                        download_ns_plugin();
                        }
                        else
                                write_ns_object();
                }
        }

        // Handle IE
        if (fActiveX)
        {
                document.writeln('<BODY bgcolor="#FFFFFF" link="#0000FF" vlink="#800080" topmargin="0" leftmargin="0">');
                write_ie_object();
        }

        // Error for other browser or OS
        if (fDownlevel)
        {
                document.write(navigator.appName + ' : ' + navigator.appVersion + ' is not supported!');
        }

</script>

<noscript>
You need JavaScript to see this page correctly. Please install it from CD redist folder.
</noscript>

</BODY>

</HTML>
回复 支持 反对

使用道具 举报

该用户从未签到

23#
发表于 2009-3-25 17:20:23 | 只看该作者

不是吧

是不是安装过程出问题了
回复 支持 反对

使用道具 举报

该用户从未签到

24#
发表于 2009-3-26 14:52:42 | 只看该作者
XP下装TD不是很容易出错吗?怎么还在XP下装呢
回复 支持 反对

使用道具 举报

该用户从未签到

25#
发表于 2009-3-26 18:20:04 | 只看该作者
更改虚拟目录中“应用程序保护”,将起改成"低(IIS进程)"
回复 支持 反对

使用道具 举报

该用户从未签到

26#
发表于 2010-11-16 11:25:12 | 只看该作者
td很不稳定的呢,老出问题
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-21 19:31 , Processed in 0.070423 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表