FEATRUE REQUEST: Generate RXPath for ButtonTag as /buttontag

Bug reports.
krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

FEATRUE REQUEST: Generate RXPath for ButtonTag as /buttontag

Post by krstcs » Thu Jan 23, 2014 3:28 pm

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.
Shortcuts usually aren't...

User avatar
mebner
Posts: 61
Joined: Tue Dec 17, 2013 6:42 pm

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

Post by mebner » Fri Jan 24, 2014 12:28 pm

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

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

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

Post by krstcs » Fri Jan 24, 2014 2:19 pm

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!
Shortcuts usually aren't...

User avatar
mebner
Posts: 61
Joined: Tue Dec 17, 2013 6:42 pm

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

Post by mebner » Mon Jan 27, 2014 3:05 pm

You're welcome :)!