SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
Gemma Blezard




                1
   Purpose of Testing
   Testing Best Practices: What testing should not be used
    for
   Types of Testing

   Testing Roles and Responsibilities
   Test Script Management – Tests and Incidents
   UAT Support




                                                              2
   Check that configuration and code is functional

   Ensure that the system’s initial build meets the agreed requirements

   Help to control the project scope

   Confirm that the finished system can support the client’s business

    processes

   Gain client’s approval to release new functionality for general use




                                                                           3
   Making changes to business processes

   Introducing additional requirements outside of scope

   Making significant cosmetic changes to page layouts and user

    interface

   Training users




That’s what Build Reviews and Training sessions are for…


                                                                   4
   Unit Testing (code developers)

   System Testing

   User Acceptance Testing (aka Functional Testing)

   Production Testing

   Regression Testing




                                                       5
   Is conducted by Apex developers – involves writing clauses in their

    code that automatically tests its coverage

   Evaluates how many records of data the code would successfully

    run on in that environment e.g sandbox / production.

   Is necessary to deploy Apex code into a Production environment –

    you must have over 78% coverage




                                                                          6
   Is conducted by salesforce consultants

   Tests the system’s technical processes from start to finish

   Involves following a test script based on specific outputs

   Is useful for troubleshooting a problem with automated

    rules in the system

   E.g. workflow / validation / assignment / escalation




                                                                  7
   Is conducted by the people who intend to use the application

   Tests the system’s ability to support the business processes – NO

    changes should be made at this stage unless they are fundamental to

    their processes

   Involves following a test script based on what happens in the business

   The desired output is that the client confirms that the system is fit for

    purpose



                                                                                8
   Is a repeat of system testing in the Production environment

   Is designed to test whether config and code have been

    successfully deployed from sandbox to production

   Use the same script that you used for system testing

   If there is time, get the client Project Manager to run through

    their UAT scripts again post deployment




                                                                      9
   Designed to test whether code and config releases affect existing user

    processes within the system

   Takes place once releases have been made that are not meant for ALL users.

    Tests are conducted by system users for whom the new releases are NOT

    intended

   After deployment, users test the ability to use salesforce.com the way they

    normally would

   Users list any system changes that negatively impact their current process

   We fix them!




                                                                                  10
   Project Manager:
•   Coordinates script writing
•   Schedules testing time around day jobs
•   Ensures testers are testing when they are scheduled to
•   Co-ordinate testing sign off

   Business Owners:
•   Write test scripts in accordance with usual business processes
•   Sign off testing

   Testers
