Hi team, We are planing to write UI tests using selenium frameworks with page-object-model[1]. Following this model it is easy to find elements in a page when we have id's binded to those elements. Until we get samples with this model, shall we make sure we define id's for UI elements accordingly rather than adding them later.
Not all the UI elements may need to have id's, but testable fields such as inputs, dynamic contents & etc. (ex: [2]) @UX team Going forward, shall we enforce this in UI markups as well. [1] http://toolsqa.com/selenium-webdriver/page-object-model/ [2] https://github.com/ayshsandu/product-is/blob/6.0.x-C5-test-ui/portal/apps/org.wso2.carbon.iam.user-portal.app/src/main/pages/login.hbs#L51 Thanks! -Ayesha -- *Ayesha Dissanayaka* Software Engineer, WSO2, Inc : http://wso2.com <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> 20, Palmgrove Avenue, Colombo 3 E-Mail: aye...@wso2.com <ayshsa...@gmail.com>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev