When should I test ? Help

The last time I had sex was on July 8th , protected sex btw.

My period was due on 20th ; but din't show .. I tested twice , one 3 days back , still shows a negative .. how long in does it show a positive ?