If you want to take out an AT gun with Infantry, it's no use sending them charging in on a frontal attack! The gun has a shield which most of the crew are protected by. The only way to take out that AT gun with infantry is by being sneaky!
Get down to ground level, see where the cover is, then crawl your infantry to the guns flank, then take it out, works for me! </font>