Try starting the car straight from the battery to the starter motor via a thick wire. If it starts u know it's not the starter motor, if it just keeps on cranking over then u know it IS the starter motor!
Just make sure the hand brake is on and the car is out of gear when doing it!!!!