Update ui-tests-app - set automationText properties

This commit is contained in:
Vasil Chimev
2016-01-28 18:59:04 +02:00
parent e6da4f3377
commit 6a34ccdd10
22 changed files with 130 additions and 130 deletions

View File

@@ -1,19 +1,19 @@
<Page>
<StackLayout>
<StackLayout loaded="stack0Loaded" orientation="horizontal">
<TextField id="tf" text="{{ textSource }}" width="150" />
<Button id="btn" width="150" />
<TextField id="tf" automationText="tf" text="{{ textSource }}" width="150" />
<Button id="btn" automationText="btn" width="150" />
</StackLayout>
<StackLayout loaded="stack1Loaded">
<Label id="label" text="{{ text }}" />
<Label id="label" automationText="label" text="{{ text }}" />
</StackLayout>
<StackLayout loaded="stack2Loaded">
<Button id="button" text="{{ myProperty }}" tap="{{ myFunction }}" />
<Button id="button" automationText="button" text="{{ myProperty }}" tap="{{ myFunction }}" />
</StackLayout>
<StackLayout loaded="stack3Loaded">
<ListView id="listView" items="{{ myItems }}">
<ListView id="listView" automationText="listView" items="{{ myItems }}">
<ListView.itemTemplate>
<Label id="item" text="{{ text }}" />
<Label id="item" automationText="item" text="{{ text }}" />
</ListView.itemTemplate>
</ListView>
</StackLayout>

View File

@@ -1,6 +1,6 @@
<Page>
<GridLayout rows="240, *">
<GridLayout width="290" id="test-element" />
<GridLayout width="290" id="test-element" automationText="test-element" />
<WrapLayout row="1">
<Button width="40" height="40" text="r" tap="resetTap"/>

View File

@@ -1,9 +1,9 @@
<Page loaded="onLoaded">
<WrapLayout>
<Button id="app" text="app" />
<Button id="inline" text="inline" style="background-color: lightgreen;" />
<Button id="page" text="page" />
<Button id="property" text="property" />
<Button id="import" text="import" />
<Button id="app" automationText="app" text="app" />
<Button id="inline" automationText="inline" text="inline" style="background-color: lightgreen;" />
<Button id="page" automationText="page" text="page" />
<Button id="property" automationText="property" text="property" />
<Button id="import" automationText="import" text="import" />
</WrapLayout>
</Page>

View File

@@ -1,10 +1,10 @@
<Page >
<StackLayout>
<Button id="Change" text="Change" tap="butonTap" />
<Label id="Label" text="Label" style.textDecoration="none" />
<Button id="Button" text="Button" style.textDecoration="none" />
<TextField id="TextField" text="TextField" style.textDecoration="none" />
<TextView id="TextView" text="TextView" style.textDecoration="none" />
<Button id="Change" automationText="Change" text="Change" tap="butonTap" />
<Label id="Label" automationText="Label" text="Label" style.textDecoration="none" />
<Button id="Button" automationText="Button" text="Button" style.textDecoration="none" />
<TextField id="TextField" automationText="TextField" text="TextField" style.textDecoration="none" />
<TextView id="TextView" automationText="TextView" text="TextView" style.textDecoration="none" />
<!--
<Label text="Label" style="text-decoration:none" />

View File

@@ -1,10 +1,10 @@
<Page >
<StackLayout>
<Button id="Change" text="Change" tap="butonTap" />
<Label id="Label" text="label Label" style.textTransform="none" />
<Button id="Button" text="button Button" style.textTransform="none" />
<TextField id="TextField" text="textField textField" style.textTransform="none" />
<TextView id="TextView" text="textView textView" style.textTransform="none" />
<Button id="Change" automationText="Change" text="Change" tap="butonTap" />
<Label id="Label" automationText="Label" text="label Label" style.textTransform="none" />
<Button id="Button" automationText="Button" text="button Button" style.textTransform="none" />
<TextField id="TextField" automationText="TextField" text="textField textField" style.textTransform="none" />
<TextView id="TextView" automationText="TextView" text="textView textView" style.textTransform="none" />
<!--
<Label text="label label" style="text-transform:none" />

