Markets ended higher for a third straight session led by IT and broader market strength, though off highs, while the rupee weakened sharply to hit a record closing low.