Gary Mackay-Steven used his pace to open the scoring in the first half with Liam Boyce doubling the lead after the break thanks to some good build-up play involving Peter Haring and Michael Smith.
Hearts could have won the game more comfortably but passed up a few opportunities in each half.
Robbie Neilson will likely be pleased with his team, considering it was their first competitive action in more than 70 days and the fact Hearts lost on their last trip to Balmoor.
How did the players rate out of ten?
Player ratings scale - 10: One of the best performances you've seen. 9: Outstanding. 8: Very good. 7: Good. 6: Average. 5: Poor, 4: Very poor. 3: A terrible day at the office. 2: Abysmal. 1: One of the worst performances you've seen.

9. Gary Mackay-Steven - 8
At times a bit loose in possession but his pace was a huge advantage for Hearts and he used it to net the opening goal. Could have scored before then and nearly graved a second after the interval. Photo: Craig Williamson - SNS Group

10. Josh Ginnelly - 6
Quiet afternoon for the winger. Got into a couple of decent positions in the first half without making a definitive impact. Good to get an hour under his belt in a competitive match. His first since January 26. Photo: Paul Devlin - SNS Group

11. Liam Boyce - 8
The Northern Irishman continued his fine form from last season. Dropped deep in the opening 45 to try and probe, while also getting on the end of the best chances. Scored in the second half and was a brilliant focal point as always. Photo: Mark Scates - SNS Group

12. Jamie Walker - 7
A lively appearance off the bench. Something happened every time he touched it whether it was something off the cuff or a more measured contribuiton. Photo: Ross MacDonald - SNS Group

