240 likes | 504 Views
Agile Test Automation. Created and Modified By: Nishant Awasthi January 13, 2009. Agile Test Automation. Treat testware as software Application of agile development principles to the test automation project. Requirements modeling. Automation architecture modeling.
E N D
Agile Test Automation Created and Modified By: Nishant Awasthi January 13, 2009 Property of Progressive Insurance & Casualty Company
Agile Test Automation • Treat testware as software • Application of agile development principles to the test automation project. • Requirements modeling. • Automation architecture modeling. • Acceptance testing of automated scripts. • Time Boxed iterations with frequent delivery of testware. Property of Progressive Insurance & Casualty Company
Agile Automation Process… contd.. • Continuous integration of testware • Running tests with the latest development build • Continuous integrated testing • Execute tests daily in the Development and QA environment • Provide continuous feedback • Lock-step with the development and the QA team for iterative releases of testware Property of Progressive Insurance & Casualty Company
Automation Ceremonies Property of Progressive Insurance & Casualty Company
Automation Prioritization Property of Progressive Insurance & Casualty Company
Model based test script design • Model : description of a system’s behavior • Simpler than the actual system • State modeling is a common practice in embedded systems world • FiniteStateModel : consists of a set of states, a set of input events and the relations between them. • Generate Sequences of TestActions from the FSM Property of Progressive Insurance & Casualty Company
Model based test script …contd… • Applicationbehaviormodel • Exploratory modeling • Walkthroughs • Paired exploration • Capturing statesof the application • When is this action possible? • What is the outcome of this action? • Automated testactionsequences Property of Progressive Insurance & Casualty Company
Automation Steps • TestPlan Analysis • Analyze and refactor the manual test plan. • Group similar test conditions. • Script design and development • Modularize your script based on the different states or state transitions your application • Keep a single flow either positive or negative in each action that you record. • Return back to the initial state in your script. • Record the flow you are automating. • Try to add all the objects on a particular page from the active screen. • Use smart identification or vary the object recognition properties if required. • Playback your script • Repeat these steps for the negative flow • Parameterization • Use the data table of QTP for positive data parameterization. • Repeat the parameterization for negative data. • Checkpoints • Use custom and built in checkpoints • Script Elevation • Get your script acceptance tested and reviewed • Elevate it to Test Director Property of Progressive Insurance & Casualty Company
Roles and Responsibilities Property of Progressive Insurance & Casualty Company