Skip to main content

Contacts: test plan

For: testers checking Contacts (customers, suppliers and other contacts) on the QA server. What to check for each step of adding, editing, deactivating and importing a contact.

Set up once

Make these on the QA server, as in the Tester handbook: environments, test data and checks.

  • A signed-in user with all Contacts rights, and one role with Contacts Read only.
  • Prefix every test contact with QA so it can be found and cleaned up. Never edit real contacts.
  • Placeholders in the data column (names, GSTINs, mobiles) are test values only.

Add a contact

#

Check

Steps

Pass when

CON-001

Taxable customer, same state (TN)

1. Business

2. Fill name, contact person, reg no, activity, mobile, alt mobile, landline, email

3. Tax registration type GSTIN, number, exemption None

4. Billing address Chennai, TN, IN

5. Payment terms Net 30, credit limit 50000

6. Save customer

Data: QA Taxable TN Customer, GSTIN 33AAACQ1001A1ZM, 9840100001

Saved; every field in the DB and on the view page.

CON-002

Taxable customer, other state (Kerala, IGST)

As CON-001 with Kerala address

Data: QA Taxable Kerala Customer, GSTIN 32AAACQ1002B1ZL

Saved with state KL.

CON-003

Unregistered individual customer (no GSTIN)

1. Individual

2. Title Mr, first/last name

3. Mobile, email, address

4. Save

Data: QA Unregistered Customer

Saved; tax section is not shown for an individual.

CON-004

SEZ customer

As CON-001, exemption = SEZ

Data: QA SEZ Customer, 33AAACQ1003C1ZG

Saved with exemption SEZ.

CON-005

Export customer (Dubai, UAE)

Business, type None, exemption Export, country UAE, state typed

Data: QA Export Customer, +971 numbers

Saved with country AE, exemption EXPORT.

CON-006

NGO / Charitable trust customer

As CON-001, exemption NGO

Data: QA NGO Trust Customer, 33AAATQ1004D1ZE

Saved with exemption NGO.

CON-007

Government customer

As CON-001, exemption Government, credit limit 0

Data: QA Government Customer, 33AAAGQ1005E1Z2

Saved with exemption GOVT.

CON-009

Registered supplier, same state (TN)

Business, GSTIN, Chennai address, Net 30

Data: QA Supplier TN Registered, 33AAACS2001A1ZI

Saved as supplier.

CON-010

Registered supplier, other state (Kerala)

As CON-009, Kochi KL, Net 15

Data: QA Supplier Kerala Registered, 32AAACS2002B1ZH

Saved.

CON-011

Unregistered individual supplier

Individual, Mr, no GSTIN

Data: QA Supplier Unregistered

Saved.

CON-012

Import supplier (China)

Business, no GSTIN, country CN, Net 60

Data: QA Supplier Import China

Saved.

CON-013

Supplier with opening balance 5000 (we owe)

As CON-009 with opening balance 5000

Data: QA Supplier Maharashtra Opening 5000, 27AAACS2003C1Z5

Saved; journal Dr Opening Balance Equity 5000 / Cr Accounts Payable 5000; view "You owe 5,000".

CON-014

Customer that is also a supplier, with GSTIN

Tick "Also a customer", GSTIN 33AAACS2004D1Z9, save

Data: QA Customer And Supplier TN

Two linked rows (customer + supplier) both with the GSTIN.

CON-015

Employee contact

Type EMPLOYEE, Ms, name, mobile, email, address

Data: QA Employee Cashier

Saved and listed.

CON-016

Contact of a custom type

Type QA Agent, business

Data: QA Agent Delivery Partner

Saved and listed.

Add: refusals and bad input

#

Check

Steps

Pass when

CON-017

No contact type chosen

Leave Contact type empty, save

Blocked "Pick a contact type".

CON-018

Employee with a customer's mobile

New EMPLOYEE contact with mobile 9840100001, different name

Data: QA Employee DupMobile

Either blocked, or saved as a separate person.

CON-019

