Unit III - Software Test Automation
Unit III - Software Test Automation
Subject Name:
410245(B)- Software Testing and Quality Assurance
Teaching Scheme: Examination Scheme:
TH: 03 Hours/Week In-Sem (Paper): 30 Marks
End-Sem (Paper): 70 Marks
Syllabus:
What is Test Automation, Terms used in automation, Skills needed for automation, What to
automate, scope of automation, Design and Architecture of automation, Generic requirement for Test
Tool, Process Model for Automation, Selecting Test Tool, Automation for XP/Agile model, Challenges
in Automation, Data-driven Testing. Automation Tools like JUnit, Jmeter.
26-08-2020 MVPS’s KBT College of Engineering 3
Software Test Automation..
Content
• What is Test Automation?
• Terms used in automation
• Skills needed for automation
• What to automate?
• Scope of automation
• Design and Architecture of automation
• Generic requirement for Test Tool
• Process Model for Automation
03-09-2020 MVPS’s KBT College of Engineering 4
Software Test Automation
Content
• Selecting Test Tool
• Automation for XP/Agile model
• Challenges in Automation
• Data-driven Testing
• Automation Tools like JUnit, Jmeter
• Test automation can free the test engineers from mundane tasks and
make them focus on more creative tasks.
Skills for test case Skills for test case Skills for test case Skills for framework
automation automation automation
Scripting Languages Scripting Languages Scripting Languages Programming Languages
Record-playback tools Programming Languages Programming Languages Design & Architecture Skills
usage for framework creation
Checking whether the tools Extending the test tool is Lack of trainers for test Test tools requires system
meet requirements, difficult tools upgrades
involves effort and money
Test tools are not fully Requires instrumented Test tools requires people Migration to other test
compatible with products. code to be removed for to learn new language / tools difficult.
certain tests. scripts.
Test tools are not tested Test tools are not cross- Deploying tool requires
with the same seriousness platform. huge planning and effort
as product for new
requirements.
Difficult to isolate problems
of product and test suite;
change in product causes
test suite to be changed.
03-09-2020 MVPS’s KBT College of Engineering 24
Steps for Tool Selection and Deployment
● Steps to select and deploy a test tool,
a. Identify your test suite requirements among the generic requirements
discussed. Add other requirements.
b. Make sure experiences discussed in previous sections are taken care of.
c. Collect the experiences of other organizations which used similar test tools.
d. Keep a checklist of questions to be asked to the vendors on cost/effort/support.
e. Identify list of tools that meet the above requirements.
f. Evaluate and shortlist one/set of tools and train all test developers on the tool.
g. Deploy the tool across test teams after training all potential users of the tool.
03-09-2020 MVPS’s KBT College of Engineering 25
Automation for XP (Extreme Programming) Model..
● One famous type of agile models is eXtreme Programming model;
it is called as XP.
● XP approach emphasizes on the development of the tests for the
product in the beginning itself.
● XP doesn’t expect detailed requirements documentation to begin
with.
● XP empowers programmers to easily respond to the fast changing
requirements from the customer.
03-09-2020 MVPS’s KBT College of Engineering 26
Automation for XP (Extreme Programming) Model..
● In XP the customer, managers, programmers and testers act as
partners of a cohesive and collaborative team.
● XP involves iterative process expecting frequent re-prioritizing, re-
estimating and re-scheduling of activities.