In addition to what Sandeep Panda said, I'd also try to see how they respond to feedback regarding a given task, both positive and negative.
If people get angry or send a snappy comment, that usually means they don't take feedback and criticism well, and that makes it difficult to fit them in a team. If they thank you and try to make some improvements, you can expect them to behave in a similar way when you hire them.
In case you're not sending out tasks for hiring, you can try finding out how they solved problems before, how they react and what do they do when an issue arises, and whether they are willing to share some mistakes they made over time. E.g. you can ask them to describe how their last project post-mortem went. You should look for someone who doesn't point fingers at people but focuses on the problems that arose and makes a plan to prevent them in the future.
Sometimes HR goes through this, but you might want to test this yourself, to get a better impression of them.