Diagnosis involves blood tests to detect the presence of HBV or HCV. For hepatitis B, tests like the Hepatitis B surface antigen (HBsAg) and Hepatitis B core antibody (anti-HBc) are commonly used. For hepatitis C, the HCV antibody test is the initial screening tool, followed by a confirmatory HCV RNA test if antibodies are present.