Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP runs action More than once
#1
Not Solved
Hi all,

Please help me with below issue.

I Have a QTP Script with 3 Actions called into main Action . All the three are Internal Actions.

The script goes this way....

Code:
DataTable.Import ("\\wax-qms-qc\Test-Automation\ABCURL.xls")
URL = Datatable.Value("URL",dtGlobalSheet)
Systemutil.Run  "iexplore.exe",URL

RunAction "Action 1", oneIteration

RunAction "Action 2", oneIteration

RunAction "Action 3", oneIteration

Some test Script......

Browser("").close.


The test ends with Closing the browser. QTP Runs fine till Browser().Close and again start to run only Action 3. In Action 3 it doesnt find the required Objects and Fails.

I Have Datatable Iterations set as "Run One iteration Only" and also in excel sheet only one URL is being used.

I want QTP to run only till Browser Close without going to Actions Again.
What do i need to do for this?
Reply


Messages In This Thread
QTP runs action More than once - by uma87 - 03-26-2012, 02:57 PM
RE: QTP runs action More than once - by sshukla12 - 03-26-2012, 03:21 PM
RE: QTP runs action More than once - by uma87 - 03-26-2012, 04:01 PM
RE: QTP runs action More than once - by sshukla12 - 03-26-2012, 04:33 PM
RE: QTP runs action More than once - by uma87 - 03-26-2012, 05:40 PM
RE: QTP runs action More than once - by sshukla12 - 03-26-2012, 07:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP runs slow when scheduled through a Virtual Machine BajaJeff 3 5,335 06-11-2013, 02:45 AM
Last Post: Ankur
  reusable action called inside another reusable action in qtp ritugoyal 0 2,613 05-05-2010, 03:16 PM
Last Post: ritugoyal
  Scheduled runs from QC stevol 2 2,685 11-12-2008, 06:38 PM
Last Post: stevol
  Issue with Oracle Application 10g testing(runs on JRE 1.5) thru QTP 9.5 Sarada 0 2,866 07-16-2008, 10:39 PM
Last Post: Sarada

Forum Jump:


Users browsing this thread: 3 Guest(s)