Thanks Simon.
I have another question related to same topic:
Should I write/automate test cases for security testing separately, so that I can collect alerts or perform active scan after each user action if required?
I am asking this question because,
When I try to perform active scan after functional test cases execution, I am not getting vulnerability list that I am getting when I perform some action then trigger active scan.
Thanks,
Vikas