Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Dynamics CE - test automation broken by recent changes

(1) ShareShare
ReportReport
Posted on by 83
Hi
 
we have lots of automated tests in Selenium with xpath locators such as //*[@title='Primary Contact'] or aria-label.
 
There appears to be a recent change, presumably pushed by Microsoft - now not seeing many of the previous attributes like 'aria-label' or 'title', meaning that many of the scripts are broken.
Has anyone else got this issue? What's the reason for the change, since I assume it also impacts accessibility devices like screen readers?
 
Many thanks
Dan
  • Suggested answer
    Alex KaSi Profile Picture
    41 on at
    Dynamics CE - test automation broken by recent changes
    I haven't used it yet but you could have a look how D365 EasyRepro gets the elements, maybe it helps
  • Dan_B_UK Profile Picture
    83 on at
    Dynamics CE - test automation broken by recent changes
    Would it be sustainable to use data-testid as the basis for a locator strategy? Does anyone have an informed view on this please?
    As per this and similar posts, the presence of data-testid seems to give confidence that it's going to be supported but difficult to find a definitive answer. Also, why remove aria-label attributes?
  • Swift but Sincere Profile Picture
    82 on at
    Dynamics CE - test automation broken by recent changes
    Not surprising.  Microsoft has never suggested support for DOM references; Selenium always breaks down on CE &c -- IIRC

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans