UFT 12 not recognizing objects when multiple browsers are open.
Question ID: 105909
1
0

My web application launches multiple child browsers throughout the test. Sometimes UFT won’t recognize an object on one of the child browsers unless I re-add it to the Object Repository. Is there some trick to getting this to work smoothly?

Marked as spam
Posted by (Questions: 387, Answers: 66)
Asked on January 30, 2015 8:49 pm
34 views
Answers (1)
2
Private answer

HP Document KM180785 has a possible solution to this. Sometimes when working with multiple browsers, the CreationTime property is not enough to identify the browsers. To get around this, you can add some additional object identification properties to help UFT find the object. To do this,

Go to the Options>Object Identification menu. On the Object Identification dialog, change the Environment to Web. In the Test Object classes pane, select Browser. Most of the time you can add the Title property to the Mandatory or Assistive Properties (try assistive, and if if it doesn't work in your environment, try mandatory). This will allow UFT to have an additional property to use to identify the child browsers uniquely.

Marked as spam
Posted by (Questions: 17, Answers: 807)
Answered on January 30, 2015 8:49 pm
0
That worked for us. Thanks!
( at January 30, 2015 8:49 pm)
EyeOnTesting

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

X
Scroll to Top