View File

@@ -1,11 +1,11 @@
<Page >
<ScrollView>
<StackLayout width="50">
<Button id="Change" text="Change" tap="butonTap" />
<Label id="Label" text="label Label" style.whiteSpace="normal" />
<Button id="Button" text="button Button" style.whiteSpace="normal" />
<TextField id="TextField" text="textField textField" style.whiteSpace="normal" />
<TextView id="TextView" text="textView textView" style.whiteSpace="normal" />
<Button id="Change" automationText="Change" text="Change" tap="butonTap" />
<Label id="Label" automationText="Label" text="label Label" style.whiteSpace="normal" />
<Button id="Button" automationText="Button" text="button Button" style.whiteSpace="normal" />
<TextField id="TextField" automationText="TextField" text="textField textField" style.whiteSpace="normal" />
<TextView id="TextView" automationText="TextView" text="textView textView" style.whiteSpace="normal" />
<!--
<Label text="Label Normal" style="white-space:normal" />

View File

@@ -1,6 +1,6 @@
<Page loaded="pageLoaded">
<StackLayout>
<Label text="{{ name }}" id="label" style="text-align:center;" />
<Label text="{{ name }}" id="label" automationText="label" style="text-align:center;" />
<Button text="action" tap="{{ actionName }}" />
<Button text="alert" tap="{{ alertName }}" />
<Button text="confirm" tap="{{ confirmName }}" />

View File

@@ -1,15 +1,15 @@
<Page loaded="onLoaded">
<AbsoluteLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightpink;" width="75%" height="75%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" left="150" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" top="100" id="margins" style="background-color: lightsalmon;" width="40%" height="25%" />
<Button text="a" tap="{{ onAlignments }}" left="150" top="100" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" top="200" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" left="150" top="200" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightpink;" width="75%" height="75%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" left="150" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" top="100" id="margins" automationText="margins" style="background-color: lightsalmon;" width="40%" height="25%" />
<Button text="a" tap="{{ onAlignments }}" left="150" top="100" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" top="200" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" left="150" top="200" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" top="300" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" left="150" top="300" id="allProperties" style="background-color: aquamarine;" />
<Button text="s" tap="onSetLeftSetTop" top="400" id="setLeftSetTop" style="background-color: lightgreen;" />
<Button text="p" tap="{{ onPaddings }}" top="300" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" left="150" top="300" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<Button text="s" tap="onSetLeftSetTop" top="400" id="setLeftSetTop" automationText="setLeftSetTop" style="background-color: lightgreen;" />
</AbsoluteLayout>
</Page>

View File

@@ -1,15 +1,15 @@
<Page loaded="onLoaded">
<DockLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightpink;" width="15%" height="75%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" dock="right" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" dock="top" id="margins" style="background-color: lightsalmon;" />
<Button text="a" tap="{{ onAlignments }}" dock="top" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" dock="bottom" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" dock="bottom" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightpink;" width="15%" height="75%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" dock="right" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" dock="top" id="margins" automationText="margins" style="background-color: lightsalmon;" />
<Button text="a" tap="{{ onAlignments }}" dock="top" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" dock="bottom" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" dock="bottom" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" dock="top" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" dock="top" id="allProperties" style="background-color: aquamarine;" />
<Button text="tr" tap="onStretchLastChild" id="stretchLastChild" style="background-color: lightgreen;" />
<Button text="p" tap="{{ onPaddings }}" dock="top" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" dock="top" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<Button text="tr" tap="onStretchLastChild" id="stretchLastChild" automationText="stretchLastChild" style="background-color: lightgreen;" />
</DockLayout>
</Page>

View File

