Saturday, October 31Be an Automation Engineer


Internals of element identification in protractor

Locators, Protractor

The most important steps in end-to-end tests for any web application are finding DOM elements, interacting with them, and getting information about the current state of your application. So it is better to understand the internal details of element identification mechanism in any UI automation tool like Protractor to write better performing automation tests.

This documentation is an overview of » Continue Reading.

Angular specific locators in protractor

Locators, Protractor

Protractor has inbuilt support for identifying elements which are related to angular js by using ng-model or ng-bind or ng-repeat etc..

Please go through different locating strategies supported by protractor for angular Js applications.

Angular specific locators by.binding

To find elements with text binding. Means the elements which are bound to an angular variable.

Note: For AngularJS version 1.2, the » Continue Reading.

Protractor element locators

Locators, Protractor

Protractor supports all the element location strategies given by selenium like @Id, @xpath, @cssSelector, @name etc.. Along with the selenium supported locators, protractor has unique set of locators particularly to identify elements based on angular js attributes like ng-model, ng-repeat, ng-options, ng-bind etc.. We will explain about how to use selenium supported element locators in protractor by angular js » Continue Reading.

Element Locators in WebdriverIO

Locators, WebdriverIO

Selenium supports 8 different element locating stategies like @id, @className, @xpath, @css etc.. In selenium we need to specify which locator we are passing like if we are passing xpath then we need to specify it with By.xpath(‘locator’).

WebdriverIO has simplified element location strategies. We don’t need to specify whether we are passing xpath/css. Simply we can write‘locator’). WebdriverIO » Continue Reading.