3
我正在嘗試使用UFT12 OTA API獲取ALM12測試集的測試集路徑。如何獲得UFT12/ALM12的TestSet路徑?
我剛剛從QTP11升級到UFT12。
在QTP11,我們用來獲取TestSet
路徑是這樣的:
Set testLabFolder = currentTestSet.TestSetFolder
Set currentTestSet = QCUtil.currentTestSet
但現在,在UFT12,這不工作了。
按照OTA API,該1TestSetFolder1被1TestLabFolder1取代,我嘗試這樣做:
Set currentTestSet = QCUtil.currentTestSet
Set testLabFolder = currentTestSet.TestLabFolder
但我不能夠利用這一點,我得到了錯誤:
Object required: 'currentTestSet' Line (75): "Set testLabFolder = currentTestSet.TestLabFolder"
任何人都可以請指教?
感謝您分享解決方案。 – ManishChristian