An application for the postponement of the trial shall not be granted unless the party applying therefor, if required by the adverse party, consents to take the deposition of any witness of the adverse party then in attendance upon the court. If the consent is given, the justice shall take the deposition, and it may be read on the trial, subject to the same objection as if the witness were present and gave the testimony orally.
ORS 52.520