• This is Customized framework to write automation tests for angular and non-angular applications.
• Ease to write tests and ease to maintain.
• The project is basically created to maintain and organize the object oriented of automation tests.
• Here test resources defined and these are kind of helpers to developers to place generic code.
• Currently the test resources contains below features and we ca extend according to usage
► Utility file where we place regular functions / methods (playing with data types like strings arrays and lodash)
► Assertions file where we place our customized meaningful assertions using chai library.
► WebElementInteraction file contains all the actions performed on element level.
► BrowserInteractions file contains all the actions performed on driver level.
Current Framework are composed by the below tech debt.
• Cucumber (BDD framework)
• Protractor
• Typescript
• Gulp
• Chai library for Assertions
• Customized framework to implement ease to write tests and ease to maintain.
• Many node_modules used as mentioned in package.json.
How to write tests :
► Run gulp Protractor command from command line to run the feature/scenario.
► Run gulp Generate-TestResult command from command in order to create html report for execution.
Prerequisites :
• ► Java (this implemented with Java 1.8.0_101)
• ► Install Nodejs (this implemented with Node : v6.9.1)
• ► OS : Windows / Linux / Mac
How to Set UP :
Once Java and Node set up in your machine please set the path variables respectively.
Clone the repo in to your machine
Navigate to the repository folder in command line.
Run npm install command.
Install Chrome version < 56.0.2924.87
Implement your test and run as given in above section.