You are on page 1of 16

TEST CASE

Version: 1
Issue date: 22-Feb-19
IoT-Based Over-the-Counter Medicine
Project Name: Vending Machine

Record of change:
Reviewer/
Effective Date Version Change description Originator Reference
Approver
9-Feb-19 1.0 First testcase creation Shienna Varona
22-Feb-19 1.1 Update testcase Shienna Varona

02ae-BM/PM/HDCV/FSOFT v1/0 1/16


System Name: IoT-Based Over-The-Counter Medicine Vending Machine
Tester: Tester Team
Hardware Testing
Pass Pending/On-going
Fail Number of test cases:

Component Test Case Description Test Case Procedure Expect

Module Testing
Power Supply Checking power supply 1. Plug your power supply into an AC outlet. On multimeter you shou
2. Red probe goes into the tip voltage coming from yo
Black probe touches the barrel If you are checking
3. Turn on your multimeter and set it to read DC your multimeter shows
voltage. and dandy.
4. Take the red (positive) probe from your If you get a reading
multimeter and stick it into the end of the power probes are attached in
supply plug. If this happens and
5. Take the black (negative) probe from your connected your probes
multimeter and carefully touch it against the barrel the polarity on your pow
of the plug without touching the tip or your red make sure the circuit yo
probe. If you make a connection, you will be this unit is designed to h
creating a short circuit.
6. The readings will be displayed on the multimeter.

Servo Motors Checking servo motors 1. Does the servo receiving enough power? The servo motor must r
2. Interfacing (Initially, we set buttons that will act condition has been mee
as the UI of the setup.
Also, we set some conditions that will prompt the
servo motor
to rotate whenever the condition stated has been
satisfied.)
GSM Testing GSM Module 1. Does the GSM Module receiving enough power? The GSM must send a
2. Does it sends the appropriate message that it assigned number when
should send? running low. The button
3. Check the 'status' light. stock is empty.
4. Does it receiving enough signal?
If it blinks with a 1 blink
attempting to connect to
If it connects, it does a
made the network conn

Coin Acceptor Testing Coin Acceptor Module 1. To test how much supply will the module needs? The module should acc
2. To test whether the module is accepting 1, 5, 10-peso coins as progra
10 peso coins.
3. To check whether the inserted coins are
displaying the right number it should display on
LCD and Serial Monitor (Arduino IDE)
simultaneously.
4. Each coins will be tested up to five consecutive
trial testing.
5. To stabilize resistance. (By adding 10K ohm
resistor that acts as a pull-up resistor to maintain
the pulses send by the coin acceptor to the serial
com of Arduino IDE.)

Thermal Printer
Expected Output Test date End Date Actual

On multimeter you should see a reading of the Reading @ 12V


voltage coming from your power supply: terminal:
If you are checking a 12V power supply and 1st: 11.90V
your multimeter shows “12.56V” everything is fine 2nd: 11.91V
and dandy. 3rd: 11.89V
If you get a reading of “-12.56V” then your Reading @ 9V terminal:
probes are attached in reverse. 1st: 9.38V
If this happens and you are positive you 2nd: 9.39V
connected your probes correctly, double check Reading @ 5V terminal:
the polarity on your power supply’s label and 1st: 4.94V
make sure the circuit you will be powering with 9-Feb-19 2nd: 4.95V
this unit is designed to handle this polarity. 3rd: 4.93V

The servo motor must rotate whenever the


condition has been meet.

9-Feb-19 9-Feb-19
The GSM must send a text message to the
assigned number whenever the stocks are
running low. The button will be disabled once the
stock is empty. Operating Voltage
Reading:
If it blinks with a 1 blink per second cycle, it is 9-Feb-19 9-Feb-19 1st: 4.82V
attempting to connect to the network. 2nd: 4.83V
If it connects, it does a slow blink at 1 blink/3s, it 3rd: 4.84V
made the network connection.

The module should accept 1-peso, 5-peso, and


10-peso coins as programmed.

