The present invention provides an ultrasonic diagnostic apparatus including a bio-signal analyzing section sequentially acquiring a bio-signal from a bio-signal acquiring section over a plurality of cycles to evaluate stability of a heart function in one cycle between particular signal waveforms of the bio-signal and one cycle between particular signal waveforms adjacent to the one cycle between the particular signal waveforms, selecting the one cycle between the particular signal waveforms and one cycle between the particular signal waveforms adjacent to the one cycle between the particular signal waveforms as a test period for the heart function based on the content of the evaluation, and associating the selected test period with a time phase of the bio-signal.