<ruby id="h6500"><table id="h6500"></table></ruby>
    1. <ruby id="h6500"><video id="h6500"></video></ruby>
          1. <progress id="h6500"><u id="h6500"><form id="h6500"></form></u></progress>

            QTP提示“General Error while saving the test”,腳本無(wú)法保存

            上一篇 / 下一篇  2010-12-07 14:35:19

            今天在使用QTP的過(guò)程中出現上述錯誤.

            保存QTP腳本,提示“General Error while saving the test”,腳本無(wú)法保存,解決方法如下:

            1、先運行下段代碼:

                Dim fso, MyFile
               Set fso = CreateObject("scrīpting.FileSystemObject")
               Set MyFile = fso.CreateTextFile("C:\testfile.txt", True)
               MyFile.WriteLine ("This is a test")
               MyFile.WriteLine ("This is another test")
               MyFile.Close

            2、看看有沒(méi)有報錯:

                  運行提示錯誤:ActiveX 部件不能創(chuàng )建對象: 'scrīpting.filesystemobject'

            3、出現該錯誤的原因是操作系統的問(wèn)題。是你的activex有問(wèn)題!QTP是集成這個(gè)進(jìn)行文件保存的。

            4、你的System32目錄下有個(gè)scrrun.dll的文件,看在不在,如果有,就regsvr32   scrrun.dll一下,沒(méi)有的話(huà),考一個(gè)過(guò)來(lái)。


            TAG: Error error General qtp QTP saving test Test TEST

            引用 刪除 aiongold03   /   2011-03-17 09:11:49
            支持一下
            http://www.aiongold.org.uk
            http://www.itemgarden.com
            http://www.buywowgold.ws
             

            評分:0

            我來(lái)說(shuō)兩句

            顯示全部

            :loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

            日歷

            « 2011-06-12  
               1234
            567891011
            12131415161718
            19202122232425
            2627282930  

            我的存檔

            數據統計

            • 訪(fǎng)問(wèn)量: 156
            • 日志數: 2
            • 建立時(shí)間: 2010-12-07
            • 更新時(shí)間: 2010-12-07

            RSS訂閱

            Open Toolbar
            老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月
              <ruby id="h6500"><table id="h6500"></table></ruby>
              1. <ruby id="h6500"><video id="h6500"></video></ruby>
                    1. <progress id="h6500"><u id="h6500"><form id="h6500"></form></u></progress>