Browse Prior Art Database

UML Modeling Test Automation

IP.com Disclosure Number: IPCOM000146983D
Original Publication Date: 2006-Oct-01
Included in the Prior Art Database: 2007-Mar-13
Document File: 4 page(s) / 119K

Publishing Venue

Motorola

Related People

Kok Weng Lai: AUTHOR [+2]

Abstract

UML Modeling test automation is utilizing UML use-case modeling tool to analyze the software’s desired behavior and interaction with user in order to build a model of the system that defines the system functions and responses to specific inputs. This model is capable of generating new value-added test flows and adapts well to changes in the application.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 39% of the total text.

Page 1 of 4

UML Modeling Test Automation

            Lai Kok Weng
Motorola Global Software Group, Cyberjaya, Malaysia. kokwenglai@motorola.com

             Irene Wee
Motorola Global Software Group, Cyberjaya, Malaysia. irene.wee@motorola.com

Abstract

UML Modeling test automation is utilizing UML use-case modeling tool to analyze the software's desired behavior and interaction with user in order to build a model of the system that defines the system functions and responses to specific inputs. This model is capable of generating new value-added test flows and adapts well to changes in the application.

UML State Diagram is used to encapsulate the current state, input, transition, output, next state of the system test object to identify the valid use path for creating test case and test script for automation. This process can then be repeated for alternate path, which represents another use scenario, and validates another sequence of actionsand outcomes.

The dynamic Activity Diagram defines all the possible sequence of actions and outcomes due to certain condition at a specific point of the system usage. It results in different scenarios or alternate paths that form a blueprint for structured analysis of the system that enables the tester to formulate test coverage and script to automate the system testing.

Keywords

Test Automation UML Modeling Use-Case Activity Diagram State Diagram

1 Introduction

UML Modeling test automation has been identified by the Test Group of Motorola GSG Malaysia as a good approach to automate the test planning and test execution phase.

An example of automating test case generation by using Rational RoseTM tool is described in Case Study 1 to show the applicability of UML use-case modeling in GSM (2G) testing. Another example of BTS1Reparenting to move a BTS to another CBSC in the same or different OMC-R2 will also be described in Case Study 2 to demonstrate the leveraging of UML Modeling test automation in CDMA (OMC-R) testing.

2 Case Study 1: UML Modeling Test

Automation in GSM (2G) Testing

One of the Automated test case generation tools is Rational RoseTM whereby Script is written to traverse a UML Activity Diagram to produce test procedure.

  Rational RoseTM is especially useful during test planning phase if requirements documents are written in textual use-case format. Test requirements in use-case format enable test engineers to verify the system in all possible behavioural states. Diagram 1 shows an example of textual use-case requirement.

Diagram 1: Example of textual use-case format requirements

[This page contains 1 picture or other non-text object]

Page 2 of 4

  Textual use-case can be translated into UML Activity Diagram easily and this step is manually performed by test case author. UML Activity Diagram is a model of the system that defines desired behaviours and outcomes with specific inputs. There could be more than...