@@ -1,18 +1,18 @@
<Page loaded="onLoaded">
<GridLayout rows="auto, 50, auto, 50" columns="auto, 50, auto, 50">
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightpink;" width="25%" height="25%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" col="1" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" col="2" id="margins" style="background-color: lightsalmon;" />
<Button text="a" tap="{{ onAlignments }}" row="1" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" row="1" col="1" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" row="1" col="2" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightpink;" width="25%" height="25%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" col="1" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" col="2" id="margins" automationText="margins" style="background-color: lightsalmon;" />
<Button text="a" tap="{{ onAlignments }}" row="1" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" row="1" col="1" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" row="1" col="2" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" row="2" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" row="2" col="1" id="allProperties" style="background-color: aquamarine;" />
<Button text="p" tap="{{ onPaddings }}" row="2" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" row="2" col="1" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<StackLayout row="2" col="2" width="25%" height="25%">
<Button text="1" tap="onAddRowColumn" id="addRowColumn" style="background-color: lightgreen;" width="50%" height="50%" horizontalAlignment="left" />
<Button text="0" tap="onRemoveRowColumn" id="removeRowColumn" style="background-color: lightgreen;" width="50%" height="50%" horizontalAlignment="right" />
<Button text="1" tap="onAddRowColumn" id="addRowColumn" automationText="addRowColumn" style="background-color: lightgreen;" width="50%" height="50%" horizontalAlignment="left" />
<Button text="0" tap="onRemoveRowColumn" id="removeRowColumn" automationText="removeRowColumn" style="background-color: lightgreen;" width="50%" height="50%" horizontalAlignment="right" />
</StackLayout>
</GridLayout>
</Page>

View File

@@ -1,15 +1,15 @@
<Page loaded="onLoaded">
<StackLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightpink;" width="90%" height="10%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" style="background-color: lightblue;" width="80%" height="10%" />
<Button text="m" tap="{{ onMargins }}" id="margins" style="background-color: lightsalmon;" width="70%" height="10%" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" style="background-color: lightblue;" width="60%" height="10%" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" style="background-color: lightblue;" width="50%" height="10%" />
<Button text="v" tap="{{ onVisibile }}" id="visible" style="background-color: lightblue;" width="40%" height="10%" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightpink;" width="90%" height="10%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" width="80%" height="10%" />
<Button text="m" tap="{{ onMargins }}" id="margins" automationText="margins" style="background-color: lightsalmon;" width="70%" height="10%" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" automationText="alignments" style="background-color: lightblue;" width="60%" height="10%" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" automationText="collapse" style="background-color: lightblue;" width="50%" height="10%" />
<Button text="v" tap="{{ onVisibile }}" id="visible" automationText="visible" style="background-color: lightblue;" width="40%" height="10%" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" id="paddings" style="background-color: lightgray;" width="30%" height="10%"/>
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" style="background-color: aquamarine;" width="20%" height="10%" />
<Button text="o" tap="onOrientation" id="orientation" style="background-color: lightgreen;" width="10%" height="10%" />
<Button text="p" tap="{{ onPaddings }}" id="paddings" automationText="paddings" style="background-color: lightgray;" width="30%" height="10%"/>
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" width="20%" height="10%" />
<Button text="o" tap="onOrientation" id="orientation" automationText="orientation" style="background-color: lightgreen;" width="10%" height="10%" />
</StackLayout>
</Page>

View File

@@ -1,16 +1,16 @@
<Page loaded="onLoaded">
<WrapLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightpink;" width="20%" height="10%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" id="margins" style="background-color: lightsalmon;" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" style="background-color: lightblue;" width="20%" height="10%" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" style="background-color: lightblue;" width="20%" height="10%" />
<Button text="v" tap="{{ onVisibile }}" id="visible" style="background-color: lightblue;" width="20%" height="10%" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightpink;" width="20%" height="10%" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" id="margins" automationText="margins" style="background-color: lightsalmon;" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" automationText="alignments" style="background-color: lightblue;" width="20%" height="10%" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" automationText="collapse" style="background-color: lightblue;" width="20%" height="10%" />
<Button text="v" tap="{{ onVisibile }}" id="visible" automationText="visible" style="background-color: lightblue;" width="20%" height="10%" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" id="paddings" style="background-color: lightgray;" width="20%" height="10%" />
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" style="background-color: aquamarine;" width="20%" height="10%" />
<Button text="o" tap="onOrientation" id="orientation" style="background-color: lightgreen;" width="20%" height="10%" />
<Button text="i" tap="onItemWidthItemHeight" id="itemWidthItemHeight" style="background-color: lightgreen;" width="20%" height="10%" />
<Button text="p" tap="{{ onPaddings }}" id="paddings" automationText="paddings" style="background-color: lightgray;" width="20%" height="10%" />
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" width="20%" height="10%" />
<Button text="o" tap="onOrientation" id="orientation" automationText="orientation" style="background-color: lightgreen;" width="20%" height="10%" />
<Button text="i" tap="onItemWidthItemHeight" id="itemWidthItemHeight" automationText="itemWidthItemHeight" style="background-color: lightgreen;" width="20%" height="10%" />
</WrapLayout>
</Page>

