An interesting question might be that if procreation were believed to be the purpose of marriage, then is trying IVF mandatory in these cases?
I think this would depend on the sect as well. Some - like Catholics- claim that the purpose of
sex is procreation, and that sex should only occur in a marriage of one man and one woman. Even though Catholics are allowed* to practice "natural planning" methods where they avoid sex during the time around ovulation, god may decide to mess with things and cause a pregnancy anyway (which invariably happens with fertile young couples who use no other birth control).
I can't imagine any religious body having any thoughts on whether IVF should be mandatory for married, infertile couples, because their omniscient bible gods never seem to write things for a future audience. ("One day, verily, after people are able to fly vessels across the distance oceans, babies will be created outside a woman's womb. When this day comes, you must remind your barren women of their duties to carry the children of their rightful owners.")
I' think that for most Christians, IVF falls under the umbrella of "God gave us this gift through doctors and science so we are able to use it."
* It sounds so funny to write that, because married Catholics are adults and shouldn't need permission for anything, and of course, most of them ignore the rules they don't like. It just sucks for those in third world countries who don't have the education or money to do what they want, instead of what some cranky old virgins "allow" them to do.