The Jambos will take on The Doonhamers on Wednesday, July 11th.
Hearts will travel to Dumfries for a friendly against Queen of the South on Wednesday, July 11th.
Craig Levein's men will face Gary Naysmith's side in a 7.45pm kick-off at Palmerston Park.
The match is the third pre-season friendly confirmed so far, with Hearts due to face Abroath on July 3rd and Dumbarton on July 7th.