Download presentation
Presentation is loading. Please wait.
1
Software Architecture ATAM Process Presentation
Your Application Name
2
Outline Introduction to your application
ATAM Step 3 - Present Architecture ATAM Step 4 - Identify Architectural Approaches ATAM Step 5 - Generate Quality Attribute Utility Tree ATAM Step 6 - Analyze Architectural Approaches Conclusion
3
What is your application /Why do you need the application
GUI – Graphical User Interface GUI Testing – Test the software with GUI The most of software are using GUI to interact with user, and GUI plays very important role in software Test Driven Design (TDD) is very popular
4
How to do GUI Testing Automation
Reduce time to operate the software Create test case in easy way Use a great algorithm to generate test data Provide a convenient way to edit test-flow
5
Basic Concept Determine what to test Generate test input
Generate expected output Execute test case and verify output Determine if the GUI was adequately test Performing regression testing
6
ATAM Step 3 Present Architecture
Context Diagram Sample
7
Sample OR Layer View AP User GTT OS Tester JVM Jemmy Runner XML
Java Runtime Environment JVM Jemmy Runner Sample XML Interceptor Script Model Swing Application Test Case generation Editor GTT User FSM Model HFSM Model
8
OR Model View GTT Runner Interceptor XML Script Model Editor
Test script MFSM Editor HFSM Editor GTT User Test case generator FSM Model HFSM Model
9
Quality attributes Reliability Modifiability Performance
10
Modifiability Add supporting other Java GUI library
Add edition of test case ways and views Source: developer Stimulus: … Artifact: Environment: Response: Response Measure: Source: developer Stimulus: … Artifact: Environment: Response: Response Measure:
11
MVC Pattern ATAM Step 4 Identify Architectural Approaches
Because of providing graphic interface, implementation with MVC pattern is required In order to add new edition way and views The most important parts of GUI Testing is core algorithm, and we should separate it from view
12
Layer Pattern By context diagram, whole GUI Testing architecture just likes layers Each layer’s output will be as next layer’s input
13
ATAM Step 5 Generate Quality Attribute Utility Tree
Attribute Refinement Scenario Reliability Detect incorrect GUI components … Modifiability Test Driven Support other GUI library Performance Do test oracle Test Case Generation
14
ATAM Step 6 Analyze Architectural Approaches
Scenario #: M3 Scenario: Add edition of test case ways and views, and should be done in a week Attribute(s) Modifiability Environment Design Time Stimulus Change tree-view to diagram-view Response Modification is made without effecting model Architecture decisions Sensitivity Tradeoff Risk Nonrisk MVC Pattern S1 Reasoning If want to generate test case by FSM ways, add diagram-view into editor is quite important. Architecture Diagram Tree view Diagram view Editor
15
Analyze Architectural Approaches
Sensitivity S1: MVC pattern is a sensitivity point to modifiability. S2: Update the newest hardware is a sensitivity point to performance.
16
Conclusion Conclusion and Lesson Learn!
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.