Diagnosis of genital warts typically involves a visual examination of the affected area by a healthcare provider. In some cases, a biopsy may be performed to confirm the diagnosis. Additional HPV testing may be recommended, especially for women, to check for high-risk strains of the virus that can lead to cervical cancer.