The executor, administrator and witnesses may be examined on oath by either party, and process to compel them to attend and testify may be issued by the judge of the district court in the same manner and with like effect as in other cases.
R.L.1910, § 6376.