SlideShare a Scribd company logo
Best Practices in Testing Force.com Applications
October 3, 2013
Emtec Team Introductions

Mike Carter, Salesforce.com Practice Lead
Mike has over 15 years of experience in IT strategy, consulting, and technologyenabled business improvement across multiple industries, geographies, and
organizations. Responsible for leading and developing Emtec’s Salesforce.com team.
Mike’s expertise spans IT strategy, technology implementations, program and project
management, business process improvement, and organizational design. Prior to
joining Emtec, Mike was responsible for delivery and sales of professional services
engagements in the East and Central regions for Salesforce.com. Having worked in
the CRM space for 12 years, Mike has implemented SFDC for over 40 clients.

Dan Olsen, Salesforce.com Practice Lead
Excellence in delivery is Dan Olsen's singular focus and his responsibilities include
managing the delivery of Salesforce.com projects for our clients in the Michigan
region. In addition to his 15 year history developing and managing technology in the
automotive sector, Dan has spent the last 9years working specifically in the field of
Customer Relationship Management - including time with Model Metrics, now owned
by Salesforce.com. Dan is an expert with the Force.com platform, including Sales
Cloud, Service Cloud, Chatter and system integrations. He has a strong record of
translating complex business processes and requirements into CRM solutions that
solve problems and delight clients.

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

2
Emtec… ‘Big enough to do the work, small enough to care’
EMTEC THE COMPANY
• Serving clients for over 46 years
• 14 locations, including 8 development centers
• Voted One of the Top 100 Places to Work by Crain’s
Chicago in 2012
• Our consultants have an average of 14 years of
experience. Nearly 45% have advanced certifications
• 73% of our PMs, Architects & Consultants worked at Tier
1 consultancies in a previous life
• $255M IT Services Provider
• Regularly compete & win against larger IT service
providers

US Locations
• Springfield, NJ (HQ)
• Atlanta, GA
• Chicago, IL
• Dayton, OH
• Fremont, CA
• Jacksonville, FL
• Herndon, VA
• Minneapolis, MN
• Oakbrook, IL
• St. Louis, MO

THE

WORLD

Global Offices
• Toronto, Canada
• Ottawa, Canada
• Pune, India
• Bangalore, India

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

• Emtec has completed more than 1,100 Package Application
engagements, including:
-

• Over 1,000 full-time professionals

EMTEC AROUND

EMTEC SERVICES AT A GLANCE

200+ Oracle clients with more than 415 engagements

-

206 EPM / Hyperion & OBIEE clients and 323 engagements

-

186 Microsoft Dynamics and more than 255 projects

• Emtec is a premier provider of SaaS and Emerging
technologies market, including 51 Salesforce Clients with
more than 75 engagements, Including Sales Cloud, Service
Cloud and Custom Cloud
• Emtec has performed more than 6.3M hours of application
development and maintenance work ranging from Business
Analysis to Product Development
• Emtec has served more than 565 Infrastructure services
clients where we have:
-

Deployed more than 1.85M servers, personal computers, tablets
and mobile devices

-

Installed or provided more than 925 exabytes of storage
(That’s a whole lot…)

-

Triaged more than 30,000 L1 support incidents

-

Implemented service management solutions for more than 125
clients

3
Agenda

Need for Test Automation

Test Automation Best Practices for Force.com

Demo: So How Does it Look?

Next Steps

Q&A

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

4
Quality Assurance and Testing: Demands and Challenges
• Companies spend over $50B on QA and the demand is growing
• QA organizations are constantly under pressure to test more within shorter
timeframes and a reduced budget.
QA Organization Demands

QA Organization Challenges

• Scope Increasing

• Typical QA Effort Planned – 25%-35%

− Cross-browser compatibility – web, mobile-web

• Whereas QA Effort Expended – 15%-20%

− Regulatory compliance

• Typical Automation Coverage – 55%

− Threat Vulnerability

• Less Time to Test

• Typical Automation Effectiveness – 65%

– Rapid application development

• 45% of Automation projects stalled

– Shorter product release cycles
– Distributed development

