5.3. Executing Test Case Steps

In the Test Case Step Screen the user can capture the results of the test execution. On the left of the Action Bar the current Test Case and the total number of Test Cases for this Job are displayed. Below is the position of the Test Case Step in the current Test Case. Beneath the total progress of the Test Case execution in form of a progress bar is shown.

Figure 5.3. The Test Case Step Screen

The Test Case Step Screen


The center of the Test Case Step Screen has the following information:

On the bottom of the screen are four buttons with which the user can capture the test result. The buttons are labeled:

The user has also the option to capture test data by using the internal devices of the Android Device. This option can be accessed by pressing the Add Attachment option in the Action Bar, represented by a paperclip. In the popup that opens, the user can choose between different options, depending on the hardware integrated into the device:

After each Test Case Step, the Result is saved into the local database on the mobile device. The user is then brought to the next Test Case Step of the current Test Case. If all Test Case Steps have been marked with a result, the user is provided the option to finish the current Test Case. Choosing to finish the execution triggers different things, depending if the Job holds only this Test Case or a Test Suite (which contains multiple Test Cases). First, the overall Result of the Test Case is calculated from the results of the single Test Case Steps. When executing a Test Suite, the user is then brought to the next Test Case in the Test Case Screen.

If all Test Cases have been executed, the status and success rate of the Job is updated, and the updated Job and the results of the execution are sent to the Klaros-Testmanagement Mobile Edition installation. If no connection can be set up, the user can start a new synchronization attempt later by pressing the synchronization button on the Job List Screen. The user is then brought back to the Job List.