Failing to run tests

Description: Test failed to run in QTP, and errors like "Cannot identify the object ..." occur.

Cause A & Solution A: This is caused by the incorrect order in which the record is generated. See Generating scripts in an incorrect order for details.

Cause B & Solution B: Data of running a test is not the same data when the test is recorded. See Keeping data consistent.