Aberdeen signalled their early intent after the interval, with Foster stinging the palms of Ma-Kalambay with a fierce shot before MichaelPaton shot over a minute later.
Steven MacLean fed MichaelPaton who flicked the ball over last defender Chris Millar, ran in on goal but pulled his shot narrowly wide of Graeme Smith's left-hand post.
Hartley blazed over the bar after a MichaelPaton corner five minutes from time, while Travner saw a diagonal free-kick from just outside the penalty area whistle past the left-hand post.
The home support were appealing for a penalty within two minutes of the restart when MichaelPaton fell under pressure from John Potter in the area, but referee Brian Winter waved play on.
Midweek injuries ruled Rory McArdle and Zander Diamond out of the Dons defence, with MichaelPaton and Magennis also dropping out and Nikola Vujadinovic, Ryan Jack, Sone Aluko and Nick Blackman coming in.