If the defendant is pleading not guilty the case will eventually come before the court so that a date in the future can be set aside for the hearing of all the evidence (the trial). At the trial the prosecution and the defendant will be expected to be fully prepared to present all the evidence, including having all witnesses at court.
Before the case is listed for trial there are certain pre-trial procedures.