I interviewed with a leading Swiss bank for a middle office role. I indicated both early on to the line manager and to a member of the HR (in an unscheduled call) that I wanted to be hired at the level of VP. The HR person asked me for a quote of salary, and I said 15% over what I earn currently. The HR said she will see what she could do and went ahead to schedule four more interviews two weeks later.
I was successful in all the technical interviews and another HR mailed me saying she had "good news" and asked me to fill a compensation history form (asking for 4 years of compensation history). As this was asking for unnecessary information, I filled in only my current salary and bonus (which I had told them before). I was scheduled for a video interview with this HR, and in this interview, I reiterated I was looking for a VP with 15-20% above my current salary.
The HR took this onboard, but called me the next day and said they were unable to offer me the role as the salary expectations were too high. Essentially the interview process dragged on for multiple rounds over a month, and despite being successful, I was rejected by the HR person.
I know companies and HR have their own way of doing things, but I would like to make my displeasure known and let people know of such bad experiences of interviewing with this company. What is my best recourse in this situation?