web
You’re offline. This is a read only version of the page.
close
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
I have the same question (0)
  • Swift but Sincere Profile Picture
    82 on at
    Not surprising.  Microsoft has never suggested support for DOM references; Selenium always breaks down on CE &c -- IIRC
  • Dan_B_UK Profile Picture
    83 on at
    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?
  • Suggested answer
    Alex KaSi Profile Picture
    41 on at
    I haven't used it yet but you could have a look how D365 EasyRepro gets the elements, maybe it helps

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans