2014-10-02 77 views

回答

0

你刚使用QC还是你也使用QTP?如果你使用QTP并且需要将测试从一个文件夹移动到另一个文件夹,那么最简单的方法就是编写VBscript来实现这一点。

dim sourceFolder 
set sourceFolder=CreateObject("Scripting.FileSystemObject") 
If sourceFolder.FileExists([path to your file(s)]) Then 
sourceFolder.MoveFile "[file]", "[destination]" 
End If 
相关问题