While arguments can always be made about why stuff like Veritaserum isn't used more often, it's difficult to deny that there were circumstances in which a truth potion could have been used.