You are on page 1of 25

Demo Automation

Testing In Salesforce
Khuong Tran
Quality Control Engineer
(uyenkhuongtran@outlook.com)

Agenda
Tester/QC Career
Overview of Manual Testing
Automation Testing
Demo

Where is software tester in software


development team?
Project
Manager

Tester Team

System
Analyst

Programmer

Programmer

System
Analyst

Programmer

Programmer

Programmer

Programmer

What is Software Testing?


Testing is the process to:

Verify that system


satisfies specified
requirement

that
e
t
a
d
i
l
Va
lls
f
l
u
f
t
c
produ
use
d
e
d
n
e
int
d in
e
c
a
l
p
when
d
intende ts
en
m
n
o
r
i
v
en

Career path

Why is Software testing importance?

Save of money
Save of time
Voice to business reputation
Prevent Injury or death

Overview History about Big Bug

Overview History about Big Bug


Apple
Maps
gives us
directions
to
nowhere
(2012)

Overview History about Big Bug


Windows
locks out
nonsoftwar
e pirates
(2007)

Overview History about Big Bug


AT&T
hangs up
its longdistance
service
(1990)

Software Development - Roles Devs vs


Testers
Developer

Independent tester

Understands the system

Must learn about the system,

but, will test "gently"

but, will attempt to break it

and, is driven by delivery

and, is driven by quality

Overview of Manual Testing


Testers

Manual testing is the


process of manually
testing software for
defects.

Automation Testing

Automation Testing means


using an automation tool
to execute your test cases.

Testers

When use Automation Test?


Manual testing

Software Testing

No automated tools, no
scripts used

Tester writes scripts


and uses automated
tools to test the
software.

when manual testing is


preferred over
automation?
little time to
automate
UI (user interface),
as its changed very
frequently.

Automation
testing

Testers

what should be
Automated?
automation is good
for checking,
verifying, validating
any tests that need
to be repeated often

Demo automation testing in Salesforce

Sample test case

Login
function in
Salesforce
https://test.
salesforce.c
om/

Write
manual test
case to test
Login
function

Implement
manua test
case to test
script

Sample test case


TC: Test Login function
Step:
1. Enter khuongtran@hcmsfdg.vn to
Username textbox
2. Enter AtUk!0508@ to Password
textbox
3. Click on Login button
Expected result: Login successfully and
go to Salesforce home page

Sample test case

Sample test case

Expecte
d result

Sumary

Profession
al
Tester/QC

Appendix

Selenium IDE:
http://selenium-release.storage.googleapis.com/2.53/
Cucumber MV:
https://cucumber.io/docs/reference
Gherkin:
https://jenkins.io/
Wordbook Salesforce:
https://resources.docs.salesforce.com/sfdc/pdf/forcecom_work
book.pdf
Salesforce trailhead :
https://developer.salesforce.com/trailhead/trails#role=roleuser

Khuong Tran
uyenkhuongtran@outlook.c
om

Q&A

Thank You

You might also like