Page 1 of 1

FEATRUE REQUEST: Generate RXPath for ButtonTag as /buttontag

Posted: Thu Jan 23, 2014 3:28 pm
by krstcs
There have been several threads asking why buttons are not working in html. Most of these appear to be due to the double-use of "/button" for both Button and ButtonTag objects.

I would like to add a feature request the ButtonTag objects should be automatically generated with a path of "/buttontag" instead of the short-hand "/button".

This should not break backwards compatibility since it would only be the RXPath generator that would be changed. And it would greatly improve the readability and decrease the confusion about the actual path and object type that is being represented.

Re: FEATRUE REQUEST: Generate RXPath for ButtonTag as /buttontag

Posted: Fri Jan 24, 2014 12:28 pm
by mebner
Hi,

Thanks for taking up the issue :)!
We already discussed about such a feature. Not to provide another path "/buttontag", but to also implement the Button role for the ButtonTag adapter.
Which in fact means that you can define a Button adpater, in code, to access your ButtonTag web element.

Regards,
Markus

Re: FEATRUE REQUEST: Generate RXPath for ButtonTag as /buttontag

Posted: Fri Jan 24, 2014 2:19 pm
by krstcs
Excellent! That may be even better.

I wasn't sure how much work it would be, and my suggestion seemed to be the "easiest".

Thanks Markus!

Re: FEATRUE REQUEST: Generate RXPath for ButtonTag as /buttontag

Posted: Mon Jan 27, 2014 3:05 pm
by mebner
You're welcome :)!