•   Follow test scripts, adding comments and incidents
•   Retest following fixes
•   Specify whether each process is a test PASS or FAIL

                                                                     11
   Write and complete system test scripts

   Test code that a developer has written and liaise with client for
    changes

   Ensure that any code developed has over 78% coverage

   Supply clients with UAT script templates

   Provide guidance on how to complete the scripts

   Resolve incidents that crop up during UAT – or liaise with
    developers to resolve them if needs be

   Get sign off confirmed IN WRITING once all tests have passed

                                                                        12
   The build should be completely signed off in writing

   No further changes should be required (including field and
    page layout / cosmetic adjustments to screens)

   UAT scripts should be fully written and ready (by the client!)

   All system tests should be complete and scripted by the
    consultant / developer




                                                                     13
   Test scripts have two parts: TESTS and INCIDENTS
   Are best managed in the form of a spreadsheet in Google
    Docs
   Tests define what process is being tested, steps to follow,
    expected vs actual results, overall test pass/fail and an
    incident number if the test step fails
   The level of technicality in steps/descriptions depends on
    whether it’s for UAT or system testing.
   This example is a system test script for workflow rules that
    are misfiring:




                                                                   14
   If a test step fails, an Incident is created on the Incidents tab
   Incidents include the incident no, step no, description of the
    Actual Result from the test, the estimated cause for the test
    failure and the fix




   Once the initial estimated cause has been identified and the
    problem fixed, you can retest the step
   The step is repeated after the first fix as a Retest – copy and
    paste the original step details as a new row in your
    spreadsheet
   If it fails again, add a new incident to the Incidents tab and
    another retest line in the Tests tab. Keep testing and fixing
    until the tests pass
   For test step to pass, all parts of the step should work as
    expected (ie Actual Result is the same as Expected Result)
                                                                        15
   In this system test example, step 5 of the test script
    failed 3 times.
   We logged 3 incidents (2,3 and 4) then retested, adding
    new retest rows to the script after step 5 as follows:




                                                              16
   UAT is designed to test that the system can support the business
    process
   The only changes that should come from the UAT are fixes
   UAT scripts should not be technical – each step is based entirely
    on requirements from a signed-off requirements matrix OR spec




   A representative from the business (e.g. a process owner) should
    write all UAT scripts while the system is being designed and built
   End users of the system are responsible for following each test
    step and logging incidents
   Consultants log in to the spreadsheet, reviewing and fixing
    incidents then adding retest steps to the test script as the testing
    is happening
                                                                           17
   UAT test scripts look similar to system test scripts but
    they are at a much higher level and use less technical
    language
   They relate to the process and test the requirement, not
    the technology
   Therefore it is usual that UAT will happen before users
    have been trained




                                                               18
Supporting UAT involves
 Guiding users to where they can find things if they get really
  stuck

   Providing process owners with example UAT scripts

   Talking clients through how to write and follow UAT scripts

   Acknowledging and fixing incidents as they occur

   Being assertive with clients when they try to push through
    changes that are not absolutely necessary to support the
    process

   Encouraging clients to formally sign off UAT once all tests
    have passed. This is essentially your formal Build sign off
                                                                   19
Clients are often nervous about UAT because not many
people know how to conduct it properly. Here are some
tips on how to handle resistance from clients:

   “I haven’t been trained on using the system”.
         Gently remind clients that they are testing their own
         processes, NOT the system functionality. Encourage
         them to arrange their own 1hr demo of the system
         to all testers prior to embarking on UAT

   “We can’t test without all our data being present in the
    system”
        You only need a few test records to test the
        process. If your build involves supporting objects
        containing lookup data, load a few records and
        provide the test coordinator with a list of records
        they can use to look up on
                                                                 20
     “I haven’t got any time to test and do my day job too”
      •    Client project managers are fundamental when you’re
           up against this resistance and having a project plan
           with dates is key.
    •      Keep on top of your PM and make sure they book UAT
           into everyone’s diaries as soon as possible after the
           project starts.
      •    Have regular check-in calls through Design and Build
           stages so that you can rearrange dates for testing if
           needed.
      •    Make sure your client PM emphasises the importance
           of testers’ full attention when they are scheduled to
           test and encourages testers’ management teams to
           arrange cover for the “day job” while their staff are
           testing.

                                                                   21

Weitere ähnliche Inhalte

Was ist angesagt?

Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategytharindakasun
 
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfTest Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfDiana Gray, MBA
 
Xray for Jira - Overview
Xray for Jira - OverviewXray for Jira - Overview
Xray for Jira - OverviewXpand IT
 
An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)Usersnap
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeIndicThreads
 
Salesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewSalesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewAjay Balakrishnan
 
CI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality EngineeringCI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality EngineeringSushma
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy Impetus Technologies
 
Xray for Jira - How to automate your QA process
Xray for Jira - How to automate your QA processXray for Jira - How to automate your QA process
Xray for Jira - How to automate your QA processXpand IT
 
Software UAT Case study - Finserv
Software UAT Case study - FinservSoftware UAT Case study - Finserv
Software UAT Case study - FinservOAK Systems Pvt Ltd
 
