Copyright © 2003 by Trend Micro Inc. Introduction to Test Automation Terrence Chou 周存貹 趨勢科技研發部協理 2003. 5. 6.

Slides:



Advertisements
Similar presentations
High level QA strategy for SQL Server enforcer
Advertisements

Chapter 9. Performance Management Enterprise wide endeavor Research and ascertain all performance problems – not just DBMS Five factors influence DB performance.
Topics to be discussed Introduction Performance Factors Methodology Test Process Tools Conclusion Abu Bakr Siddiq.
Performance Testing - Kanwalpreet Singh.
Test Yaodong Bi.
Test process essentials Riitta Viitamäki,
Test Automation Success: Choosing the Right People & Process
Quality Assurance Overview Princeton, NJ Hyderabad, India January 2010.
Automated Software Testing: Test Execution and Review Amritha Muralidharan (axm16u)
HP Quality Center Overview.
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
  Copyright 2003 by SPAN Technologies. Performance Assessments of Internet Systems By Kishore G. Kamath SPAN Technologies Testing solutions for the enterprise.
Testing & Software Quality Seminar on software quality Karipekka Kaunisto.
APPLICATION DEVELOPMENT BY SYED ADNAN ALI.
Pertemuan Matakuliah: A0214/Audit Sistem Informasi Tahun: 2007.
EE694v-Verification-Lect5-1- Lecture 5 - Verification Tools Automation improves the efficiency and reliability of the verification process Some tools,
©Company confidential 1 Performance Testing for TM & D – An Overview.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Introduction to Software Testing
Understanding of Automation Framework A Storehouse of Vast Knowledge on Software Testing and Quality Assurance.
Agile Testing with Testing Anywhere The road to automation need not be long.
© Company Confidentialwww.itcinfotech.com Business Case for Test Automation S.Janardhanan Chief Technology Officer ITC Infotech India Limited Business.
1 CSE 403 Reliability Testing These lecture slides are copyright (C) Marty Stepp, They may not be rehosted, sold, or modified without expressed permission.
MSF Testing Introduction Functional Testing Performance Testing.
NYC Technology Forum Introduction to Test Automation 11/2/07 All rights reserved Not to be reproduced without permission Bill Rinko-Gay Solutions Director,
Copyright © Panaya Oracle ® E-Business Suite Testing: How to Get Your Business Users On-Board Amir Farhi Director, Product Marketing.
Load Test Planning Especially with HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Effective Methods for Software and Systems Integration
Automation Testing Tools
S/W Project Management
TESTING STRATEGY Requires a focus because there are many possible test areas and different types of testing available for each one of those areas. Because.
Extreme Programming Software Development Written by Sanjay Kumar.
Semester 1, 2003 Week 7 CSE9020 / 1 Software Testing and Quality Assurance With thanks to Shonali Krishnaswamy and Sylvia Tucker.
Trend Quality Assurance Edward Tsai 蔡木本 趨勢科技全球軟體研發部協理 April 22, 2003.
1 Software Testing (Part-II) Lecture Software Testing Software Testing is the process of finding the bugs in a software. It helps in Verifying and.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
Security Assessments FITSP-A Module 5
Software Testing Life Cycle
Course Presentation EEL5881, Fall, 2003 Project: Network Reliability Tests Project: Network Reliability Tests Team: Gladiator Team: Gladiator Shuxin Li.
Identify steps for understanding and solving the
Systems Design Approaches The Waterfall vs. Iterative Methodologies.
Reusability and Effective Test Automation in Telecommunication System Testing Mikael Mattas Supervisor: Professor Sven-Gustav Häggman Instructor: B.Sc.
Continuous Deployment JEFFREY KNAPP 8/6/14. Introduction Why is it valuable How to achieve What to consider.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 1: Software and Software Engineering.
Copyright © 2003 by Trend Micro Inc. 建立世界級的軟體研發中心 Trend Micro Inc. Jeremy Liang NTU Seminar.
Overview Managing a DHCP Database Monitoring DHCP
© 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright and written permission should be obtained.
PwC New Technologies New Risks. PricewaterhouseCoopers Technology and Security Evolution Mainframe Technology –Single host –Limited Trusted users Security.
Automated Testing Gireendra Kasmalkar Prabodhan Exports Pvt. Ltd.
Network design Topic 6 Testing and documentation.
Rob Davidson, Partner Technology Specialist Microsoft Management Servers: Using management to stay secure.
July, 2008 Impati – Software Test Solutions. July, Contents Testing Service Overview and Approach Test Services and Industries Key Services Offering.
Visual Studio 2005 Team System: Enabling Better Software Through Testing Tejasvi Kumar Technology Specialist - VSTS Microsoft Corporation
Performance Testing Test Complete. Performance testing and its sub categories Performance testing is performed, to determine how fast some aspect of a.
Mobile Application Testing Mobile Application Testing.
Software Architecture in Practice Mandatory project in performance engineering.
T EST T OOLS U NIT VI This unit contains the overview of the test tools. Also prerequisites for applying these tools, tools selection and implementation.
Automated Testing April 2001WISQA Meeting Ronald Utz, Automated Software Testing Analyst April 11, 2001.
Release Management for Visual Studio 2013 Ana Roje Ivančić Ognjen Bajić Ekobit.
By SPEC INDIA. TestComplete – An Introduction An automated testing tool by SmartBear – TestComplete is a comprehensive product with umpteen features and.
Tool Support for Testing Classify different types of test tools according to their purpose Explain the benefits of using test tools.
1 Presented by: Val Pennell, Test Tool Manager Date: March 9, 2004 Software Testing Tools – Load Testing.
Automation Testing Trainer: Eran Ruso. Training Agenda Automation Testing Introduction Microsoft Automation Testing Tool Box Coded UI Test and Unit Test.
Performance Assessment for Web-based Systems Min Song, Ph.D. IS 465.
Software Engineering (CSI 321)
Quality Management Perfectqaservices.
Introduction to Software Testing
Bringing more value out of automation testing
Presentation transcript:

