Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to execute action 1 once only from 5 actions
#1
Solved: 11 Years, 4 Months ago
Hi, just need some advise on this, i have a script with 5 actions

1. navigation
2. serach code
3. main loop if found then call action update otherwise call action insert.

My question is how do i just execute action 1 once only and let it loop thr from action 2 onward. i have tried this in my action 1

Code:
if Environment ("ActionIteration") = 1 then
  codes for navigation
End if

the problem is Environment ("ActionIteration") always return 1
Reply


Messages In This Thread
how to execute action 1 once only from 5 actions - by Jenny - 10-18-2010, 09:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Execute button of putton won't be clicke automaticly in UFT (VB) MarUFT 3 2,675 11-21-2016, 04:22 PM
Last Post: Ankur
  Not able to execute script shanthalaAR 0 2,078 06-27-2015, 03:53 AM
Last Post: shanthalaAR
  How to Execute a testset from QC using OTA framework AutomationTester2011 12 52,575 01-21-2015, 09:22 PM
Last Post: karthik_sanakran
  How to call Actions from other Actions Naresh 1 7,982 09-25-2014, 10:26 AM
Last Post: vinod123
  Is there a possible way to execute sql in QTP using 'WITH' clause shruthic 0 3,105 04-26-2014, 11:42 PM
Last Post: shruthic

Forum Jump:


Users browsing this thread: 1 Guest(s)