Red warning light and battery indicator flashes randomly

Hello I have a Volvo v70 2.5 station wagon. I had problems with the alternator. This was broken and a factory town has built in a new one. After that everything worked and the car ran again perfectly. After about 2-3 weeks the red warning light and the battery sign lit up in the stand at the traffic light. when I started driving the display was gone again immediately. So I didn’t really think about it. The problem came open again and again and I went back to the factory The factory town meant that the problem happens by chance so again and again they can not really test it and I should not think about it because it only occurs in the stand. Well, the answer is not really satisfactory. I’m not even sure if the WErkstadt has tested anything. But well. My question now I can find out for myself what this problem is or test anything to find out the mistake?