Why Katalon Studio?
Why Katalon Studio?Why Katalon Studio?
Why Katalon Studio?Knoldus Inc.
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Jira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptxJira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptxDhananjayaDeevi
 
Agile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrAgile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrXBOSoft
 

Was ist angesagt? (20)

Agile Testing Strategy
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategy
 
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdfTest Automation using UiPath Test Suite - Developer Circle Part-4.pdf
Test Automation using UiPath Test Suite - Developer Circle Part-4.pdf
 
Xray for Jira - Overview
Xray for Jira - OverviewXray for Jira - Overview
Xray for Jira - Overview
 
An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)An Overview of User Acceptance Testing (UAT)
An Overview of User Acceptance Testing (UAT)
 
Agile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil Karade
 
Introduction to MuleSoft
Introduction to MuleSoftIntroduction to MuleSoft
Introduction to MuleSoft
 
Salesforce Service Cloud - An overview
Salesforce Service Cloud - An overviewSalesforce Service Cloud - An overview
Salesforce Service Cloud - An overview
 
CI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality EngineeringCI/CT/CD and Role of Quality Engineering
CI/CT/CD and Role of Quality Engineering
 
How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy How to Design a Successful Test Automation Strategy
How to Design a Successful Test Automation Strategy
 
Xray for Jira - How to automate your QA process
Xray for Jira - How to automate your QA processXray for Jira - How to automate your QA process
Xray for Jira - How to automate your QA process
 
Software UAT Case study - Finserv
Software UAT Case study - FinservSoftware UAT Case study - Finserv
Software UAT Case study - Finserv
 
Why Katalon Studio?
Why Katalon Studio?Why Katalon Studio?
Why Katalon Studio?
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Jira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptxJira-Zephyr_Training.pptx
Jira-Zephyr_Training.pptx
 
Test automation process
Test automation processTest automation process
Test automation process
 
Fundamentals OF UAT
Fundamentals OF UATFundamentals OF UAT
Fundamentals OF UAT
 
Ecommerce Website Testing Checklist
Ecommerce Website Testing ChecklistEcommerce Website Testing Checklist
Ecommerce Website Testing Checklist
 
Agile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and ZephyrAgile Test Management Using Jira and Zephyr
Agile Test Management Using Jira and Zephyr
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 

Ähnlich wie Best Practices for Testing in salesforce.com

How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1Techpartnerz
 
How Manual Testers Can Break into Automation Without Programming Skills
How Manual Testers Can Break into Automation Without Programming SkillsHow Manual Testers Can Break into Automation Without Programming Skills
How Manual Testers Can Break into Automation Without Programming SkillsRanorex
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxShivareddyGangam
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.Jithinctzz
 
Test planning.ppt
Test planning.pptTest planning.ppt
Test planning.pptUmmERayyan2
 
Testing Attributes
Testing AttributesTesting Attributes
Testing AttributesAbiha Naqvi
 
Software Testing Foundations Part 2 - Testing in Software Lifecycle
Software Testing Foundations Part 2 - Testing in Software LifecycleSoftware Testing Foundations Part 2 - Testing in Software Lifecycle
Software Testing Foundations Part 2 - Testing in Software LifecycleNikita Knysh
 
SAP Testing Services
SAP Testing ServicesSAP Testing Services
SAP Testing Servicesr_shanki
 
Object oriented sad 6
Object oriented sad 6Object oriented sad 6
Object oriented sad 6Bisrat Girma
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146vidhyyav
 

Ähnlich wie Best Practices for Testing in salesforce.com (20)

How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1Learn software testing with tech partnerz 1
Learn software testing with tech partnerz 1
 
How Manual Testers Can Break into Automation Without Programming Skills
How Manual Testers Can Break into Automation Without Programming SkillsHow Manual Testers Can Break into Automation Without Programming Skills
How Manual Testers Can Break into Automation Without Programming Skills
 
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptxOS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
OS-Final-Transform-Manual-Testing-Processes-to-incorporate-Automatio....pptx
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
Test planning.ppt
Test planning.pptTest planning.ppt
Test planning.ppt
 
