Micro Focus QTP (UFT) Forums
Error when running application - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Error when running application (/Thread-Error-when-running-application)



Error when running application - manmeet.singh81 - 01-24-2010

Hi Guys,

I have a query, I am running QTP Flight Application as Test4
As soon as script completes for Login Window
An error warning message is thrown "test4\open was not found."

Note1: The error message displays complete path-test4\open was not found
Note2: I have recorded twice for this script, once for login window and Flight Reservation Window
Note3: I have attached script file to this thread for your view


Any help much appreciated
Singh


RE: Error when running application - Saket - 01-25-2010

Replace the first statement with below statement and try

Code:
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"