Hello,
what would be the best strategy for testing one app in different editions with similar features. Our app has some features only available in special editions. Most of the GUI is in each edition the same but some dialogs are different. Also some dialogs are only available in one particular edition. We want to test each version with one test, what will be the best solution to use the same recording for each edition and only the special recordings in the suitable edition? To avoid changes in many solutions it would be great to have only one test-solution which specializes on each edition by command line-param.
Regards,
ThN.
Best strategy for similar tests?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Best strategy for similar tests?
Hello BCTest,
I could imagine a test structure as depicted below:
Each version of your application is tested within a separate TestCase. The ’CommonRecording’ can be re-used within each TestCase (marked red). The SpecialDialogRecording’s are pretty self-explanatory, they cover version specific dialogs and so on.
You can call each TestCase (aka. Version) via the command line using the ‘/tc’ –argument. Further information about Command Line Arguments can be found here:
http://www.ranorex.com/support/user-gui ... html#c3022
Hope this information helps you.
Regards,
Robert
I could imagine a test structure as depicted below:
Each version of your application is tested within a separate TestCase. The ’CommonRecording’ can be re-used within each TestCase (marked red). The SpecialDialogRecording’s are pretty self-explanatory, they cover version specific dialogs and so on.
You can call each TestCase (aka. Version) via the command line using the ‘/tc’ –argument. Further information about Command Line Arguments can be found here:
http://www.ranorex.com/support/user-gui ... html#c3022
Hope this information helps you.
Regards,
Robert
You do not have the required permissions to view the files attached to this post.
Re: Best strategy for similar tests?
Thanks for the answer.
I'm certain your suggestion will work. I used a different solution: global params which can be set in command line or in studio. So the test can be done by command line and by studio (while developing): Usercode
Probably not the best solution but it works.
Regards,
Thomas.
I'm certain your suggestion will work. I used a different solution: global params which can be set in command line or in studio. So the test can be done by command line and by studio (while developing): Usercode
Code: Select all
if (string.Compare(TestSuite.Current.Parameters["Variante"], "SQL", true) == 0)
{
// Do something
}
Regards,
Thomas.
You do not have the required permissions to view the files attached to this post.