|
|
|
|
Suggestions on best approach - OR cannot find apps main window
|
|
06-26-2009, 05:47 PM
Post: #1
|
|||
|
|||
|
Suggestions on best approach - OR cannot find apps main window
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 |
|||
|
07-08-2009, 06:21 PM
Post: #2
|
|||
|
|||
RE: Suggestions on best approach - OR cannot find apps main window
(06-26-2009 05:47 PM)pamandel Wrote: Hi All, Hi there, one of the way is you can use the "Define New Property" in the OR, where the object will identify only based on the property you defined. Let me know if you need more on this. Thanks, QTPKing |
|||
|
07-09-2009, 09:54 PM
(This post was last modified: 07-09-2009 10:00 PM by pamandel.)
Post: #3
|
|||
|
|||
RE: Suggestions on best approach - OR cannot find apps main window
(07-08-2009 06:21 PM)QTPKing Wrote:(06-26-2009 05:47 PM)pamandel Wrote: Hi All, Thank you for the suggestion. I will look into it. I actually did find a solution that works for me. I just used SetTOProperty. I tried that previously but must have been doing something wrong because it didn't work, it does now. Thanks, PM |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help



