I think that holds only if your time is worth nothing. I don't want to go through weeks of interviews just to find out that my salary demands are $50K more than they're willing to pay.
This is exactly why I made the comment. Recently went through 4 calls and a full day on site just to be met with an offer they wouldn't budge on that's 20% lower than what I currently make.
I've been through a similar situation: big mistake. They key is to validate you are in range on salary before committing to an interview process. Companies should have the same goal, but many will waste their own timeāas you experienced.
This doesn't mean you should share current salary information, but does mean you should be prepared to state your salary expectations. This can be a good thing, as you can anchor high.
If you're in demand and are taking phone screens on a whim, you can always ask the recruiter to share their range. Odds are good they won't, and you can have some "fun" by expressing concern that they don't know what they're hiring for.
The time everyone puts into it is part of the negotiating process. A company will budge if it's worth it for them -- and your job is to convince them it's worth it.
If the first thing out of your mouth is salary and they balk at that then you never even get to the negotiating phase.
A few failures, like you had, is simply part of the process. I don't think it's reasonable to expect to be successful a job hunting every time you go into the interview process. The time you put in is part of that process.
"Saving time" during the interview process doesn't make sense if you're going to spend the next X years being UNDERpaid at your job.
If we assume that your time has some amount of value, you are always better off withholding your desired salary.
If you want to see whether or not they're going to be a potential employer, ask them for a ballpark of what they're willing to pay. But there is no reason for telling them free information.