Page 1 of 1

Repeating a recording

Posted: Thu Oct 15, 2020 9:04 am
by HansSchl
Hi,
the subject of this thread may be a bit misleading, but I cannot think of a better one... This is what I want to do:

I created a recording which writes a name/value pair into a configuration file. Name and value come from variables.
My test case requires to write a number of name/value pairs into the configuration during the SETUP phase. I want to read these pairs from a data source, in order to make the test more flexible.

Note that this is not about executing the test one time for each line of the data source. Only one recording of the SETUP must be repeated. Is that possible?

Ranorex version: 9.3.1

Thank you
Hans

Re: Repeating a recording

Posted: Thu Oct 15, 2020 9:23 am
by odklizec
Hi,

There is definitely no way to repeat just one file from SETUP section. If I understand you right, there are multiple lines in data connector, which you want to read and use in given recording, but only in this particular recording? In this case, you need to create a smartfolder, containing just this one recording. And of course, the data connector must be connected to the smartfolder. But I'm afraid, that's not possible inside Setup/Teardown section.

Re: Repeating a recording

Posted: Thu Oct 15, 2020 3:46 pm
by HansSchl
Ok, thank you. I guess I'll create a user action that directly reads directly from a text or csv file...