I am struggling to make Shared OR work across multiple actions within a single QTP script. QTP 9.5.
1. I associate a shared .tsr with a new action, then record some steps and/or manually add objects to the OR, and they never go into the shared. They always go into a local OR that I have to merge later.
Is there some way to change this behavior so that new objects learned are inserted into the shared OR?
Can I work right out of the shared OR instead of just having it as a read-only association with an action?
2. If I use a regular expression as a description property of a window in the shared OR, then when I record actions on the same window, the local OR learns this window with the constant value rather than the RegEx I have already defined in the shared OR - but because it is the same class with the same name, it doesn't make a new entry in the OR, it simply overlays the read-only shared OR version, which then makes it impossible to drag/drop its child objects to the correct parent (the one with the RegEx already defined). I haven't found a solution for this yet.
Is using shared OR really this messed up, or am I just missing something fundamental that will make this all go away?
"The last 10% of any software project will take 90% of the budgeted time. The first 90% will take the other 90%"