2014-01-23 59 views
0

在下面的TestComplete JScript腳本中,關鍵字AssertNoError是什麼意思?它的作用是什麼?什麼是TestComplete JScript腳本中的AssertNoError關鍵字?

if(AssertNoError("UtilsCommon.DoesWindowExist","Explorer",1,"CabinetWClass","Temp",-1,WINDOW_WAIT_TIME)){ 
    //Get Reference of Temp floder and List of Files Present in it 
    oTempFldRef = AssertNoError("UtilsCommon.GetWindow",Sys.Process("Explorer"),"CabinetWClass","Temp",-1,10000,true);  
    strTempList = oTempFldRef.FindChild(["WndClass","Caption"],["DirectUIHWND","Items View"],5); 
+0

歡迎使用stackoverflow!我認爲你需要詳細闡述一下。 queston非常模糊.. – davidkonrad

回答

1

沒有內置TestComplete函數AssertNoError。它必須在你的項目的某個地方定義。您可以Ctrl - 單擊函數名稱以跳轉到其實現。