Testcase Design

Ranorex Spy, Recorder, and Studio.
@AkiOnline
Posts: 2
Joined: Thu Dec 12, 2013 6:15 pm

Testcase Design

Post by @AkiOnline » Thu Dec 12, 2013 6:41 pm

Hi folks,

Scenario: I have 4 tabs in my application. I have to enter data in all the tabs before I can save the record. In one of the tab I have to enter more than 1 address(multiple iteration).

I have 4 recording module for 4 tabs. Each recording module mapped to one work sheet of testdata excel sheet. But I am confused how to design my framework so that Ranorex will understand single iteration or multiple iteration from the test data entry. Probably I can use a unique ID but how to accomplish this scenario.

Tab 1 - Recording Module1 - Work Sheet 1 - 1 time Iteration
Tab 2 - Recording Module2 - Work Sheet 2 - 5 time Iteration (5 rows of test data)
Tab 3 - Recording Module3 - Work Sheet 3 - 3 time Iteration (3 rows of test data)
Tab 4 - Recording Module4 - Work Sheet 4 - 1 time Iteration

Swisside
Posts: 92
Joined: Thu Oct 10, 2013 10:40 am

Re: Testcase Design

Post by Swisside » Fri Dec 13, 2013 10:38 am

Hello

You could do something like that :

Create 4 data connectors (let's call them Tab1, Tab2, Tab3, Tab4 )

Then you can organize your test suite like this :


-TestSuite
--TestCase Tab1
----Module1
--TestCase Tab2
----Module2

and so on.

You only have to specify the correct data source for each of your 4 testcases and then bind the column to the module variables you need to fill the different tabs.


If you have any other questions feel free to ask !


Regards

Swiss'
A simple thank you always does wonders !