Hi Ayesha,

IMO it would be better if we are not going to push this at design to markup
level. Because it's not guaranteed that we will have all the necessary
fields at that level. Isn't it?

Cheers!

On Tue, Jan 24, 2017 at 7:50 PM, Ayesha Dissanayaka <[email protected]> wrote:

> 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: [email protected] <[email protected]>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Jerad Rutnam*
*Software Engineer*

WSO2 Inc.
lean | enterprise | middleware
M : +94 77 959 1609 | E : [email protected] | W : www.wso2.com

<https://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to