How - Global data sheet 2 rows, Action1 once, rest all test iteration - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How - Global data sheet 2 rows, Action1 once, rest all test iteration (/Thread-How-Global-data-sheet-2-rows-Action1-once-rest-all-test-iteration) |
How - Global data sheet 2 rows, Action1 once, rest all test iteration - sepgs2004 - 02-25-2009 I have two rows in Global data sheet. I would like Action1 (Login) to run only once for the first global data row, and the rest of the following actions to run once for all global data rows (in my case it is 2).... Is this possible? Thanks I think we can only control individual action iteration... through its local data sheet. Control through global data sheet affects all actions I believe. Probably I might have to redesign the actions in the test. Am I correct Guys. RE: How - Global data sheet 2 rows, Action1 once, rest all test iteration - tarunlalwani - 02-26-2009 Yes. You can use the code shown below Code: If Environment("TestIteration") <> 1 Then ExitActionIteration In your Login Action. |