Contributions
Remote RUN a project suite on another machine.
A TC project suite [A] (running) on VM-1 starts a second project suite [B] over the NETWORK on VM-2 using NetworkSuite.Run(true). The execute RUNS most of the time. At times the execute does not RUN and comes back with a VM disconnect. My QUESTION is: ---IS THERE--- A PARAMETER OF ANY KIND THAT IS ON THE NETWORK PARAMETER LISTS OF POSSIBLE SETTINGS THAT CAN SET THE TIME OF THAT RESPONSE BACK TO TAKE A LITTLE LONGER SO IT DOES NOT TIME OUT SO QUICKLY? OR IS THIS SOME PARAMETER IN TEST COMPLETE ITSELF THAT I NEED TO TWEAK? WHAT AND WHERE IS IT?935Views0likes2CommentsCounter of how many KeyTest or Script Statements have been executed ???
Is there a way to get a count of how many KeyTest Statements (steps) or Script Statements (steps) have been executed for a specific run at either the Project Suite level, the Project level or the test level. The reason for the count of each statement executed is to have an estimate as to the verification points (VP - steps) of a completed run.2.2KViews0likes3CommentsRe: The process cannot access the file because it is being used by another process.
Greetings - The answers posted here led me to a solution in jScript. function Box_Favorites_02_Add_Script() { Aliases.p3main707.wndClaWin_PPP_Frame.MainMenu.Click("[1]|[1]"); Delay(5000, "Box Favorites Browse"); Project.Variables.BoxFavorites_Add_xls.Reset(); for(; !Project.Variables.BoxFavorites_Add_xls.IsEOF();) { Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites.ClaChildClient.ClaButton_Add.Click(17, 11); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites_Add.ClaChildClient.ClaEdit_Barcode.Keys(Project.Variables.BoxFavorites_Add_xls.Value("Barcode")); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites_Add.ClaChildClient.ClaEdit_Description.Keys(Project.Variables.BoxFavorites_Add_xls.Value("Description")); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites_Add.ClaChildClient.ClaEdit_Length.Keys(Project.Variables.BoxFavorites_Add_xls.Value("Length")); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites_Add.ClaChildClient.ClaEdit_Width.Keys(Project.Variables.BoxFavorites_Add_xls.Value("Width")); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites_Add.ClaChildClient.ClaEdit_Height.Keys(Project.Variables.BoxFavorites_Add_xls.Value("Height")); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites_Add.ClaChildClient.ClaButton_OK.Click(28, 10); Project.Variables.BoxFavorites_Add_xls.Next(); } Project.Variables.BoxFavorites_Add_xls.Disconnect(); Aliases.p3main707.wndClaWin_PPP_Frame.MDIClient.wndClaWin_BoxFavorites.ClaChildClient.ClaButton_Close.Click(16, 8); } The key line that was missing after converting the Keyword Test to script was the *.Disconnect();2.8KViews0likes0CommentsThe process cannot access the file because it is being used by another process.
Greetings - Step 1) I copy a file into C:\Temp\maintenance_boxfavorites_add.xls [aqFile.Copy() ] Step 2) I initiate a data driven loop to import the data into a database table. Step 3) I delete C:\Temp\maintenance_boxfavorites_add.xls [aqFile.Delete()] All steps complete in the green. Checking I find that the file has not been deleted. Error message is: The process cannot access the file because it is being used by another process. Path: C:\Temp\maintenance_boxfavorites_add.xls I attempted to put a delay of 20 seconds to give the data loop entry process a chance to complete. This delay did not work, I still get the error. function DeleteImportFile() { BuiltIn.Delay(20000,"Waiting for last operation to finish"); aqFile.Delete("C:\\Temp\\maintenance_boxfavorites_add.xls"); // BuiltIn.Delay(2000,"Waiting for last operation to finish"); } I have uploaded a picture to show the condition at the end of the test. Need some suggestions here. Thanks In Advance24KViews0likes6Comments