06-26-2009, 05:47 PM
Hi All,
My applications main window's description changes based upon a number of factors, which makes it impossible to have it consistently recognized in the Object Repository. Since the main window cannot be recognized, none of the child objects can be seen either. I have researched a number of solutions to the problem... Descriptive programming(I want to avoid this solution, too many things to child objects to declare), parameterizing the name in the OR. I have created a script to find the name of the Window prior to performing any actions on it. I would like to pass that into the Object Repository and properly identify the object before running my scripts. All my scripts will need to run using this information. Can anybody suggest a best approach to this?
Thanks, PM
My applications main window's description changes based upon a number of factors, which makes it impossible to have it consistently recognized in the Object Repository. Since the main window cannot be recognized, none of the child objects can be seen either. I have researched a number of solutions to the problem... Descriptive programming(I want to avoid this solution, too many things to child objects to declare), parameterizing the name in the OR. I have created a script to find the name of the Window prior to performing any actions on it. I would like to pass that into the Object Repository and properly identify the object before running my scripts. All my scripts will need to run using this information. Can anybody suggest a best approach to this?
Thanks, PM