Help with testing information

I have irregular periods and I am wondering if I can test for ovulation while still actively bleeding? Any information would be greatly appreciated.