rezza
4 years agoOccasional Contributor
using tag in FindBy annotation
Hi
I've created a complete test case using the cucumber and everything is fine.
I've used the XPath for targeting the elements.
And using the XPath was a little messy.
I want to add a new property in all the elements for making it easier to targeting elements.
Should I add the "tag" property in elements?
And also for using that, Should I use the "tagName" in the @FindBy?
If so, what name would you suggest for the tag property?
Something like "ui_testing_button" is good?