- UI Module This used Java, Selenide(which internally uses Selenium), TestNg
- API Module JAVA and TestNG were used to write the tests. And Maven used as build tools.
- Java 9
- Intellij
- Maven
- Download the project file from git.
git clone https://github.com/extcbrijesh/UpgradeProjectAssessment.git
- To download all the dependencies run following command :
maven clean install
UI Tests
-
mvn clean test -DsuiteXmlFile=UITestSuite.xml -
mvn clean test -DsuiteXmlFile=UIE2ETestSuites.xml
API Tests :
mvn clean test -DsuiteXmlFile=ApiRegressionTestSuite.xml
-
Elements should be provided with
test-data-idwhich can search and resolve testing easily. Also in future if the element location is changed that would not break the automation. -
UI pages are not properly divided various places it had unused/unwanted divisions.
There could be many bugs but giving it around 4-5 hours to test and automation project from scratch more possibility to miss the bugs.
- When LoanAPPID is given with any random UUID it results in 500. Rather it should throw 400 Error.
- When LoanAPPID parameter missing from the body also results in 500 rather it should throw 400 Error.