• 55% of Automation projects don’t achieve ROI

• Increased Consequence of Defects

• Effective utilization of QA resources – 70%

Emtec’s QA Practice offerings are designed to help our clients address
these challenges more effectively.
Emtec, Inc. Proprietary & Confidential. All rights reserved 2012.

5
Force.com Application Development and Testing Landscape
• Force.com applications are getting larger and more complex, with shorter
development cycles
– Drives need for a comprehensive test plan
– As features are added, regression testing becomes key
– Code coverage must be significant, not just meet the minimum code
coverage requirement of 75%
• Agile development methods are driving the need for rigorous testing
–An ongoing regression test framework is essential to ensure that working
functions are not inadvertently impaired during subsequent sprints
–Building and executing an automated suite of regression tests enhances the
ability to develop these applications rapidly and with high quality
Today, we will share with you a way to test Force.com
applications effectively and efficiently.

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

6
WHAT DOES IT ALL MEAN?
• The trend in software Quality Assurance is to do more with
less, with higher stakes
• Force.com applications are becoming more complex
• Agile development methodologies are driving shorter
development cycles, with an emphasis on testing.
• Automated testing is the logical solution to meet the
challenge.

7
Best Practices in Building a Test Automation Suite
• Tool Agnostic

– Should be able to configure multiple
environments ( dev, test, stage) for same test
case execution

– Plug and Play
– Ability to work with different tools with minimal
• Analytics
impact on test coverage
– Incorporate automated verification of results
– Ability to reflect product status in
• Business Aligned Automation
– Provide trend analysis for individual features
– Use case based testing
– Compare execution results across multiple
– Support reusability of scripts – assemble
runs
scenarios using atomic scripts
– Provide Object-based automation (minimize
• API testing
impact of UI layout changes)
– Somewhat neglected area in test automation
• Create test scenarios on the fly
– Key element in web development where
support needs to be provided on various
– Ability to use English statements (leveraging
platforms.
Behaviour Driven Design) to create test
scenarios, empowering your business users to
– APIs are mainly used for data transfer and
create dynamic scenarios
various key operations
– Ability to verify each parameters and its
variation in standalone manner
• Keep configuration effort low
– Browsers to be launched for execution
– Data driven and parameterized (same script • Distributed
can run for multiple data conditions without
– Enable Configurable execution for
need to modify scripts)
unattended operation
– across diverse data sources
Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

8
Best Practices for Building Automated Regression Tests
• Design Tests to Meet Organization Objectives:
– Assess product quality objectives
– Aligned with time-to-market product development objectives
– Balance cost against resource constraints
– Tailored to deliver realizable ROI

• Will Involve:
– Up front setup activities including: tools, standards and guidelines to drive
consistency and auditability
– Proof-of-concept / pilots, to validate alignment of direction
– ABC analysis of test cases – not all test cases are amenable for automation
– Leverage automation best practices, frameworks and assets (such as eSTAF)

9
Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.
Additional Considerations for Force.com Applications
• Need to ensure and demonstrate adequate Code Coverage (75%)
– Insertion of Test Classes into custom code in sandbox environment
– Creation of mock test classes for inbound web services (integration)
– Add coverage for triggers and batch processes
• Testing against a cloud environment
– Security considerations (firewall)
• Carefully design and sequence your test to avoid exceeding limits
– Data limitations
– API call/governor limits
• Testing integrations from Force.com to external applications (cloud to cloud)
– Example: Force.com calls to USPS address validation

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

10
Benefits of Automated Regression Testing

Accelerated
Automated Testing

Business Goal
Greater Test Coverage where its laborous to generate test data

Frequent Test Execution
On Demand Testing as part of continuous integration
Cross Browser Functional testing
Repeatable Test execution (across customers, environments,
scenarios etc.)
API regression testing using various protocols (SOAP, REST, etc.)
Complete regression testing during specified batch window
Avoid repeating prerequisite steps for executing complex scenarios
Leverage existing automation, record & play tools
Executing test scenarios across variety of data providers

Customizable user defined integrated reporting
Trend Analysis

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

11