View File

@@ -1,15 +1,15 @@
<Page loaded="onLoaded">
<AbsoluteLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" left="150" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" top="100" id="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" left="150" top="100" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" top="200" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" left="150" top="200" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" left="150" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" top="100" id="margins" automationText="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" left="150" top="100" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" top="200" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" left="150" top="200" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" top="300" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" left="150" top="300" id="allProperties" style="background-color: aquamarine;" />
<Button text="s" tap="onSetLeftSetTop" top="400" id="setLeftSetTop" style="background-color: lightgreen;" />
<Button text="p" tap="{{ onPaddings }}" top="300" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" left="150" top="300" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<Button text="s" tap="onSetLeftSetTop" top="400" id="setLeftSetTop" automationText="setLeftSetTop" style="background-color: lightgreen;" />
</AbsoluteLayout>
</Page>

View File

@@ -1,15 +1,15 @@
<Page loaded="onLoaded">
<DockLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" dock="right" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" dock="top" id="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" dock="top" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" dock="bottom" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" dock="bottom" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" dock="right" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" dock="top" id="margins" automationText="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" dock="top" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" dock="bottom" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" dock="bottom" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" dock="top" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" dock="top" id="allProperties" style="background-color: aquamarine;" />
<Button text="tr" tap="onStretchLastChild" id="stretchLastChild" style="background-color: lightgreen;" />
<Button text="p" tap="{{ onPaddings }}" dock="top" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" dock="top" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<Button text="tr" tap="onStretchLastChild" id="stretchLastChild" automationText="stretchLastChild" style="background-color: lightgreen;" />
</DockLayout>
</Page>

View File

@@ -1,18 +1,18 @@
<Page loaded="onLoaded">
<GridLayout rows="auto, 100, *, 50" columns="auto, 60, *, 40">
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" col="1" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" col="2" id="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" row="1" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" row="1" col="1" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" row="1" col="2" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" col="1" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" col="2" id="margins" automationText="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" row="1" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" row="1" col="1" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" row="1" col="2" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" row="2" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" row="2" col="1" id="allProperties" style="background-color: aquamarine;" />
<Button text="p" tap="{{ onPaddings }}" row="2" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" row="2" col="1" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<StackLayout row="2" col="2">
<Button text="1" tap="onAddRowColumn" id="addRowColumn" style="background-color: lightgreen;" />
<Button text="0" tap="onRemoveRowColumn" id="removeRowColumn" style="background-color: lightgreen;" />
<Button text="1" tap="onAddRowColumn" id="addRowColumn" automationText="addRowColumn" style="background-color: lightgreen;" />
<Button text="0" tap="onRemoveRowColumn" id="removeRowColumn" automationText="removeRowColumn" style="background-color: lightgreen;" />
</StackLayout>
</GridLayout>
</Page>

View File

@@ -1,15 +1,15 @@
<Page loaded="onLoaded">
<StackLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" id="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" id="margins" automationText="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" style="background-color: aquamarine;" />
<Button text="o" tap="onOrientation" id="orientation" style="background-color: lightgreen;" />
<Button text="p" tap="{{ onPaddings }}" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<Button text="o" tap="onOrientation" id="orientation" automationText="orientation" style="background-color: lightgreen;" />
</StackLayout>
</Page>

View File