Copyright © 2003 by Trend Micro Inc. Introduction to Test Automation Terrence Chou 周存貹 趨勢科技研發部協理

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.2 Agenda  Test Automation  Software Testing in an Enterprise Networking Environment  Group Discussion Review

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.3 Test Automation  What is Test Automation?  Make the test procedures to be executed automatically

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.4 Agenda  Why Test Automation?  False Expectations for Test Automation  Keys to Test Automation  Test Automation in PLC (Product Development Life Cycle)  Test Automation Considerations

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.5 Why Test Automation  Make the testing procedures systematic, consistent and 100% reproducible  Minimize the error-prone manual testing  Save effort of QA Engineer: fast, in the night and short testing cycle  Some testing is not able to be done manually More Cost Effective!

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.6 Benefits of Automated Testing  Production of a reliable system  Improved performance testing  Improved load/stress testing  Quality measurements

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.7 Benefits of Automated Testing  Reduction of the test effort and minimization of the schedule  Test plan development  Test procedure development  Test execution  Test result analysis  Report creation

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.8 Benefits of Automated Testing  Improvement of the quality of the test effort  Improved build verification testing(Smoke Test)  Improved regression testing  Improved multi-platform compatibility testing  Improved software compatibility testing  Improved execution of routine tasks  Improved focus on advanced test issues  Increased testing coverage  Execution of tests that can’t be done manually  Ability to reproduce software defects  After-hours testing  Easy to take over

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.9 Keys of Test Automation  Well-defined testing process  Involve at the beginning of project  Introduce test automation into process.  Repeat and continuous improvement.  Test Automation Consideration  Reuse  Measurable Values

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.10 False Expectations  False Expectations for Test Automation  Immediate Test Effort Reduction  Immediate Schedule Reduction  One Test Tool Fits All  Tool Ease of Use  100% Test Coverage

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.11 Some Questions Before Involvement  Scope the test automation  Which part should be automated  What is the priority  Which part can't or not worth automating  To buy or not?  Use commercial tool  Write program/script by ourselves  How to do automation?  How to organize these binaries with test data  How to deploy them to each test machine  How to gather test result and generate report ROI Analysis

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.12 Test Development in PLC  High Level Design  Involved Activities Test Plan Formulation Test Plan Review UI Review I  Outputs Test Automation Plan –Test Automation Decision –Tool Selection –Test Software (Tool) Development Requirements (TRD) –Performance Benchmark Plan –Risk Assessment

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.13 Test Development in PLC  Detail Design  Involved Activities Design Document Formulation Test Case Design and Review –Tool Introduction Test Software Design  Outputs Test Software Detail Design Document Test Software Schedule and Milestones

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.14 Test Development in PLC  Construction  Involved Activities Conduct Unit Test –Provide auto-test framework Test Software Development  Outputs Test Software Auto Test Scripts –Write auto test scripts for selected test cases or by requests –Conduct auto test scripts into automation smoke test process

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.15 Test Development in PLC  Pre-Release  Involved Activities Tune Performance  Outputs Performance Report/Recommendations

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.16 Test Development in PLC  Closure  Involved Activities Endorsement Meeting Post-Mortem Meeting  Outputs Test Automation Document

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.17 Test Automation Checklist  Can the test sequence of actions defined clearly?  Is it possible to automate the sequence of actions?  Is it possible to “semi-automate” a test?  Is it necessary to repeat the sequence of actions many times?  Do you need to run the same tests on multiple hardware configurations?  Are you testing non-UI aspects of the programs?

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.18 Test Automation Considerations  When to involve in a project  Don't lose sight of testing goals  Don't duplicate automation of the AUT's program logic  Analyze the automation effort  Analyze the reuse potential of automated modules  Focus on repetitive tasks  Focus on data-driven tasks

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.19 Testing Tools  Rational: Visual Test (original from Microsoft)  Rational: Robot  Microsoft: Visual Basic, Visual C/C++  Script language: Perl…  Others:  Pure Coverage  SendMail, MailBomb…  Burnit  …

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.20 Discussion  Does test automation save time?  Time invested v.s. Time saved  Who invests the time v.s. Who saves time  The testing schedule is shortened v.s. Neither fewer testers nor faster release cycle.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.21  Q & A

