I am doing scripting for Oracle Apps,...whenver the environment changes...(version) i am unable to run my scripts in the new version. I have solved a part of the problem using regular expressions(for internal frames and label) but for some fileds like edit box...the mandatory and assistive properties are changing.
For example if in one versions its taking attached text as mandatory...where as in the other version its taking some other properties..and even the attached text is different in this version.
Uffff....it seems like a big story for u guys to read...but rily its cozing a lot of problems and redoing of work....again and again making these properties change in object repository..
Can any one suggest what to do....are there any set of prperties which can be taken as standard for recognizing java objects.....
Is any body there who can help me regarding this issue. I have posted one more message "Objects are identified differently by QTP at different runs".Or am i not clear is saying my problem.
Please let me know.
Md Abdul Hafeez
I have the same problem md. I am constantly redoing scripts, and re-recording because a browser is named something else. I cannot figure it out. Mercury has not helped me. I wish I had the answers for you, but I'm in the same boat.
Hafiz, I dont have much experience with Java objects but you should try and reduce the properties used for object identification to a bare minimum. Make changes to the OR as well as the default identification table for all objects.
In web tests most objects have unique html ids. These coupled with index properties help you identify almost everything without frequent changes with each TO. Use a combination of something similar for your java objects. If it's possible use more of programmatic description rather than reffering back to the OR. Use update runs with each TurnOver but use them carefully. Lastly, expect changes.
(I'm hiring Software Development Engineers in Test in Seattle, WA)