@@ -1,16 +1,16 @@
<Page loaded="onLoaded">
<WrapLayout>
<!-- View Properties -->
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" id="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" id="visible" style="background-color: lightblue;" />
<Button text="wh" tap="{{ onWidthHeight }}" id="widthHeight" automationText="widthHeight" style="background-color: lightblue;" />
<Button text="n" tap="{{ onMinWidthMinHeight }}" id="minWidthMinHeight" automationText="minWidthMinHeight" style="background-color: lightblue;" />
<Button text="m" tap="{{ onMargins }}" id="margins" automationText="margins" style="background-color: lightblue;" />
<Button text="a" tap="{{ onAlignments }}" id="alignments" automationText="alignments" style="background-color: lightblue;" />
<Button text="c" tap="{{ onCollapse }}" id="collapse" automationText="collapse" style="background-color: lightblue;" />
<Button text="v" tap="{{ onVisibile }}" id="visible" automationText="visible" style="background-color: lightblue;" />
<!-- Layout Properties -->
<Button text="p" tap="{{ onPaddings }}" id="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" style="background-color: aquamarine;" />
<Button text="o" tap="onOrientation" id="orientation" style="background-color: lightgreen;" />
<Button text="i" tap="onItemWidthItemHeight" id="itemWidthItemHeight" style="background-color: lightgreen;" />
<Button text="p" tap="{{ onPaddings }}" id="paddings" automationText="paddings" style="background-color: lightgray;" />
<Button text="all" tap="{{ onAllProperties }}" id="allProperties" automationText="allProperties" style="background-color: aquamarine;" />
<Button text="o" tap="onOrientation" id="orientation" automationText="orientation" style="background-color: lightgreen;" />
<Button text="i" tap="onItemWidthItemHeight" id="itemWidthItemHeight" automationText="itemWidthItemHeight" style="background-color: lightgreen;" />
</WrapLayout>
</Page>

View File

@@ -1,7 +1,7 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd" shownModally="onShownModally" loaded="onLoaded" unloaded="onUnloaded" backgroundColor="Red">
<StackLayout backgroundColor="PaleGreen">
<TextField hint="username" id="username" text="username"/>
<TextField hint="password" id="password" text="password" secure="true"/>
<TextField hint="username" id="username" automationText="username" text="username"/>
<TextField hint="password" id="password" automationText="password" text="password" secure="true"/>
<Button text="Login" tap="onLoginButtonTap"/>
</StackLayout>
</Page>

View File

@@ -2,6 +2,6 @@
<StackLayout backgroundColor="PaleGreen">
<Button text="Login (pop-up)" tap="onTap" />
<Button text="Login (full-screen)" tap="onTap" />
<Label id="label" text="Anonymous"/>
<Label id="label" automationText="label" text="Anonymous"/>
</StackLayout>
</Page>

View File

@@ -1,6 +1,6 @@
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded">
<StackLayout>
<Label id="label" />
<Label id="label" automationText="label" />
<Button text="æøå" />
</StackLayout>
</Page>

View File

@@ -1,7 +1,7 @@
<Page>
<GridLayout rows="*, auto, *" >
<GridLayout backgroundColor="lightgreen" id="target" margin="20" touch="onTouch"/>
<GridLayout backgroundColor="lightgreen" id="target" automationText="target" margin="20" touch="onTouch"/>
<Button row="1" text="clear" tap="clear"/>
<TextView row="2" text="here" id="output" style="font-size: 10, font-family: monospace;"/>
<TextView row="2" text="here" id="output" automationText="output" style="font-size: 10, font-family: monospace;"/>
</GridLayout>
</Page>

View File

@@ -1,6 +1,6 @@
<Page loaded="pageLoaded">
<StackLayout orientation="vertical">
<TextField id="textField" text="{{ textProperty }}" />
<TextField id="textFieldSecured" text="{{ textProperty }}" />
<TextField id="textField" automationText="textField" text="{{ textProperty }}" />
<TextField id="textFieldSecured" automationText="textFieldSecured" text="{{ textProperty }}" />
</StackLayout>
</Page>