Error: The systemcannot locate the object specified happened - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Error: The systemcannot locate the object specified happened (/Thread-Error-The-systemcannot-locate-the-object-specified-happened) |
Error: The systemcannot locate the object specified happened - alin - 12-15-2011 [1] I wrote one vbs file to launch QTP and run test cases Code: Dim qtApp [3]. but error happened when i changed the test path and ran it on 32bit OS "The systemcannot locate the object specified" , sometimes, error is "cannot open test". I checked the error line: qtApp.Open ezscriptPath, True It could work if i launched QTP first. Could you help me to check this problem? thanks~ RE: Error: The systemcannot locate the object specified happened - ravi.gajul - 12-15-2011 ezscriptPath = "C:\Users\admin\Desktop\Study\Test_try" Looks like the path mentioned above is not correct.Please go to testscript location and copy the path and check if its the same. RE: Error: The systemcannot locate the object specified happened - alin - 12-16-2011 >>> I checked my path,it's correct. because the script can be ran well if i launched QTP first manually. the problem just happened when I stop the QTP process and let vbscript to launch QTP and run test cases 。 and sometimes "Error: Cannot open test Code: 800A03EE" happened RE: Error: The systemcannot locate the object specified happened - alin - 12-16-2011 I used QTP11 |