Testing Attributes
Testing AttributesTesting Attributes
Testing Attributes
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
 
Software testing2
Software testing2Software testing2
Software testing2
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Demo1ghjkl
Demo1ghjklDemo1ghjkl
Demo1ghjkl
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
T24 Temenos Methodology Overview
T24 Temenos Methodology OverviewT24 Temenos Methodology Overview
T24 Temenos Methodology Overview
 
Software Testing Foundations Part 2 - Testing in Software Lifecycle
Software Testing Foundations Part 2 - Testing in Software LifecycleSoftware Testing Foundations Part 2 - Testing in Software Lifecycle
Software Testing Foundations Part 2 - Testing in Software Lifecycle
 
SAP Testing Services
SAP Testing ServicesSAP Testing Services
SAP Testing Services
 
Object oriented sad 6
Object oriented sad 6Object oriented sad 6
Object oriented sad 6
 
Objectorientedtesting 160320132146
Objectorientedtesting 160320132146Objectorientedtesting 160320132146
Objectorientedtesting 160320132146
 

Kürzlich hochgeladen

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
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 Scriptwesley chun
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
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.pdfUK Journal
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
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)wesley chun
 
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 DiscoveryTrustArc
 
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...Drew Madelung
 
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 2024Rafal Los
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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.pdfsudhanshuwaghmare1
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
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 2024SynarionITSolutions
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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)
 
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
 
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...
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 

