While studying refutation tree and I came across this example: $P \lor Q,~ P \vdash \lnot Q$ in Outline of Logic- Schaum's series.
The solution invalidates the argument.
But, when we cross examine this argument by constructing the truth-table we find that two premises: $P \lor Q$ and $P$ are true alone with thee Conclusion $ \lnot Q$ in 2nd line of truth-table.
For $P = {\rm T},~ Q = {\rm F}$
For $P \lor Q$ is ${\rm T}$, $P$ is ${\rm T}$, and $\lnot Q$ is ${\rm T}$
So, how can this form be invalid?
Here,
Premises 1) $P \lor Q$ and 2) $P$ are true and
Conclusion $\lnot Q$ is true as well
When $P$ is ${\rm T}$ and $Q$ is ${\rm F}$.

It is obviously invalid.
You have to check the truth assignment $v$ such that :
With it, we have that $v(P)=v(P \lor Q)= \text T$, while $v(\lnot Q)= \text F$.
Recall the definition of valid argument :
In terms of propositional logic, this means that, in the truth table for the argument, the conclusion must have $\text T$ in every row where all premises are $\text T$.