QA Handover
- Lata Naik
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
Clone the Repo
git clone https://github.com/egovernments/test-automation.git
Collect all the APIs that are new/updated added as part of the sprint.
Create a local branch to make changes in the script
Check if the endpoints are already available then reuse them, if not add the endpoints in - common.yaml file.
Check if the URL is already defined then reuse, if not add/define the URL in the - karate-config.js file.
Check which services the API belongs to (municipal/core/business services), if already similar tests are available then try adding in the existing file.
If it is a new API then create the below files under the specified folders
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
Create/update the necessary files as mentioned above. for pretest and tests add relevant @tags
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 | |
Signed Audit | |
TL Collection | |
TL Billing slabs | |
BBMP | |
Billing slabs | |
Billing Services | |
Bug specific APIs | |
Bulk bill performance | |
Bulk PGR | |
Business Service | |
Central Instance | |
Covid sols | |
Demand billing v2 payment | |
Dev Sewerage | |
eGov PG Service | |
eGov searcher | |
filestore | |
Firenoc calculator | |
FSM | |
FSM Odisha | |
idgen | |
kafka connect | |
Localization | |
mSeva event notification | |
Multitenancy | |
Mutation Billing slabs | |
National dashboard ingest | |
PDF interservice | |
PGR Service | |
Property Tax | |
PT Workflow | |
Reap benefit | |
TL Collection | |
URL Shortener | |
Vehicle registry | |
Whats app |
Repo | Branch name | Link |
---|
Repo | Branch name | Link |
---|---|---|
mdms | QA | |
| UAT | |
Configs | qa | |
| UAT | |
Dev-Ops | qa.yaml | https://github.com/egovernments/DIGIT-DevOps/blob/master/deploy-as-code/helm/environments/qa.yaml |
| uat.yaml | https://github.com/egovernments/DIGIT-DevOps/blob/master/deploy-as-code/helm/environments/uat.yaml |
Releasekit | master | |
DB - QA | Read | Username : psql -h egov-dev-db.ctm6jbmr5mnj.ap-south-1.rds.amazonaws.com -U egovqa_read egov_qa_db |
|
| Password : SBXZfP5s2jCYzt2P |
| Admin | Username : |
|
| Password : |
DB - UAT | Read | Username : psql -h egov-dev-db.ctm6jbmr5mnj.ap-south-1.rds.amazonaws.com -U egovuat_read egov_uat_db |
|
| Password : Ieng1iengeequeequada |
| Admin | Username : |
|
| Password : |
Test Automation | master | |
| karate-master-v.3 | https://github.com/egovernments/test-automation/tree/karate-master-v.3 |
| karate-master-v.6 | https://github.com/egovernments/test-automation/tree/karate-master-v.6 |
| karate-master-v.7 | https://github.com/egovernments/test-automation/tree/karate-master-v.7 |
Module name | Recording |
PGR | |
Citizen Engagement | |
Trade License | |
Water & Sewerage - New Connection | |
Water & Sewerage - Modify & Disconnection | |
mCollect | |
HRMS | |
OBPS - Permit | https://drive.google.com/file/d/1B9GHl50AkZdsdeJS6ncniuK4SmL6mpEt/view?usp=sharing |
Bill Amendment | |
Public Domain - WS , PT | |
Surveys | |
UAT Promotion | |
W&S Privacy | https://drive.google.com/file/d/1OTkr18oUEJbHDzfSj-ILHofggRET1eMs/view K |