They were the better side getting to the midway of the game. They dominated the midfield and broke the Kotoko lines in midfield.
It came as little surprise when they silenced the vociferous Kotoko faithful with the opener through the enterprising Hamza Issah.
They held on to the end of the half but paid dearly for a momentary loss of concentration in the early periods of the second half where Kotoko scored two quick-fire goals.
The equaliser was a poor own goal scored by a pressured Konadu Yiadom.
Less than two minutes later, Kotoko broke the Hearts rear again when Albert Amoah set up Kwame Poku to slot home the winner.
Hearts found the equaliser but was controversially ruled out for offside. They had a penalty to draw level but Emmanuel Amankwah shot feebly into the direction of the Kotoko goalie.