Forum Discussion
I looked again. As I was taking the requested screen shots, I saw attributes.name.nodevalue seems to work. The conditional mapping was not going to work from the TC UI because of limitations to the UI for selecting the property.
Hi,
> attributes.name.nodevalue seems to work.
This is probably the best way to go (https://support.smartbear.com/testcomplete/docs/app-testing/web/general/object-identification/using-custom-attributes.html) considering the technology your tested application is based on and obvious absence (or complete ignorance) of QA (not testing) activities. (Which is not your fault.)
- vthomeschoolmom5 years agoSuper Contributor
Can you explain this
"considering the technology your tested application is based on and obvious absence (or complete ignorance) of QA (not testing) activities. (Which is not your fault.)"
- AlexKaras5 years agoChampion Level 3
Hi,
> Can you explain this [...]
Your tested application seems to be created using React or Angular, both of which, by default, do not care about (external) testability of created html markup. While it is possible to create web pages with good semantic markup (i.e. with stable and unique identifiers for web elements), designers/developers usually do not care about this.
QA, which stands for 'Quality Assurance' is a set of preventive actions with the goal to assure the quality of the program been developed.
So, with QA activities and processes at place, management, stakeholders, other relevant people must be warned on the pre-development stage that created web pages will be of extremely low testability if no special attention and actions are taken from Development side. And this will be true regardless of test automation tool been used.
- vthomeschoolmom5 years agoSuper Contributor
With a legacy app, there is no such thing as pre-development phase. What even is a pre-development phase? The world we live in is one where the organization eventually has to grow up. That is where we are now at my organization. The application is where it is today and is going where it is going moving forward. That's life.
Frankly, having a NAME attribute ought to be suffienct to find the damned thing. But that's me.
Related Content
- 5 years ago
- 6 years ago
- 12 years ago
- 9 years ago
- 2 years ago
Recent Discussions
- 7 hours ago