Battery light in ford focus 2002

Are both parts OK? If so, the problem is in electrical connections somewhere. Good luck and please let us know what you find.