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
Repeating a recording
Re: Repeating a recording
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.
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.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: Repeating a recording
Ok, thank you. I guess I'll create a user action that directly reads directly from a text or csv file...