Protractor AngularJS

Protractor – Locators - Objective Well not much of an objective but for the keepsake of all the locators available in Protractor for identifying elements. Function Description Usage Website DOM partialButtonText Find a button by partial text. cssContainingText Find a button by partial text. deepCss Find an element by css selector within the Shadow DOM. options Find an element […]
Protractor – Multiple specs files – IntelliJ - Objective Just like in selenium, we have multiple test files, we can implement the same in Protractor by creating multiple specs files. Create one spec file which opens http://www.viu.com and verifies the title Create one spec file which opens http://www.google.com and verifies the title Project Structure Our project structure in this example will be as […]
Protractor Setup on IntelliJ - Recently started digging into protractor for websites based on AngularJS. Selenium gave me a headache while trying to automate the site. But then again, which IDE to choose for Protractor. If you google it out then suggestions will be: WebStorm (from jetbrains but paid) Notepad++ (haha.. goodluck with that) Sublimetext (Same as notepad++) Eclipse IntelliJ […]

Advertisements