Titanium JIRA Archive
Alloy (ALOY)

[ALOY-941] Add a unique and unchanging ID property to all UI components for Appcelerator Test usage

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterTim Poulsen
AssigneeTim Poulsen
Created2014-01-27T19:10:44.000+0000
Updated2014-06-18T22:53:21.000+0000

Description

IDs within the Test environment need to be unique and unchanging so that recorded tests can be reused after the developer inserts new UI components into the views. This is generally the case when the developer adds id properties to all UI components. But it may not be so when Alloy generates IDs for elements not directly assigned an id. The request is to add a touchTestId property to all components at compile time that is both unique and unchanging over subsequent builds. Proposed is to: * set touchTestId = id string entered by developer, to be re-assigned with each build to account for developers changing and reassigning id strings * if the id string is not set, generate a unique value in the form ttID1234, which would never be reused in subsequent builds

Comments

No comments

JSON Source