lundi 22 février 2016

UI Testing - how to create unique identifiers for elements

We are doing UI testing in our company using Selenium framework to interact with UI. Currently most of the elements are being found by using either: Binding, XPath, Model and sometimes text.

The issue is that we see that allot of times these values are changes as time progresses. We would like to avoid this by having some sort of unique way to find elements. As such maybe some standard for UI developers to use to make UI testing more easy.

There are various ways to do this from simply using the ID attribute and other options.

I'd love to get some input on how you implemented this in your company to make UI testing much easier.

Thanks,

Aucun commentaire:

Enregistrer un commentaire