Does a ovulation test predict pregnancy too?

Mckensey

I’m suppose to start my period and not be ovulating. So does a ovulation test predict pregnancy too? Why would the line show up?