I am using a single shared object repository for 5 test cases. I have confirmed, using QTP's Resources->Object Repository... menu pick/dialog that all of my objects being used in any of these tests are stored in the shared OR and not the local OR.
But when I look in the Action1 and Action0 folders in the file system I see that the local OR (or at least what I suspect is the local OR) file, ObjectRepository.bdb, has different sizes ranging from 192K to 304K.
I also created a brand new test and saved it to disk. The test has no lines of code. When I view that test's Action0 and Action1 folders, they each have a ObjectRepository.bdb file that is 192K in size.
Does anyone know:
1. Can these local ObjectRepository.bdb files be deleted if the test is using a shared OR?
2. What is being stored in my files above, when I am not using a local OR?
I am asking these questions in anticipation of putting all necessary files under code control later this summer. Along those lines, I have asked before and will again:
Has anyone documented, or know if Mercury has a KB article, that describes <u>all</u> the file extensions that should be put under control and as importantly, those that should not?
I don't know the answers to any of the questions that you pose here, but can comment that I have the same test architecture (multiple QTP "tests" use only a single shared obj repository) and I have these .bdb files in source control (SVN). Multiple people edit the tests and their resources without issue.
So I can at least say that having them under source control doesn't hurt anything, for what that's worth. I have ALL files under the main test directories in source control (in addition to shared resources in other directories) and it works fine fine for us...