| || |
I've found in Help that saving all objects in Object Map isn't stable practice. Compuware suggests to store in the Object Map only several objects that may change frequently.
But to use raw attach names isn't wise, because one little unexpected change in the attach name of some object may cause searching through all scripts and modules to correct the change. That will be hard work, because I can't search all resources together, I must open each of then and only then to activate searcing.
So, I think I'll create a module that will store all objects' as public variables and then I'll manage this one module instead of all scripts together.
What is the common practice to manage attach names?
Re: surviving changes
In TP, it is better you save all the object names of the windows which come in ur project and use the raw names in that window to directly to run the scripts.
window("QAForums").Attach---store this name in objectmap
HTMLAnchor("HOME").click- for this it is not necessary to save in object map, it will be identified based on the window found.