9-Feb-19 9-Feb-19 Operating Voltage: 12V


Remarks Note/Observation

Pending Based on initial reading on


the supply, at 12V terminal
the voltage reading is
approximately 12V. At 9V
terminal, the reading
exceeds by 0.38V, at 5V the
voltage drops to an
approximate 5V. Therefore,
the readings on the
multitester is not displaying
the accurate voltage it
should dispaly, instaed it will
just display an approximate
value.

Pass When the credits is not


enough, message will
display "Not enough credits"
When the selected medicine
is out of stock, message will
display "Stock medicine".
Pass The ideal operating voltage
for a GSM ranges from
3.4V-4.5V. Our actual
reading has somewhat
larger than that of the ideal
operating voltage.

Pass Records corresponding


number of the coins
inserted
Saves/stores the last
setting/sampling
configuration made
Removing resistor, the
pulse being sent by the coin
acceptor to the Arduino is at
large interval
By putting a pull up resistor,
the pulse are stable.

Pending
Pending
IoT-Based Over-The-Counter Medicine Vending Machine
System Name:
Tester: Tester Team
Software Testing

Pass Pending/On-going
Fail Number of test cases:

Test Case
Component Test Case Procedure Expected Output
Description

Website Testing
Back-end Application Testing the We use Nibbler as our tool Every link tested appears to be well
responsiveness of for testing our website. defined. This is good because well
the website 1. First access the URL: defined links help SEO and aid
http://nibbler.silktide.com/ on accessibility.
your website to access the
tool
2. Then, we enter the
address of our website:
https://otc-
mvm.000webhostapp.com/in
dex.htm
3. Afterwards, by clicking the
'Test' button, Nibbler gave us
a report scoring our website
out of 10 for key areas
including:
a. accessibility
b. SEO
c. social media and
Graphical User Inteerface (GUI)
Front-End Testing the forms 1. Open the Microsoft Visual
Application Studio 2012.
2. Wait for the IDE to load.
3. Open the project
4. On the first form, it
consists the Main Form which
is the User Interface for the
over-the-counter medicines
Data Acquisitions menu.
Arduino Serial Data
Acquisition – Use serial
communication to monitor
live data from Arduino in
MATLAB/Simulink. Serial is a
common communication
protocol for instrumentation
in many devices, and
numerous GPIB-compatible
devices come with an EIA-
232 port. Serial
communication can also be
used for data acquisition in
conjunction with a remote
sampling device. The serial
port sends and receives bytes
of information one bit at a
time. The important serial
characteristics are baud rate,
data bits, stop bits, and
parity. For two ports to
communicate, these
parameters must match:
 Baud rate is a speed
measurement for
communication that indicates
the number of bit transfers
per second.
 Data bits are a
measurement of the actual
data bits in a transmission.
 Stop bits are used to
signal the end of
Data Logging
logging data from Raspberry
Pi using Python and Excel
which collect data and save
the output of the collection or
Others analysis.
Test date End Date Actual Remarks Note/Observation

Nibbler tested a On-going All pages were found


sample of 3 pages to specify page titles,
from this website at but one page has a
10:49 AM on Feb relatively weak title
12, 2019 (CST). which could be
This test can only improved. Page titles
detect recognised appear in search
analytics solutions. results and at the top
of the browser's
window when visiting
12-Feb-19 the site. Appropriate
page titles are
particularly important
for search engine
optimisation.

Under On-going
development.

12-Feb-19
Pending

Pending
Power Supply Reading
Terminals Input Voltage Operating Voltage Output Voltage

1st: 11.90V
12 V 2nd: 11.91V
3rd: 11.89V
1st: 9.38V
9V
2nd: 9.39V
1st: 4.94V
5V 2nd: 4.95V
3rd: 4.93V
TEST REPORT
Note: This is only a preliminary testing.
Date 11-Feb-19

Number of
Tester Pass Fail Pending
test cases
Tester Team 0 0

Sub total 0 0

02ae-BM/PM/HDCV/FSOFT v1/0

You might also like