Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iterations in not all the code
#1
Solved: 10 Years, 9 Months ago
Hi,
when i fill n rows of datatable and run the code, i'll have n iterations of all code. Instead I would have n iterations only of a part of the code: is it possible?
(for example a part in which i do login on a website, fixed, made only one time, and then a part of n iterations about other operations)

thanks for every help
Reply
#2
Solved: 10 Years, 9 Months ago
Hi,
You can divide the operations in to different actions.
For example create one action for login and different action for other operations and you can set the iterations for that particular action.

Hope it helps you.
Reply
#3
Solved: 10 Years, 9 Months ago
that is... if first action is login and second action everything else (and datatable is used only in this second action), when I run the code only second action will do iterations?
Is there any example/link with syntax about use of actions?

thanks a lot
Reply
#4
Solved: 10 Years, 9 Months ago
In such a scenario, use local datatable for parameterization. Also, use action call properties to set the number of iterations to be run.
Please check user guide for more info on Actions.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Repeat iterations Until New Value Is Seen in Column1 shayk1985 1 1,490 07-05-2018, 05:52 PM
Last Post: Ankur
  UFT Datatable iterations Studymode 2 3,462 12-12-2017, 11:10 PM
Last Post: Studymode
  QTP-Re-executing script after completion of all iterations JwalantBhatt0602 1 2,543 03-24-2016, 12:37 AM
Last Post: JwalantBhatt0602
Question QTP not performing iterations based on local data sheet Breaker 18 55,237 01-25-2016, 04:32 PM
Last Post: arunshuklainbox
  How To use iterations for API petchd 1 2,586 12-03-2015, 06:51 PM
Last Post: petchd

Forum Jump:


Users browsing this thread: 1 Guest(s)