Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Run the Script
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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


Attached Files Image(s)
   
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Thanks for your reply.

Even i use systemutil.run " " also getting the same error.
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
It is flight4a
check the spelling, t is not typed
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
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


Attached Files Image(s)
   
Reply
#6
Solved: 11 Years, 3 Months, 3 Weeks ago
Alladi,
Can you use below mentioned code

Code:
Systemutil.Run "C:\Program Files (x86)\Internet Explorer\iexplore.exe","http://www.google.co.in/"
'if you are using Windows7 operating System

Code:
Systemutil.Run "C:\Program Files\Internet Explorer\iexplore.exe","http://www.google.co.in/"
'If you are using XP opearting System


Code:
Browser("B").Page("B").Sync
Browser("B").Close
Reply
#7
Solved: 11 Years, 3 Months, 3 Weeks ago
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"


Attached Files Image(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Issue with "Test run scheduler": Unable to clear the scheduler list arunshashidhar.mk 0 2,895 12-03-2013, 09:24 PM
Last Post: arunshashidhar.mk
Rolleyes How can we run QTP on virtual machine at scheduled time through VB script. ritugoyal 13 22,611 11-23-2012, 11:03 AM
Last Post: vinod123
  unable to run QTP tests from QC. uma87 3 4,818 08-16-2011, 04:50 PM
Last Post: uma87
  Driver script to open result viewer in run time amit_it 2 3,810 05-05-2011, 04:18 PM
Last Post: amit_it
  Run the QTPTest script from the Quality Center then an error occurs shivakumar6g 8 12,769 03-04-2011, 11:52 AM
Last Post: shivakumar6g

Forum Jump:


Users browsing this thread: 1 Guest(s)