Diagnosis of clubbing often involves a physical examination where a healthcare provider inspects the hands and feet for characteristic changes. They may use the Schamroth's window test, where the patient places the dorsal surfaces of their terminal phalanges together. In clubbing, the normal diamond-shaped window seen in non-clubbed fingers disappears. Further diagnostic tests may include imaging studies such as chest X-rays or CT scans to identify potential underlying causes like tumors.