Manual Testing
Project Wave
Test Automation Demo
Emtec’s Software Test Automation Framework Architecture
Application Under Test (AUT)
UI

Business Layer

WEB / WINFORMS / HEADLESS

SOAP / REST

DATASOURCES

Business Adaptor

eSTAF Core

(SFDC Example)

Application API

OpportunityManager

Scenario 1

Scenario 2
Business Process
Workflow(s)

Scenario N
Business Process
Workflow(s)

AccountManager

Configuration
Framework

Application
Manager
Skeleton

Object Cache
Base classes

Utility Framework
Data Driven
Capabilities

Account

Utility
Classes

Session
Manager

Opportunity

Execution & Reporting Engine
Lead

Contact

Reporting
Framework

Result Trend
Analysis

eSTAF Team

UAT Automation Team
Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

API
Framework

UserManager

Object Cache

Business Process
Workflow(s)

R E U S E

e S TA F D a s h b o a r d

Test Scenarios

MS SQL

14

Multi process
Execution
Deployment Diagram and User Roles Involved

Test Framework
Team

Deploy latest Binaries, Provide
support to Automation team
Execute test cases, generate reports, analyze
and verify results, report issues as necessary
QA team

eSTAF Framework Binaries

Insert test code, fix defects and retest

Test
Framework Server

Development
team

Business Adapters
& Test Cases
Automation team

Connect and Execute Test cases
Develop new adapters and
test cases, upload to server

Connect and Execute
Test cases

Staging/UAT Server

Development
Server

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

15

QA Server
An Agile approach to test automation accelerates realization of benefits We can help you get started with the Inception Phase – stay tuned for the details!
Inception

Design

Construction

Test Runs and
Analysis

Ongoing
Support

Project Governance
Understand
Application
Landscape

Design Test
Suite
Management
Features

Evaluate Test
Requirements

Design Test
Execution
strategy

Identify
candidates
for Automation

Sprint Planning

Deployment

Automation
Architecture
Design

Define Overall
Approach and
Plan

Pilot/Proof Of
Concept

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

Create
Automation
Roadmap

Create &
Prioritize
Automation
backlog

Groom Stories

Test Execution,
Analysis & Bug
reporting

Business Adaptor
/ Test case
design

UAT

Automation
development

Sprint 1,2,…n

16

Sprint Closure

Revise Product
Backlog
considering
Enhancements /
Maintenance
Needs
Next Steps

Complimentary Automation Readiness Assessment
Let us help you get started on the Inception Phase with an automation readiness
assessment aimed at identifying ways to improve the quality of your Force.com
Applications.

Sign up for your Complimentary Assessment Today!
For more information or to sign up today, contact Erica Archer at:
erica.archer@emtecinc.com or 312-216-4911

Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.

17
Join us for Happy Hour at Dreamforce ‘13

Join us at Dreamforce ‘13 on
November 20th at Annabelle’s Bar
& Bistro for cocktails, food and a
chance to connect with other
conference attendees at this local
favorite, conveniently located just
steps away from The Moscone
Center!
Location: Annabelle’s Bar & Bistro
Date: Wednesday, November 20
Time: 6:00 p.m. – 9:00 p.m.
REQUEST A TICKET!
Contact Erica Archer at: Erica.archer@emtecinc.com or 312-216-4911

Emtec, Inc. Proprietary & Confidential. All rights reserved 2012.

18
Thank you!

More Related Content

PPTX
QAS 2015 Overview Abbreviated Deck
PPTX
Continuous test automation
PDF
Whose test is it anyway - LW&CN v0.3
DOC
Uma Peddi_ QA Lead_Analyst
PDF
Test Automation: A Roadmap For Sucesss
PDF
Application Lifecycle Transformation...a DevOps Discussion - By David Miller ...
DOC
SivakumarSai QA Selenium 2017
DOC
Ruchika_Mittal_Resume
QAS 2015 Overview Abbreviated Deck
Continuous test automation
Whose test is it anyway - LW&CN v0.3
Uma Peddi_ QA Lead_Analyst
Test Automation: A Roadmap For Sucesss
Application Lifecycle Transformation...a DevOps Discussion - By David Miller ...
SivakumarSai QA Selenium 2017
Ruchika_Mittal_Resume

