You may take the child care credit or exclude from taxable income child-care costs paid with funds from a reimbursement account if ALL of these tests are met.
If you do not meet all these tests, you may still take the exclusion but are ineligible for the credit.