I'm recording from my web application, and every time I record on the same page/frame, a new instance is created in the Object Repository. In my case, "top_frame" is recorded and added to my object repository. Then, when I record again any objects under that, a new "top_frame_1" instance is recorded, and so on. I figured it might be dynamic, so I added more properties and used a regular expression, but the problem keeps happening.
Answer by RickJames · Oct 29, 2015 at 02:37 PM
There is an option in UFT under Tools > Options > GUI > Web > Page/Frame Options. For both the "Create a new Page test object" and "Create a new Frame test object" sections, you need to either select “Different test object descriptions” or select "Different URLs or a change in data transfer" AND set these sub options:
Ignore non user-input data - Get
Ignore non user-input data - Post
Ignore user-input data - Get
Ignore user-input data - Post
Use additional Frame information
You will then need to re-record your script, since the current frame objects in your OR will be obsolete/unrecognizable.