How can I get the OBD Monitors to ready themselves? on 2009 Toyota Corolla

Went for inspection today, failed due to OBD monitors not ready, two of them actually: catalyst monitor and the O2 sensor. Any help appreciated

Asked by for the 2009 Toyota Corolla
I have the same problem - can you please let me know how you fixed it? I drove a lot but cant seem to finish the required drive cycle..