• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 歡迎訪問我的博客!

    引用:關于QTP中“General Error while saving the test"的解決方法

    上一篇 / 下一篇  2008-06-12 10:50:32 / 個人分類:QTP

    今天在使用QTP的過程中出現上述錯誤,通過查找,該錯誤已解決,現我將解決方法帖出來,在此非常感謝kernzhang 。

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

    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、看看有沒有報錯:

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

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

    4、你的System32目錄下有個scrrun.dll的文件,看在不在,如果有,就regsvr32   scrrun.dll一下,沒有的話,考一個過來。 或者  http://www.kesion.com/help/FAQ/62570650938.html  看看這個幫助就成了

    我就是按這個方法來操作的,就可以保存了。

    引用 kernzhang 的文章:http://www.3atesting.com/blog/index.php?file=viewlog&uid=2&id=250 


     


    TAG: Error General qtp QTP saving test Test

     

    評分:0

    我來說兩句

    顯示全部

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

    我的欄目

    日歷

    « 2011-06-08  
       1234
    567891011
    12131415161718
    19202122232425
    2627282930  

    我的存檔

    數據統計

    • 訪問量: 2805
    • 日志數: 4
    • 建立時間: 2008-06-12
    • 更新時間: 2008-06-18

    RSS訂閱

    Open Toolbar
    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>