Copyright © 2003 by Trend Micro Inc. Software Testing in an Enterprise Networking 2003 NTU Seminar

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.23 RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line  Enterprise Networking Topology  Software Performance Testing  Software Security Testing  Q&A

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.24 RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line  Internet Segment - Provide internet services to customers.  Extranet Segment - Provide B2B services to business partners.  Intranet Segment - Provide enterprise services to internal users.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.25

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.26 RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line  Software Performance Testing -Testing focused on both “how much” and “how fast” the software can handle.  Software Load Testing -Testing focused on “how much” the software can handle.  Software Stress Testing -Testing focused on “varying loads” that the software can handle.  Tools for Performance Testing -Introduction of industry’s enterprise-class load testing tools to simulate thousands of users to measure software performance and get server resources data (CPU, MEM, Disk I/O, Network I/O...) in real-time for performance improvement and bottleneck analysis.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.27 RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line  Step 1: Creating a script with the Recorder. -Capture the test script of traffic transferred between a client application and a server then do a trial run.  Step 2: Customizing the generated test script. -Customizing the test script you have generated allows you to take the actions performed by a single user and from them create a realistic simulation of multiple users.  Step 3: Replaying the customized script. -Select the workload model and prepare the workload to run a full load test.  Step 4: Viewing the results of the load test. -Explore response time and throughput results of the load test and display performance results in real time to analyze performance from the client and server point of view.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.28 RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line  Software Security Holes Testing -Testing focused on finding well known software security holes in the audits database.  Software Buffer Overflow Testing -Testing focused on finding the software buffer overflow problems on listening ports.  Software Hacking Testing -Testing focused on simulating hackers to find unknown software security holes.  Tools for Security Testing -Introduction tools to scan software security problems and create reports for software security risk analysis.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.29 RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line  Step 1: Check the audits database. -Keep the audit database up to date before software security holes testing.  Step 2: Select the security test policy. -Select the test policy you need (scan perform protocol identification on found open ports or scan all ports in range) then run a complete scan and view results to analyze risk.  Step 3: Create and customize a new audit. -Create a new audit and customize for a hacker simulation test.  Step 4: Run the buffer overflow checks. -Run the DoS checks to test listening ports (FTP, HTTP, SMTP, POP3) and find the host down service.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.30  Q & A

Copyright © 2003 by Trend Micro Inc. Group Discussion Review Terrence Chou 周存貹 趨勢科技研發部協理

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.32 Agenda  MRD (Marketing Requirement Document)  Project Plan  Communication  Change Control  Confidence level  What are you going to do in next 6 weeks  What should you prepare at 6/10

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.33 MRD  Ideas come from:  Past project related  Improve Trend’s programming contest  Team interest  Many creative ideas  Good customer survey  Dropped ideas…  Has priorities

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.34 Project Plan  Only 6 weeks left  Most teams have high level design already  Most PM, RD and QA have plan  What is plan:  PM, RD and QA time table  QA and RD must sync the work  PM must check the schedule constantly  Everybody should response for the prediction

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.35 Communication  How many meetings already?  Everybody contribute his/her thoughts?  Listen and respect others.  No mis-understanding.

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.36 Change Control  What should you do when one of team member gone?  Every team will cover the job by others.  What should you do if the requirements changed?  What should you do if the milestone missed?

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.37 Confidence level  Most team has 85% ~ 100% confidence level  Too optimistic?  Don’t take too conservative  Willing to take the challenge

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.38 Conclusion  Creative  Above my expection  Communication  Find the way to communicate  Change  Willing to accept the change  Customer focus  Need approve

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.39 What are you going to in next 6 weeks  PM: Monitoring  RD: Coding  QA: Testing  All: Documentation

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.40 What should you prepare at 6/10  A working product!  MRD  Project Plan  PM, RD and QA time table  Source code  Test cases  Bug statistic  Presentation file  Try to see this product

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.41 What should you prepare at 6/10  Optional:  Usability study  User’s manual  Change control history  Architectural design  Focus Group  L10N/G18N plan  Future plan  …

RUNNING HEADER, 14 PT., ALL CAPS, Line Spacing=1 line Copyright © 2003 by Trend Micro Inc.42  Q & A