Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running the 1st Action only once
#1
Solved: 11 Years, 4 Months ago
Hi All

How do I run the Login Action once when having more than one Iteration.
Code:
RunAction "Login_Parm [Login as Intermediary]", oneIteration
Wait(20)
RunAction "CreateClient [CreateClient]", oneIteration

RunAction "Product [Product]", oneIteration

'Hub
Browser("Investment Hub").CloseAllTabs

Wait(5)
Reply
#2
Solved: 11 Years, 4 Months ago
We can use combination of "FOR" loop and "if" condition so that it can get run only one time.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  action status in QTP test - main action vanilla 1 4,610 02-12-2012, 10:59 PM
Last Post: rajpes
  QTP: Not able to view the modifications done on 1st page after clicking on View Butto Milindt43 1 2,147 02-16-2011, 12:49 AM
Last Post: jsknight1969
  How to use an Array in an Action declared in another Action PrabhatN 5 8,950 06-08-2010, 07:42 PM
Last Post: PrabhatN
  How to checkpoints of one action in another action anbarasu 0 1,819 11-12-2009, 11:42 AM
Last Post: anbarasu
  1st Time QTP Developer gcsmith 0 1,835 06-23-2009, 03:11 AM
Last Post: gcsmith

Forum Jump:


Users browsing this thread: 3 Guest(s)