SlideShare a Scribd company logo
1 of 19
Download to read offline
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

What's hot

Performance Monitoring and Testing in the Salesforce Cloud
Performance Monitoring and Testing in the Salesforce CloudPerformance Monitoring and Testing in the Salesforce Cloud
Performance Monitoring and Testing in the Salesforce Cloud
Salesforce Developers
 
Polarion Tomorrows ALM Platform Today
Polarion Tomorrows ALM Platform TodayPolarion Tomorrows ALM Platform Today
Polarion Tomorrows ALM Platform Today
polarion
 
Shruti Sharma_Testing_Sel
Shruti Sharma_Testing_SelShruti Sharma_Testing_Sel
Shruti Sharma_Testing_Sel
Shruti Sharma
 

What's hot (20)

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

Viewers also liked

MBA Degree & Results
MBA Degree & ResultsMBA Degree & Results
MBA Degree & Results
Chirag Jaha
 

Viewers also liked (9)

MBA Degree & Results
MBA Degree & ResultsMBA Degree & Results
MBA Degree & Results
 
Admission
AdmissionAdmission
Admission
 
Giada_feature
Giada_featureGiada_feature
Giada_feature
 
10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming Convention
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media Plan
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting Personal
 
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
Lightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika AldabaLightning Talk #9: How UX and Data Storytelling Can Shape Policy by Mika Aldaba
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?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job? Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
Succession “Losers”: What Happens to Executives Passed Over for the CEO Job?
 

Similar to Best Practices in Testing Force.com Application

Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of TestingCuriosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software, Infuse and Kumoco present: The Democratisation of Testing
Curiosity Software Ireland
 
Shaik Azaharuddin Resume updated
Shaik Azaharuddin Resume updatedShaik Azaharuddin Resume updated
Shaik Azaharuddin Resume updated
shaik azaharuddin
 
Chandan_3.7 Years of Experience_Oracle
Chandan_3.7 Years of Experience_OracleChandan_3.7 Years of Experience_Oracle
Chandan_3.7 Years of Experience_Oracle
Chandan Jai
 
CEI Capabilities 2009
CEI Capabilities 2009CEI Capabilities 2009
CEI Capabilities 2009
Jay Wysocki
 

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

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

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

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