[ALOY-941] Add a unique and unchanging ID property to all UI components for Appcelerator Test usage
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Tim Poulsen |
Assignee | Tim Poulsen |
Created | 2014-01-27T19:10:44.000+0000 |
Updated | 2014-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
No comments