legal proceedings which a party answers questions under oath but not in open court