Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How - Global data sheet 2 rows, Action1 once, rest all test iteration
#1
Solved: 11 Years, 4 Months, 1 Week ago
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.
Reply
#2
Solved: 11 Years, 4 Months, 1 Week ago
Yes. You can use the code shown below

Code:
If Environment("TestIteration") <> 1 Then ExitActionIteration

In your Login Action.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  CyberArk CorePAS REST API to search for accounts pramod 0 847 06-29-2023, 03:11 PM
Last Post: pramod
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 973 04-23-2020, 07:08 PM
Last Post: BGunay
  Reading Global Sheet's DataTable Value Bhuvana 0 1,643 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Multiple rows of test data Bhuvana 0 1,343 01-03-2020, 09:30 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 965 09-11-2019, 02:52 PM
Last Post: siddharth1609

Forum Jump:


Users browsing this thread: 1 Guest(s)