In QTP, the Local Object Repository is embedded within the test or action file and is not accessible as a separate file. In contrast, the Shared Object Repository is stored as a separate .tsr file that can be accessed and reused across multiple tests.