What's hot (20)

PPTX
Df14 Salesforce Advanced Developer Certification
PPTX
50+ ways to improve tester - programmer relationship
PPTX
Assure - Complete Standardization for HP ALM
PDF
Performance Monitoring and Testing in the Salesforce Cloud
DOCX
SANGEETHA S JADAV
PPT
ALM (Application Lifecycle Management)
PPTX
LMS TESTING SERVICES
PDF
Reshma Resume 2016
DOC
Musharraf_Syed_Resume
PPT
Performance Engineering Basics
PDF
Contributors for Delivering a Successful Testing Project Seminar
PDF
Case Study: ABAP Development Life Cycle and Governance at THE GLOBE AND MAIL ...
PDF
What is performance_engineering_v0.2
PDF
Primer on application_performance_testing_v0.2
PPTX
Assure TotalView - Analytics for Application Delivery
PPTX
Primer on enterprise_performance_maturity_v0.2
PPTX
Neev Independent Testing Services
PPT
Polarion Tomorrows ALM Platform Today
PDF
GLOC 2018: Automation or How We Eliminated Manual EBS R12.2 Upgrades and Beca...
DOC
Shruti Sharma_Testing_Sel
Df14 Salesforce Advanced Developer Certification
50+ ways to improve tester - programmer relationship
Assure - Complete Standardization for HP ALM
Performance Monitoring and Testing in the Salesforce Cloud
SANGEETHA S JADAV
ALM (Application Lifecycle Management)
LMS TESTING SERVICES
Reshma Resume 2016
Musharraf_Syed_Resume
Performance Engineering Basics
Contributors for Delivering a Successful Testing Project Seminar
Case Study: ABAP Development Life Cycle and Governance at THE GLOBE AND MAIL ...
What is performance_engineering_v0.2
Primer on application_performance_testing_v0.2
Assure TotalView - Analytics for Application Delivery
Primer on enterprise_performance_maturity_v0.2
Neev Independent Testing Services
Polarion Tomorrows ALM Platform Today
GLOC 2018: Automation or How We Eliminated Manual EBS R12.2 Upgrades and Beca...
Shruti Sharma_Testing_Sel
Ad

Viewers also liked (9)

PDF
MBA Degree & Results
DOCX
Admission
PDF
Giada_feature
PDF
10 Insightful Quotes On Designing A Better Customer Experience
PDF
Learn BEM: CSS Naming Convention
PPTX
How to Build a Dynamic Social Media Plan
PDF
SEO: Getting Personal
PDF
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
PDF
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
MBA Degree & Results
Admission
Giada_feature
10 Insightful Quotes On Designing A Better Customer Experience
Learn BEM: CSS Naming Convention
How to Build a Dynamic Social Media Plan
SEO: Getting Personal
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Ad

Similar to Best Practices in Testing Force.com Application (20)

