I had painful cramps before finding out I was pregnant with DD. At the time I was on painkillers for my AF pains and when they started i thought AF was on her way so popped a tablet.
A few days later, no AF, still having pain, which was not unusual, but pain wasn't getting as bad as it normally would've been. Tested and got a BFP.
We were young and not trying, but also not trying not to get pregnant either if that makes sense!
Goodluck when you re test.

Nic