![]() |
Unable to Run the Script - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Unable to Run the Script (/Thread-Unable-to-Run-the-Script) |
Unable to Run the Script - aalladi - 11-30-2011 Hi Friends, I need a favour from you regarding the script error while running the qtp. Situation:I wrote a script to open an application with vbscript statement systemutil.run "file path" If i run this script I am getting a error window showing "The test run cannot continue due to unrecoverable error. Failed to run script description:the specified module could not be found. Line(1):"RunAction "Action1",oneIteration". So please friends give me solutions for this error.Thanks in advance I attached a screen shot Plz check this for clear view RE: Unable to Run the Script - Ankesh - 11-30-2011 Saw ur Screenshot. U have used SystemUtil.CloseProcessByName "flight4a.exe". this will try to close the application. But in you case the application itself is not ope which is causing the error. Plz update the code. Regards, Ankesh RE: Unable to Run the Script - aalladi - 11-30-2011 Thanks for your reply. Even i use systemutil.run " " also getting the same error. RE: Unable to Run the Script - soumya - 12-04-2011 It is flight4a check the spelling, t is not typed RE: Unable to Run the Script - aalladi - 12-08-2011 Ok I recorded another script of opening INTERNET EXPLORER and Closed.Some script is recorded.I stopped recording. I tried to run the script getting the same error I attached the screenshot.Please Help ME RE: Unable to Run the Script - kotaramamohana - 12-08-2011 Alladi, Can you use below mentioned code Code: Systemutil.Run "C:\Program Files (x86)\Internet Explorer\iexplore.exe","http://www.google.co.in/" Code: Systemutil.Run "C:\Program Files\Internet Explorer\iexplore.exe","http://www.google.co.in/" Code: Browser("B").Page("B").Sync RE: Unable to Run the Script - Manjusha - 05-14-2014 I installed the QTP for the first time in my laptop I wrote script for flight login application and tried to run the application but getting the below error The test run cannot countinue due to an unrecoverable error Failed to run the script The specified module could not be found Line(1): "Runaction"action1", oneiteration" |