PDF
Webinar Presentation: Best Practices in QA Testing - Leveraging Open Source T...
PDF
Webinar: Ten Ways to Enhance Your Salesforce.com Application in 2013
PPTX
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
DOC
Mandar cv
PPTX
Rushcode overview
PPTX
Top Business Benefits of Application Lifecycle Management (ALM)
PPTX
Questions for successful test automation projects
PDF
Simplify Salesforce Testing with AI-Driven Codeless Tools
DOC
Shaik Azaharuddin Resume updated
PDF
Quality at the speed of digital
DOC
madvel_QA
PPTX
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
DOC
Manul resume 1+
PPTX
How To Avoid Continuously Delivering Faulty Software
PDF
5 Steps to Get Precise SAP Impact-Based Testing
PPT
Aviana-Nrit BI.ppt
DOC
Narendra tomar (test manager)
DOC
Chandan_3.7 Years of Experience_Oracle
PPT
CEI Capabilities 2009
Webinar Presentation: Best Practices in QA Testing - Leveraging Open Source T...
Webinar: Ten Ways to Enhance Your Salesforce.com Application in 2013
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Mandar cv
Rushcode overview
Top Business Benefits of Application Lifecycle Management (ALM)
Questions for successful test automation projects
Simplify Salesforce Testing with AI-Driven Codeless Tools
Shaik Azaharuddin Resume updated
Quality at the speed of digital
madvel_QA
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Manul resume 1+
How To Avoid Continuously Delivering Faulty Software
5 Steps to Get Precise SAP Impact-Based Testing
Aviana-Nrit BI.ppt
Narendra tomar (test manager)
Chandan_3.7 Years of Experience_Oracle
CEI Capabilities 2009

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Electronic commerce courselecture one. Pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Approach and Philosophy of On baking technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
cuic standard and advanced reporting.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Empathic Computing: Creating Shared Understanding
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Electronic commerce courselecture one. Pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Approach and Philosophy of On baking technology
“AI and Expert System Decision Support & Business Intelligence Systems”
cuic standard and advanced reporting.pdf
MYSQL Presentation for SQL database connectivity
NewMind AI Monthly Chronicles - July 2025
Review of recent advances in non-invasive hemoglobin estimation
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Empathic Computing: Creating Shared Understanding
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Dropbox Q2 2025 Financial Results & Investor Presentation
Advanced methodologies resolving dimensionality complications for autism neur...

