A man denies forcing open a car, grabbing the driver, and attempting to pull him from the vehicle.
John Turnbull also denies brandishing a knife, to the fear and alarm of the car occupants; possession of a knife; and wilfully damaging a car.
The offences are alleged to have happened in Minto Place on April 23.
Turnbull, 26, of Crailing Court, will stand trial at Jedburgh Sheriff Court on August 11, with an intermediate diet on July 13.
He was released on bail with a condition not to enter Minto Place or to contact two named persons.