Hi,
i have an excel file with 10 rows of data that i want to use in my testsuite with 3 recordings.
I was wondering if i can make 10 iterations for the complete suite but not only for a recording.
At this moment i can bind the data to a recording which is executing 10 times before going to the next recording. and this is not what i want.
so for FileName and workingdir (10 rows in excel) it should execute each recording once before taking the next row of data.
How can i manage that ?
Regards,
Kurt
Testdata for testsuite with multiple recordings.
-
- Posts: 47
- Joined: Tue Sep 06, 2011 7:48 am
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Testdata for testsuite with multiple recordings.
Hello Kurt,
I'm afraid that I didn't quite catch what you mean.
Basically you can bind the data from the Excel data connector to variables in a recording module. The data connector is valid for the whole test case. All recordings within the test case will be executed in every iteration. You can find a good description how to create Data-DrivenTests in Lesson 3 in our user guide.
Regards,
Bernhard
Ranorex Support Team
I'm afraid that I didn't quite catch what you mean.
Basically you can bind the data from the Excel data connector to variables in a recording module. The data connector is valid for the whole test case. All recordings within the test case will be executed in every iteration. You can find a good description how to create Data-DrivenTests in Lesson 3 in our user guide.
Regards,
Bernhard
Ranorex Support Team
-
- Posts: 47
- Joined: Tue Sep 06, 2011 7:48 am
Re: Testdata for testsuite with multiple recordings.
What happens is :
testsuite :
- module 1 : executed 10 times for the ten rows in excel
- module 2 : 1 time (they don't need the parameters, but should be executed after each iteration of module 1)
- module 3 : 1 time
what i need is :
testsuite :
- module 1, module2 and module 3 : 10 times with ten rows from excel.
is solved my problem by copying all steps from module 2 and 3 into module 1 and deleted module 2 and 3.
which is not so good for maintaining tests.
Thx,
Kurt
testsuite :
- module 1 : executed 10 times for the ten rows in excel
- module 2 : 1 time (they don't need the parameters, but should be executed after each iteration of module 1)
- module 3 : 1 time
what i need is :
testsuite :
- module 1, module2 and module 3 : 10 times with ten rows from excel.
is solved my problem by copying all steps from module 2 and 3 into module 1 and deleted module 2 and 3.
which is not so good for maintaining tests.
Thx,
Kurt
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Testdata for testsuite with multiple recordings.
Hi,
It should work when you structure your test as follows: Regards,
Markus
Ranorex Support Team
It should work when you structure your test as follows: Regards,
Markus
Ranorex Support Team
-
- Posts: 47
- Joined: Tue Sep 06, 2011 7:48 am
Re: Testdata for testsuite with multiple recordings.
K,
i see what i did wrong.
i made a testsuite with 3 testcases and in each testcase a module.
In your example you have one testsuite, one testcase and 3 modules.
Thx for the great support.
i see what i did wrong.
i made a testsuite with 3 testcases and in each testcase a module.
In your example you have one testsuite, one testcase and 3 modules.
Thx for the great support.
