Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Running the 1st Action only once
#1
Solved: 10 Years, 10 Months, 1 Week 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: 10 Years, 10 Months, 1 Week 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,508 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,074 02-16-2011, 12:49 AM
Last Post: jsknight1969
  How to use an Array in an Action declared in another Action PrabhatN 5 8,589 06-08-2010, 07:42 PM
Last Post: PrabhatN
  How to checkpoints of one action in another action anbarasu 0 1,745 11-12-2009, 11:42 AM
Last Post: anbarasu
  1st Time QTP Developer gcsmith 0 1,771 06-23-2009, 03:11 AM
Last Post: gcsmith

Forum Jump:


Users browsing this thread: 1 Guest(s)