Loop for SETUP inside a Test Case

Ranorex Spy, Recorder, and Studio.
prepelra
Posts: 10
Joined: Tue Apr 02, 2019 9:33 am

Loop for SETUP inside a Test Case

Post by prepelra » Mon Jun 03, 2019 10:32 am

How can I configure to run a SETUP more times in a Loop inside a Test Case so that Test Case should run only one time?

Example: I need to add more user in the SETUP for the script which will run only one time
Attachments
Testcases.jpg
Testcases.jpg (36.87 KiB) Viewed 104 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 4967
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Loop for SETUP inside a Test Case

Post by odklizec » Mon Jun 03, 2019 11:25 am

Hi,

I'm afraid, there is currently no way to loop the setup section. The easiest workaround is to create a smart folder with data connector and place it right after setup section of your test case. And no, there is also no way to add smart folder in setup section ;)
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration