aboutsummaryrefslogtreecommitdiff
path: root/to-uiautomator.xsl
diff options
context:
space:
mode:
authorKevin Jin <kjin@google.com>2014-04-04 11:55:58 -0700
committerKevin Jin <kjin@google.com>2014-04-04 11:55:58 -0700
commit5c9d7f7e2db9c7dd52543e455abff0449e21a90b (patch)
tree903e4f2e0ab038298770f0582af8223395d8ee61 /to-uiautomator.xsl
parentb91b93ad4787c19d769d0e8f3c1660231d6e0687 (diff)
downloaddroiddriver-5c9d7f7e2db9c7dd52543e455abff0449e21a90b.tar.gz
add selection-[start|end} attributes for TextView
Change-Id: I0fb7214437c450ffcccc7fb2ce94e32d7ec759dc
Diffstat (limited to 'to-uiautomator.xsl')
-rw-r--r--to-uiautomator.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/to-uiautomator.xsl b/to-uiautomator.xsl
index a78d33a..b4b0af3 100644
--- a/to-uiautomator.xsl
+++ b/to-uiautomator.xsl
@@ -24,6 +24,8 @@
<xsl:attribute name="scrollable"><xsl:value-of select="boolean(@scrollable)" /></xsl:attribute>
<xsl:attribute name="long-clickable"><xsl:value-of select="boolean(@long-clickable)" /></xsl:attribute>
<xsl:attribute name="password"><xsl:value-of select="boolean(@password)" /></xsl:attribute>
+ <xsl:attribute name="selection-start"><xsl:value-of select="@selection-start" /></xsl:attribute>
+ <xsl:attribute name="selection-end"><xsl:value-of select="@selection-end" /></xsl:attribute>
<xsl:attribute name="selected"><xsl:value-of select="boolean(@selected)" /></xsl:attribute>
<xsl:attribute name="bounds"><xsl:value-of select="@bounds" /></xsl:attribute>
<!-- These two attributes are added by DroidDriver to help diagnosis -->