Question about pap

When the doctors to a pap does it test for cervical cancer as well?