Search in sources :

Example 6 with UIRectangle

use of functional.tests.core.mobile.element.UIRectangle in project functional-tests by NativeScript.

the class GroceriesItem method elements.

private void elements() {
    this.check = new UIRectangle(UIRectangle.extendRectangle(this.rectangle, 30, this.getRectangle().height / 2, 0, 0));
    this.text = new UIRectangle(UIRectangle.extendRectangle(this.rectangle, this.getRectangle().width / 2, this.center.y, 0, 0));
    this.deleteIcon = new UIRectangle(UIRectangle.extendRectangle(this.rectangle, this.getRectangle().width - 50, this.getRectangle().height / 2, 0, 0));
}
Also used : UIRectangle(functional.tests.core.mobile.element.UIRectangle)

Aggregations

UIRectangle (functional.tests.core.mobile.element.UIRectangle)6 Test (org.testng.annotations.Test)5 MobileTest (functional.tests.core.mobile.basetest.MobileTest)2 UIElement (functional.tests.core.mobile.element.UIElement)1