Highlighted
Absent Member.
Absent Member.
194 views

QTP 10 on IE 6 and IE 8

Hi,

I have created a set of QTP scripts using IE 6 browser. When I try to run those on IE 8, I get issues in some of them where the script is unable to identify some of the objects and I am required to update the Object repository in IE 8.
I've installed the required patches that support IE8, but it still needs updates to the OR.
Has anyone run into this issue? Any solution for it?
Thanks in advance!
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

I am also facing same issues any solution please let me know

Thanks in Advance
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi,

The patch will only support object recognition "moving forward" which means it doesn't update your current Object Repository contents.

Check the objects in your object repository. For example, the Browser object normally indicates the "version" property ("version:=Internet Explorer 6") which is obviously different from that in IE8. You will need to update them (eg. either by removing that property, or record the object again).

I would recommend for you to limit the properties that is included in the OR (title/name, html id, html tag, innertext), however, this will not entirely solve your problem. In most cases it's more recommended to use descriptive programming approach for automating tests on web applications since its objects are very dynamic.

Regards,
Michael
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.