Business name empty

Business, no business name

Blocked.

CON-020

Individual without title / first name

Individual, leave title and first name empty

Blocked.

CON-021

Mobile empty

Leave mobile empty

Blocked.

CON-022

Duplicate mobile (exact)

Mobile 9840100001

Blocked, naming the other customer.

CON-023

Duplicate mobile written with +91 and spaces

Mobile "+91 98401 00001"

Data: QA Neg N05

Blocked (same number).

CON-024

Duplicate email (exact and in capitals)

Email qa.sez@example.com / QA.SEZ@EXAMPLE.COM

Blocked.

CON-025

Email "abc@"

Email abc@

Blocked.

CON-026

Email without .com ("qa.n09@gmail")

Save

Data: QA Neg N09

Blocked.

CON-027

Mobile with letters

Mobile 98abcde123

Data: QA Neg N10

Blocked.

CON-028

Mobile too short ("123")

Mobile 123

Data: QA Neg N11

Blocked (needs 7+ digits).

CON-029

Mobile 25 digits

Save

Blocked with a clear message.

CON-030

Business name only spaces

Business name " "

Blocked.

CON-031

Business name 300 characters

Save

Blocked with a clear message (max 256).

CON-032

GSTIN chosen but number empty

Type GSTIN, empty number

Blocked.

CON-033

GSTIN 14 characters / bad format / bad checksum

33AAACQ1001A1Z, 3312345ABCDE1Z5, 33AAACQ1001A1ZX

Each blocked.

CON-034

Valid GSTIN typed in lowercase

33aaacq1009j1zv

Data: QA Neg N19

Accepted and stored in capitals.

CON-035

GSTIN already used by another customer

33AAACQ1001A1ZM

Data: QA Neg N22

Warn or block.

CON-036

GSTIN state 29 (Karnataka) with a Tamil Nadu address

29AAACQ1010K1ZP + TN address

Data: QA Neg N21

Warn: GSTIN state differs from address state.

CON-037

SEZ exemption without GSTIN

Exemption SEZ, type None

Data: QA Neg N23

Ask for the GSTIN.

CON-038

Export exemption with an Indian address

Exemption Export, country IN

Data: QA Neg N24

Warn.

CON-039

Billing street / city / state / postcode empty

Leave them empty

Blocked.

CON-040

Postcode letters / 3 digits

abcde, 629

Data: QA Neg N27

Blocked for India (6 digits).

CON-041

Ship to a different address left empty

Untick "Ship to the billing address"

Blocked.

CON-042

Credit limit -500

Save

Blocked "Credit limit cannot be negative".

CON-043

Opening balance 5000 > credit limit 1000

Save

Blocked.

CON-044

Opening balance 5000 with credit limit 0 ("0 for no limit")

Save

Allowed (no limit).

CON-045

Opening balance -100

Save, then open the customer and the journal

Data: QA Neg N32 (id 348)

Blocked, or posted as a credit of 100 (we owe them).

CON-046

Opening advance -100

Save

Data: QA Neg N33 (id 349)

Blocked.

CON-049

Exact duplicate mobile sent to the save API

Send mobile 9840100001

Rejected.

CON-050

Bad GSTIN checksum sent to the save API

Send 33AAACQ1001A1ZX

Rejected.

CON-051

Blank business name and blank mobile sent to the API

Send both empty

Rejected.

CON-052

Unknown exemption type "FOO"

Send exemptionType FOO

Rejected.

CON-053

Duplicate email sent to the API

Send qa.sez@example.com

Rejected.

CON-054

Business name empty

Save

Blocked.

CON-055

Mobile of another supplier

Mobile 9940100001

Blocked.

CON-056

Mobile of an existing customer, different name

Mobile 9840100002

Data: QA Neg SN03 (id 361)

Ask whether it is the same party, or block.

CON-057

Opening balance -200

Save, read journal

Data: QA Neg SN04 (id 362)

Blocked, or posted as -200.

List, view and who sees what

#

Check

Steps

