Every time I record on the same page/frame, a new instance is created in the Object Repository?
Question ID: 106487
1
0

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.

Marked as spam
Posted by (Questions: 424, Answers: 91)
Asked on October 29, 2015 2:35 pm
64 views
Answers (1)
1
Private answer

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:

CHECK/ENABLE:

- Ignore non user-input data - Get
- Ignore non user-input data - Post
- Ignore user-input data - Get
- Ignore user-input data - Post

UNCHECK/DISABLE:

- 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.

Marked as spam
Posted by (Questions: 0, Answers: 771)
Answered on October 29, 2015 2:37 pm
0
Thanks. I changed the setting to ''Different test object descriptions'' for my Frame test object settings, re-recorded, and it works.
( at October 29, 2015 2:38 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top