QA Handover

DIGIT Test Automation Framework Setup guide

Read me - https://github.com/egovernments/test-automation/tree/master/api-automation

Steps to make changes in the script

  1. Clone the Repo

  2. git clone https://github.com/egovernments/test-automation.git

  3. Collect all the APIs that are new/updated added as part of the sprint.

  4. Create a local branch to make changes in the script

  5. Check if the endpoints are already available then reuse them, if not add the endpoints in - common.yaml file.

  6. Check if the URL is already defined then reuse, if not add/define the URL in the - karate-config.js file.

  7. Check which services the API belongs to (municipal/core/business services), if already similar tests are available then try adding in the existing file.

  8. If it is a new API then create the below files under the specified folders

  9. pretest - to run the API, validating the response codes and storing the response

    • ex: @autoEscalate - /core-services/pretest/escalate protest.feature

    • tests - to create individual tests based on the pretest and validate the results based on test scenarios.

    • ex: @autoEscalate_PGR_01 - /core-services/tests/escalate.feature

    • requestPayload - to create the payload (JSON payload) for the pretests

    • ex: escalate.json - /core-services/escalate/escalate.json

    • constants - to create constant data like success, error messages, and other data that can be called in the tests.

    • ex: escalate.yaml - /core-services/constants/escalate.yaml

    • testData - to create test data (like pdf or other files) for the tests.

    • ex: dummyTestdata.rtf -/core-services/testData/dummyTestdata.rtf

  10. Create/update the necessary files as mentioned above. for pretest and tests add relevant @tags

  11. Run the @newtags. Refer to the readme.file for detailed setup, steps to run the individual @tags

Collection Name

Link

Collection Name

Link

eGov-HRMS

https://www.getpostman.com/collections/94bb2a7f2d86dd34db28

Signed Audit

https://www.getpostman.com/collections/ad51353729c33af69ccf

TL Collection

https://www.getpostman.com/collections/663ff13db6ae6942e8cb

TL Billing slabs

https://www.getpostman.com/collections/d267fc508575ca0afdfa

BBMP

https://www.getpostman.com/collections/3d14e2277a9861c931f3

Billing slabs

https://www.getpostman.com/collections/1855bf5605c4bd327136

Billing Services

https://www.getpostman.com/collections/841fd8d8d3e8d35f3aa0

Bug specific APIs

https://www.getpostman.com/collections/89e880fd321d9774e739

Bulk bill performance

https://www.getpostman.com/collections/9dc92642fdc26d81afe3

Bulk PGR

https://www.getpostman.com/collections/d41b0db8a42f74ce692c

Business Service

https://www.getpostman.com/collections/a1d188a0884f50b49d8c

Central Instance

https://www.getpostman.com/collections/a45a699124232b44bd4d

Covid sols

https://www.getpostman.com/collections/d14e25cdab80c23cf21e

Demand billing v2 payment

https://www.getpostman.com/collections/f0cb5142608d99282fcf

Dev Sewerage

https://www.getpostman.com/collections/0295ea39f69d50ca6f00

eGov PG Service

https://www.getpostman.com/collections/d36abee371c2679813a9

eGov searcher

https://www.getpostman.com/collections/8d37f46835c290ec3fa1

filestore

https://www.getpostman.com/collections/56e8c22e5077dce62e66

Firenoc calculator

https://www.getpostman.com/collections/5be46e80ae1681f2f9e6

FSM

https://www.getpostman.com/collections/88096cbc693d46d3c785

FSM Odisha

https://www.getpostman.com/collections/550d91c6302c3087485e

idgen

https://www.getpostman.com/collections/426c1e9a6f1e4229a424

kafka connect

https://www.getpostman.com/collections/a78c8ac04cf0c55f8284

Localization

https://www.getpostman.com/collections/d820aba9e98c67cb99ea

mSeva event notification

https://www.getpostman.com/collections/5a05acd269804b6a1fa2

Multitenancy

https://www.getpostman.com/collections/094111f716aa9556890b

Mutation Billing slabs

https://www.getpostman.com/collections/4e1a53a7d8b66fb2be73

National dashboard ingest

https://www.getpostman.com/collections/62e64971f71f5ef08187

PDF interservice

https://www.getpostman.com/collections/4d88bfd93f85c6864b9c

PGR Service

https://www.getpostman.com/collections/3aa20dc4307dd0f6cee5

Property Tax

https://www.getpostman.com/collections/3fef25f924d35d9bc775

PT Workflow

https://www.getpostman.com/collections/18c9f77406f7fdeff0e9

Reap benefit

https://www.getpostman.com/collections/7458e749d479b59d4816

TL Collection

https://www.getpostman.com/collections/b6e2a5e26e9cff69626a

URL Shortener

https://www.getpostman.com/collections/fe8f1a8ec285342e4e7f

Vehicle registry

https://www.getpostman.com/collections/cf6a3ef57047538af993

Whats app

https://www.getpostman.com/collections/cc4aab69ff7c92a025ea