Purchasing Title Insurance???

So i was calling around to find title companies in my area that handled assignments, double closings, etc.

I finally got ahold of someone that did it. So i was asking her about the process. She said that when i get the property under contract i am supposed to purchase title insurance.

I thought that this was a no cash transaction. And what should i be looking to spend before the whole process is over with. (inspections fees? earnest money?)