Blood tests

I’ve heard of parents whose children have a diagnosis of autism and possibly other special needs and health conditions,  being given blood tests for genetic testing.  Would the blood test be to see if Autism has been passed from parent to child, or can Autism only be diagnosed by assessment? ,