Protractor Data-Driven Automation Framework using Excel UI Object Repository as well as Test Data. This is a BDD model using Jasmine. Each Method under script acts as a Component which loads a different data row for test case. The Components are called in mutiple test scenarios of BDD under each Specs for test cases to be used.
- Java (1.8 or, higher)
- Node Js
- Gradle
git clone https://github.com/Shankerthebunker62/WebsiteAutomation.git
cd WebsiteAutomation
npm install --unsafe-perm=true
- gradle wrapper
- gradle installGulp
- gradle clean build --refresh-dependencies
- gradle task e2e
- gradle --stop
'browserName': 'firefox', 'logName': 'Firefox - English', 'moz:firefoxOptions': { 'args': ['--verbose', '--safe-mode'] // '--headless' }
'browserName': 'chrome', 'logName': 'Chrome - English', 'chromeOptions': { 'args': ['--disable-gpu', 'test-type', 'disable-popup-blocking', 'start-maximized', 'disable-infobars'], // '--headless' 'prefs': { 'download': { 'prompt_for_download': false, 'directory_upgrade': true, 'default_directory': _StaticModule.downloadPath() } } }
'browserName': 'internet explorer', 'platform': 'ANY', 'version': '11'
'browserName': 'safari', 'safari.options': { technologyPreview: true }
Firefox and Chrome with scale feature with the simple compose commands.
http://localhost:4545/grid/console
-
$ docker-compose up -d
-
$ docker-compose start
-
$ docker-compose scale nodechrome=3 nodefirefox=3
-
$ docker-compose stop
-
$ docker-compose down
- $ docker-compose ps
- https://stackoverflow.com/questions/48910876/error-eacces-permission-denied-access-usr-local-lib-node-modules-react
- https://github.com/aerokube/windows-images/tree/master/image
- https://github.com/angular/protractor/blob/master/lib/config.ts
- https://github.com/aerokube/selenoid
- https://github.com/GoogleChrome/puppeteer