HBsAg testing is typically performed using blood tests. It is a standard part of prenatal screening panels. If the initial test is positive, additional tests such as HBV DNA quantification and liver function tests may be conducted to assess the level of infection and liver health.