Best Practices in Testing Force.com Application

  • 1. Best Practices in Testing Force.com Applications October 3, 2013
  • 2. Emtec Team Introductions Mike Carter, Salesforce.com Practice Lead Mike has over 15 years of experience in IT strategy, consulting, and technologyenabled business improvement across multiple industries, geographies, and organizations. Responsible for leading and developing Emtec’s Salesforce.com team. Mike’s expertise spans IT strategy, technology implementations, program and project management, business process improvement, and organizational design. Prior to joining Emtec, Mike was responsible for delivery and sales of professional services engagements in the East and Central regions for Salesforce.com. Having worked in the CRM space for 12 years, Mike has implemented SFDC for over 40 clients. Dan Olsen, Salesforce.com Practice Lead Excellence in delivery is Dan Olsen's singular focus and his responsibilities include managing the delivery of Salesforce.com projects for our clients in the Michigan region. In addition to his 15 year history developing and managing technology in the automotive sector, Dan has spent the last 9years working specifically in the field of Customer Relationship Management - including time with Model Metrics, now owned by Salesforce.com. Dan is an expert with the Force.com platform, including Sales Cloud, Service Cloud, Chatter and system integrations. He has a strong record of translating complex business processes and requirements into CRM solutions that solve problems and delight clients. Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 2
  • 3. Emtec… ‘Big enough to do the work, small enough to care’ EMTEC THE COMPANY • Serving clients for over 46 years • 14 locations, including 8 development centers • Voted One of the Top 100 Places to Work by Crain’s Chicago in 2012 • Our consultants have an average of 14 years of experience. Nearly 45% have advanced certifications • 73% of our PMs, Architects & Consultants worked at Tier 1 consultancies in a previous life • $255M IT Services Provider • Regularly compete & win against larger IT service providers US Locations • Springfield, NJ (HQ) • Atlanta, GA • Chicago, IL • Dayton, OH • Fremont, CA • Jacksonville, FL • Herndon, VA • Minneapolis, MN • Oakbrook, IL • St. Louis, MO THE WORLD Global Offices • Toronto, Canada • Ottawa, Canada • Pune, India • Bangalore, India Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. • Emtec has completed more than 1,100 Package Application engagements, including: - • Over 1,000 full-time professionals EMTEC AROUND EMTEC SERVICES AT A GLANCE 200+ Oracle clients with more than 415 engagements - 206 EPM / Hyperion & OBIEE clients and 323 engagements - 186 Microsoft Dynamics and more than 255 projects • Emtec is a premier provider of SaaS and Emerging technologies market, including 51 Salesforce Clients with more than 75 engagements, Including Sales Cloud, Service Cloud and Custom Cloud • Emtec has performed more than 6.3M hours of application development and maintenance work ranging from Business Analysis to Product Development • Emtec has served more than 565 Infrastructure services clients where we have: - Deployed more than 1.85M servers, personal computers, tablets and mobile devices - Installed or provided more than 925 exabytes of storage (That’s a whole lot…) - Triaged more than 30,000 L1 support incidents - Implemented service management solutions for more than 125 clients 3
  • 4. Agenda Need for Test Automation Test Automation Best Practices for Force.com Demo: So How Does it Look? Next Steps Q&A Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 4
  • 5. Quality Assurance and Testing: Demands and Challenges • Companies spend over $50B on QA and the demand is growing • QA organizations are constantly under pressure to test more within shorter timeframes and a reduced budget. QA Organization Demands QA Organization Challenges • Scope Increasing • Typical QA Effort Planned – 25%-35% − Cross-browser compatibility – web, mobile-web • Whereas QA Effort Expended – 15%-20% − Regulatory compliance • Typical Automation Coverage – 55% − Threat Vulnerability • Less Time to Test • Typical Automation Effectiveness – 65% – Rapid application development • 45% of Automation projects stalled – Shorter product release cycles – Distributed development • 55% of Automation projects don’t achieve ROI • Increased Consequence of Defects • Effective utilization of QA resources – 70% Emtec’s QA Practice offerings are designed to help our clients address these challenges more effectively. Emtec, Inc. Proprietary & Confidential. All rights reserved 2012. 5
  • 6. Force.com Application Development and Testing Landscape • Force.com applications are getting larger and more complex, with shorter development cycles – Drives need for a comprehensive test plan – As features are added, regression testing becomes key – Code coverage must be significant, not just meet the minimum code coverage requirement of 75% • Agile development methods are driving the need for rigorous testing –An ongoing regression test framework is essential to ensure that working functions are not inadvertently impaired during subsequent sprints –Building and executing an automated suite of regression tests enhances the ability to develop these applications rapidly and with high quality Today, we will share with you a way to test Force.com applications effectively and efficiently. Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 6
  • 7. WHAT DOES IT ALL MEAN? • The trend in software Quality Assurance is to do more with less, with higher stakes • Force.com applications are becoming more complex • Agile development methodologies are driving shorter development cycles, with an emphasis on testing. • Automated testing is the logical solution to meet the challenge. 7
  • 8. Best Practices in Building a Test Automation Suite • Tool Agnostic – Should be able to configure multiple environments ( dev, test, stage) for same test case execution – Plug and Play – Ability to work with different tools with minimal • Analytics impact on test coverage – Incorporate automated verification of results – Ability to reflect product status in • Business Aligned Automation – Provide trend analysis for individual features – Use case based testing – Compare execution results across multiple – Support reusability of scripts – assemble runs scenarios using atomic scripts – Provide Object-based automation (minimize • API testing impact of UI layout changes) – Somewhat neglected area in test automation • Create test scenarios on the fly – Key element in web development where support needs to be provided on various – Ability to use English statements (leveraging platforms. Behaviour Driven Design) to create test scenarios, empowering your business users to – APIs are mainly used for data transfer and create dynamic scenarios various key operations – Ability to verify each parameters and its variation in standalone manner • Keep configuration effort low – Browsers to be launched for execution – Data driven and parameterized (same script • Distributed can run for multiple data conditions without – Enable Configurable execution for need to modify scripts) unattended operation – across diverse data sources Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 8
  • 9. Best Practices for Building Automated Regression Tests • Design Tests to Meet Organization Objectives: – Assess product quality objectives – Aligned with time-to-market product development objectives – Balance cost against resource constraints – Tailored to deliver realizable ROI • Will Involve: – Up front setup activities including: tools, standards and guidelines to drive consistency and auditability – Proof-of-concept / pilots, to validate alignment of direction – ABC analysis of test cases – not all test cases are amenable for automation – Leverage automation best practices, frameworks and assets (such as eSTAF) 9 Emtec, Inc. Proprietary & Confidential. All rights reserved 2013.
  • 10. Additional Considerations for Force.com Applications • Need to ensure and demonstrate adequate Code Coverage (75%) – Insertion of Test Classes into custom code in sandbox environment – Creation of mock test classes for inbound web services (integration) – Add coverage for triggers and batch processes • Testing against a cloud environment – Security considerations (firewall) • Carefully design and sequence your test to avoid exceeding limits – Data limitations – API call/governor limits • Testing integrations from Force.com to external applications (cloud to cloud) – Example: Force.com calls to USPS address validation Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 10
  • 11. Benefits of Automated Regression Testing Accelerated Automated Testing Business Goal Greater Test Coverage where its laborous to generate test data Frequent Test Execution On Demand Testing as part of continuous integration Cross Browser Functional testing Repeatable Test execution (across customers, environments, scenarios etc.) API regression testing using various protocols (SOAP, REST, etc.) Complete regression testing during specified batch window Avoid repeating prerequisite steps for executing complex scenarios Leverage existing automation, record & play tools Executing test scenarios across variety of data providers Customizable user defined integrated reporting Trend Analysis Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 11 Manual Testing
  • 14. Emtec’s Software Test Automation Framework Architecture Application Under Test (AUT) UI Business Layer WEB / WINFORMS / HEADLESS SOAP / REST DATASOURCES Business Adaptor eSTAF Core (SFDC Example) Application API OpportunityManager Scenario 1 Scenario 2 Business Process Workflow(s) Scenario N Business Process Workflow(s) AccountManager Configuration Framework Application Manager Skeleton Object Cache Base classes Utility Framework Data Driven Capabilities Account Utility Classes Session Manager Opportunity Execution & Reporting Engine Lead Contact Reporting Framework Result Trend Analysis eSTAF Team UAT Automation Team Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. API Framework UserManager Object Cache Business Process Workflow(s) R E U S E e S TA F D a s h b o a r d Test Scenarios MS SQL 14 Multi process Execution
  • 15. Deployment Diagram and User Roles Involved Test Framework Team Deploy latest Binaries, Provide support to Automation team Execute test cases, generate reports, analyze and verify results, report issues as necessary QA team eSTAF Framework Binaries Insert test code, fix defects and retest Test Framework Server Development team Business Adapters & Test Cases Automation team Connect and Execute Test cases Develop new adapters and test cases, upload to server Connect and Execute Test cases Staging/UAT Server Development Server Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 15 QA Server
  • 16. An Agile approach to test automation accelerates realization of benefits We can help you get started with the Inception Phase – stay tuned for the details! Inception Design Construction Test Runs and Analysis Ongoing Support Project Governance Understand Application Landscape Design Test Suite Management Features Evaluate Test Requirements Design Test Execution strategy Identify candidates for Automation Sprint Planning Deployment Automation Architecture Design Define Overall Approach and Plan Pilot/Proof Of Concept Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. Create Automation Roadmap Create & Prioritize Automation backlog Groom Stories Test Execution, Analysis & Bug reporting Business Adaptor / Test case design UAT Automation development Sprint 1,2,…n 16 Sprint Closure Revise Product Backlog considering Enhancements / Maintenance Needs
  • 17. Next Steps Complimentary Automation Readiness Assessment Let us help you get started on the Inception Phase with an automation readiness assessment aimed at identifying ways to improve the quality of your Force.com Applications. Sign up for your Complimentary Assessment Today! For more information or to sign up today, contact Erica Archer at: erica.archer@emtecinc.com or 312-216-4911 Emtec, Inc. Proprietary & Confidential. All rights reserved 2013. 17
  • 18. Join us for Happy Hour at Dreamforce ‘13 Join us at Dreamforce ‘13 on November 20th at Annabelle’s Bar & Bistro for cocktails, food and a chance to connect with other conference attendees at this local favorite, conveniently located just steps away from The Moscone Center! Location: Annabelle’s Bar & Bistro Date: Wednesday, November 20 Time: 6:00 p.m. – 9:00 p.m. REQUEST A TICKET! Contact Erica Archer at: Erica.archer@emtecinc.com or 312-216-4911 Emtec, Inc. Proprietary & Confidential. All rights reserved 2012. 18