Tenting in the Alps

I’m planning on a hiking trip to Switzerland and Austria this summer with a friend who wants to keep the cost down. I’ve hiked there before, using the mountain huts and loved it, but never really saw people tenting. Do people do this? And if so, what are the general rules?