DNA TESTS

Has anyone done a DNA test while the baby is still in the womb ? I want to do it that way because it will resolve a lot of issues before he gets here but I don't know to much about it. Help !