Framework supports Typescript and javascript. CI/CD Ready
- Supports Typescript
- Supports cross browser testing Chrome, IE, Firefox, Safari,Edge.
- In build Junit and Jasmin Reports
- TS Lint Integrated to ensure clean code
- Integrated Parallel Testing/multiCapabilities
- Supports Angular and Non Angular Application
- Page Object Model (POM) Ready
- Easy Integration to Jenkins and TFS/ VSTS (Azure DevOps)
- Supports Debugging Mode in Visual Studio
- Supports multiple environments such as QA, Staging, Production
- Easy to Run Tests, Test Suites
- Clone the Project
- Enter the command in command prompt
npm install
in project directory where package.json is located. - Enter the command in command prompt
npm run webdriver
in project directory where package.json is located. - Enter the command in command prompt
npm test
in project directory where package.json is located.
Test results will be located in EndToEndTests\EndToEndTests\testResults folder. test results are available in both .html and .xml Junit format.
-
Navigate to directory where package.json is located, Run Command npm iedriver
-
Navigate to \EndToEndTests\EndToEndTests\e2e directory look for protractor.conf.js edit the file replace capabilities with below lines
capabilities: { 'browserName': 'internet explorer', 'platform': 'ANY', 'version': '11' 'ignoreProtectedModeSettings': true, },
-
Navigate to \EndToEndTests\EndToEndTests\ directory and enter command
npm run startiedriver
-
Open another instance of windows command prompt and Navigate to ..\EndToEndTests\EndToEndTests\ directory run command
npm test
- Refer https://stackoverflow.com/questions/37456099/protractor-test-in-ie?rq=1 for settings
- Ensure your display settings is set to 100%. Right click on desktop > display settings > Change size of text, apps and other items to 100%
- Ensure that your IE browser zoom level is 100%
https://medium.com/@ganeshsirsi/protractor-end-to-end-tests-configure-on-ci-cd-tfs-vsts-azure-devops-publish-html-results-9143846f579f
https://medium.com/@ganeshsirsi/protractor-end-to-end-tests-configure-on-ci-cd-tfs-vsts-azure-devops-publish-html-results-9143846f579f
--Saptami