Diagnosis of CHF involves a thorough medical history and physical examination, followed by tests such as echocardiogram, electrocardiogram (ECG), chest X-ray, and blood tests to assess heart function and look for signs of heart failure. Advanced imaging tests like MRI may also be used to get a detailed view of the heart's structure.