Automating the two testing activities for Zerion Testing
- JAVA 8 JDK installed
- Editor - IntelliJ IDEA Or Eclipse
- Web browser - Chrome browser
- clone/checkout this project by
- a) Either downloading the project and opening the pom.xml file from your editor
- b) From your terminal - git clone https://github.com/lavanyamantha/Zerion-Testing.git and open the pom.xml file from your editor
- Make sure to do maven sync to import dependencies/.jars in your editor
- Run command - mvn clean build from terminl Or Build Project in your editor
- Right-click the test class file and Run/Debug in editor
- The 2 tests are at
https://github.com/lavanyamantha/Zerion-Testing/blob/master/src/test/java/LoginCreateNewUser.java https://github.com/lavanyamantha/Zerion-Testing/blob/master/src/test/java/LoginCreateRecord.java
- The test should open the web browser and run the tests and result displayed in edotor's console.
- Editor - IntelliJ IDEA for test development
- Test Framework - TestNG
- Build dependency - Maven (selenium, testng, log4J)
- Java - Programming language
- Git/GitHub - To commit/push code to Central repo & maintain
- Test Design - Maintained proper structure for
- Config data,
- Object rpository,
- Base class for webdriver instantiation,
- Utility class for helper methods,
- IFormBuilderTestCase class for all common methods to be used in all tests,
- Take screenshot when tests fails.
- Support for Chromebrowser, Firefox & IE browsers. (Harcoded to chrome for now in Config file. Can be parameterized to do cross-browser testing.)
- Integrate with CI tools like Jenkins as
- independent test build job Or
- include in dev build/test/deploy as a stage in current pipeline
- reporting support - attach reports to test runs
- Communication of test result - Through Jenkins - send emails/ notify slack etc.
- Incorporate Behavior Driven Development (BDD) framework within this test design. Write .feature files for test cases following Gherkin syntax and implement the step definitions using Selenium+Java. (I am well versed with this test design too.)
Please download the below to view the video -
https://github.com/lavanyamantha/Zerion-Testing/blob/c0cc2946a6f839b356ef85c29e9086033efd2873/CreateNewRecord.mov
https://github.com/lavanyamantha/Zerion-Testing/blob/c0cc2946a6f839b356ef85c29e9086033efd2873/CreateNewUser.mov