kaven0612 发表于 2009-3-23 11:41:56

QC?公司舍不得出那个钱的。破解的限制又多。
还是TD吧,当BUG管理工具用。

maxhoo8003 发表于 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(' <EMBEDtype="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>

caihongmei 发表于 2009-3-25 17:20:23

不是吧

是不是安装过程出问题了

ming060918 发表于 2009-3-26 14:52:42

XP下装TD不是很容易出错吗?怎么还在XP下装呢

waitrabbit 发表于 2009-3-26 18:20:04

更改虚拟目录中“应用程序保护”,将起改成"低(IIS进程)"

wujiujiang 发表于 2010-11-16 11:25:12

td很不稳定的呢,老出问题
页: 1 [2]
查看完整版本: 帮帮我吧,我快被TD8.0折磨死了