Best Practices for Testing in salesforce.com

  • 2. Purpose of Testing  Testing Best Practices: What testing should not be used for  Types of Testing  Testing Roles and Responsibilities  Test Script Management – Tests and Incidents  UAT Support 2
  • 3. Check that configuration and code is functional  Ensure that the system’s initial build meets the agreed requirements  Help to control the project scope  Confirm that the finished system can support the client’s business processes  Gain client’s approval to release new functionality for general use 3
  • 4. Making changes to business processes  Introducing additional requirements outside of scope  Making significant cosmetic changes to page layouts and user interface  Training users That’s what Build Reviews and Training sessions are for… 4
  • 5. Unit Testing (code developers)  System Testing  User Acceptance Testing (aka Functional Testing)  Production Testing  Regression Testing 5
  • 6. Is conducted by Apex developers – involves writing clauses in their code that automatically tests its coverage  Evaluates how many records of data the code would successfully run on in that environment e.g sandbox / production.  Is necessary to deploy Apex code into a Production environment – you must have over 78% coverage 6
  • 7. Is conducted by salesforce consultants  Tests the system’s technical processes from start to finish  Involves following a test script based on specific outputs  Is useful for troubleshooting a problem with automated rules in the system  E.g. workflow / validation / assignment / escalation 7
  • 8. Is conducted by the people who intend to use the application  Tests the system’s ability to support the business processes – NO changes should be made at this stage unless they are fundamental to their processes  Involves following a test script based on what happens in the business  The desired output is that the client confirms that the system is fit for purpose 8
  • 9. Is a repeat of system testing in the Production environment  Is designed to test whether config and code have been successfully deployed from sandbox to production  Use the same script that you used for system testing  If there is time, get the client Project Manager to run through their UAT scripts again post deployment 9
  • 10. Designed to test whether code and config releases affect existing user processes within the system  Takes place once releases have been made that are not meant for ALL users. Tests are conducted by system users for whom the new releases are NOT intended  After deployment, users test the ability to use salesforce.com the way they normally would  Users list any system changes that negatively impact their current process  We fix them! 10
  • 11. Project Manager: • Coordinates script writing • Schedules testing time around day jobs • Ensures testers are testing when they are scheduled to • Co-ordinate testing sign off  Business Owners: • Write test scripts in accordance with usual business processes • Sign off testing  Testers • Follow test scripts, adding comments and incidents • Retest following fixes • Specify whether each process is a test PASS or FAIL 11
  • 12. Write and complete system test scripts  Test code that a developer has written and liaise with client for changes  Ensure that any code developed has over 78% coverage  Supply clients with UAT script templates  Provide guidance on how to complete the scripts  Resolve incidents that crop up during UAT – or liaise with developers to resolve them if needs be  Get sign off confirmed IN WRITING once all tests have passed 12
  • 13. The build should be completely signed off in writing  No further changes should be required (including field and page layout / cosmetic adjustments to screens)  UAT scripts should be fully written and ready (by the client!)  All system tests should be complete and scripted by the consultant / developer 13
  • 14. Test scripts have two parts: TESTS and INCIDENTS  Are best managed in the form of a spreadsheet in Google Docs  Tests define what process is being tested, steps to follow, expected vs actual results, overall test pass/fail and an incident number if the test step fails  The level of technicality in steps/descriptions depends on whether it’s for UAT or system testing.  This example is a system test script for workflow rules that are misfiring: 14
  • 15. If a test step fails, an Incident is created on the Incidents tab  Incidents include the incident no, step no, description of the Actual Result from the test, the estimated cause for the test failure and the fix  Once the initial estimated cause has been identified and the problem fixed, you can retest the step  The step is repeated after the first fix as a Retest – copy and paste the original step details as a new row in your spreadsheet  If it fails again, add a new incident to the Incidents tab and another retest line in the Tests tab. Keep testing and fixing until the tests pass  For test step to pass, all parts of the step should work as expected (ie Actual Result is the same as Expected Result) 15
  • 16. In this system test example, step 5 of the test script failed 3 times.  We logged 3 incidents (2,3 and 4) then retested, adding new retest rows to the script after step 5 as follows: 16
  • 17. UAT is designed to test that the system can support the business process  The only changes that should come from the UAT are fixes  UAT scripts should not be technical – each step is based entirely on requirements from a signed-off requirements matrix OR spec  A representative from the business (e.g. a process owner) should write all UAT scripts while the system is being designed and built  End users of the system are responsible for following each test step and logging incidents  Consultants log in to the spreadsheet, reviewing and fixing incidents then adding retest steps to the test script as the testing is happening 17
  • 18. UAT test scripts look similar to system test scripts but they are at a much higher level and use less technical language  They relate to the process and test the requirement, not the technology  Therefore it is usual that UAT will happen before users have been trained 18
  • 19. Supporting UAT involves  Guiding users to where they can find things if they get really stuck  Providing process owners with example UAT scripts  Talking clients through how to write and follow UAT scripts  Acknowledging and fixing incidents as they occur  Being assertive with clients when they try to push through changes that are not absolutely necessary to support the process  Encouraging clients to formally sign off UAT once all tests have passed. This is essentially your formal Build sign off 19
  • 20. Clients are often nervous about UAT because not many people know how to conduct it properly. Here are some tips on how to handle resistance from clients:  “I haven’t been trained on using the system”. Gently remind clients that they are testing their own processes, NOT the system functionality. Encourage them to arrange their own 1hr demo of the system to all testers prior to embarking on UAT  “We can’t test without all our data being present in the system” You only need a few test records to test the process. If your build involves supporting objects containing lookup data, load a few records and provide the test coordinator with a list of records they can use to look up on 20
  • 21. “I haven’t got any time to test and do my day job too” • Client project managers are fundamental when you’re up against this resistance and having a project plan with dates is key. • Keep on top of your PM and make sure they book UAT into everyone’s diaries as soon as possible after the project starts. • Have regular check-in calls through Design and Build stages so that you can rearrange dates for testing if needed. • Make sure your client PM emphasises the importance of testers’ full attention when they are scheduled to test and encourages testers’ management teams to arrange cover for the “day job” while their staff are testing. 21