Found this via Google
If they tested for it, it would, but since Viagra is not a controlled drug, it is unlikely that a drug screen will be looking for it. They are usually looking for drugs that are commonly abused like cocaine, amphetamines, morphine and other opioids, and benzodiazepines etc.