Hi - I'm trying to set click locations to be variables in recorded tests, and then drive them from a .csv data connector. I can't seem to get Ranorex to pick up the values from the .csv file. The attachment shows a simple example with three variables (in green). My .csv file is as follows:
FileMenu,ThermalAnalysis,CloseXT
30;15,250;15,1890;15
Regardless of what I set these values to, the replay still reverts to the originals (defaults). When I remove the .csv file, the test complains, so I know it's reading it. I've used variables successfully elsewhere (for other input fields). Is there something I'm missing ?
I also tried transposing the rows and columns in the .csv file.
Thanks, Steve.
Location as a variable in data-driven testing
-
- Posts: 4
- Joined: Fri Mar 21, 2014 7:05 pm
Location as a variable in data-driven testing
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Location as a variable in data-driven testing
Hi Stephen,
Please ensure that the entered data have the correct format in your CSV-file.
For example:
Regards,
Markus (S)
Please ensure that the entered data have the correct format in your CSV-file.
For example:
Code: Select all
Header1;Header2;Header3;Header4
"1;1";"2;2";"3;3";"4;4"
"11;11";"22;22";"33;33";"44;44"
Markus (S)
-
- Posts: 4
- Joined: Fri Mar 21, 2014 7:05 pm
Re: Location as a variable in data-driven testing
Hi Markus,
I fixed the format, it still didn't work but then I found that the problem was that I was running just a single recording, not the whole test case ... there is another thread that mentions this, with the title "Binding module Variables to Global Parameters Issue".
I fixed the format, it still didn't work but then I found that the problem was that I was running just a single recording, not the whole test case ... there is another thread that mentions this, with the title "Binding module Variables to Global Parameters Issue".