Pass when

CON-008

Customers list and search

1. Contacts > Customers

2. Search "QA Taxable"

Tabs All / Owes you / Active / Inactive with counts; search filters by name.

CON-047

Opening balance 500 and opening advance 300 together

Credit limit 1000, save, read journals

Data: QA Neg N34 (id 350)

Advance journal: Dr Opening Balance Equity / Cr Customer Deposits.

CON-048

Name with HTML/script

Name "QA Neg N37 <img src=x onerror=alert(1)>"

Shown as plain text, script does not run.

CON-058

Opening advance 1000

Save, read journal

Data: QA Neg SN05 (id 363)

Dr Supplier Deposits / Cr Opening Balance Equity.

CON-059

Customer view page shows all saved data

Open the customer

Contact, address, terms, business, tax and balances all shown.

Edit

#

Check

Steps

Pass when

CON-060

Edit form loads every saved field

Click Edit

Every field filled with the saved value.

CON-061

Change person, email, landline, address, GSTIN, terms, credit limit

Change: Ravi Kumar S, qa.taxable.tn2@, 04442999001, 50 Anna Salai / Gemini Flyover 600006, 33AAACQ1011L1ZX, Net 15, 75000. Save

Saved; view and DB show new values; address updated in place.

CON-062

Opening balance 0 -> 1000

Set 1000, save

Journal Dr AR 1000 / Cr OBE 1000.

CON-063

Opening balance 1000 -> 400

Set 400, save; check view and journals

Old 1000 reversed, 400 posted; view "Owes you 400", credit left 74,600.

CON-064

Supplier opening 5000 -> 3000, terms Net 45, person changed

Edit and save

Reversal of 5000, new 3000; view "You owe 3,000".

CON-065

Add GSTIN to a customer that is also a supplier

Edit customer side, add GSTIN 33AAACS2004D1Z9, save

Both linked rows get the GSTIN.

CON-066

Untick "Also a supplier"

Untick, save

Supplier side switched off; both rows agree.

CON-067

Edit: use another customer's mobile / email

Mobile 9840100001, then email qa.sez@example.com

Blocked.

CON-068

Edit: keep own mobile

Save without changing mobile

No false "already used".

CON-069

Update API with another customer's mobile

Send mobile 9840100001

Rejected.

Deactivate

#

Check

Steps

Pass when

CON-070

Deactivate and activate a customer

Deactivate, check list tabs and DB; activate again

Moves to Inactive; back to Active.

Contact types

#

Check

Steps

Pass when

CON-071

Add a new type

QA Agent / QAA

Saved.

CON-072

Same name and code again

Add QA Agent / QAA

Blocked.

CON-073

Same name, different code

Add QA Agent / QAB

Blocked (two types would look the same in the drop-down).

CON-074

Blank name and code

Save with both empty

Blocked.

CON-075

System type in lowercase ("customer"/"cus")

Save

Blocked.

CON-076

System types cannot be changed

Look at CUSTOMER / SUPPLIER / EMPLOYEE rows

Edit and Delete greyed out.

CON-077

Rename a custom type

Edit to QA Broker, save

Updated in list and DB.

CON-078

Delete an unused type

Delete

Deleted.

CON-079

Delete a type that a contact uses

Delete QA Agent

Blocked: type is in use.

Import

#

Check

Steps

Pass when

CON-080

Import page and wrong file type

Pick contacts.txt

Rejected with a message; Import stays disabled.

CON-081

Import a filled template

Download template, fill, import

Contacts created; job result in Jobs.

Party set-off

#

Check

Steps

Pass when

CON-082

Create Set-Off with no party chosen

Click Create Set-Off

Button disabled, or a message "Choose a customer / supplier".

CON-083

Set off a customer balance against a supplier balance

Search party, Auto Allocate, Create Set-Off

Both balances reduced by the set-off amount.

Also run Check on every screen from the Tester handbook on the list, form and view screens.

  • Tester handbook: environments, test data and checks
  • Stock transfers: test plan