the message on the information system says 'battery not charging' on 1999 Cadillac DeVille

this message comes on a few seconds after the engines is running.I had the battery tested and replaced- the message still appears. what is possibly the problem?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Unfortunately the most likely problem is the alternator has failed.