Highlighted
Absent Member.
Absent Member.
1721 views

QTP 11 javascript errors

Has anyone else seen this .. when recording with QTP 11 I get javascript error messages in IE 8 ... If I stop recording, refresh the page, the errors are gone.

I think it has something to do with the bhomanager.dll, and have tried un-registering and registering it, with no luck.

Any ideas? Thx.

 

 

 

Moved from Quality Center Support and News Forum to Unified Functional Testing (formerly QTP) News and Support forum

Tags (1)
0 Likes
6 Replies
Highlighted
Absent Member.
Absent Member.

@kbiggs: Is this problem solved?  How? I have exactly the same problem.

It is not possible to reproduce this problem manually. It happens only when I'm in recording mode.

 

Can you send me the solution?

 

Also other users may reply.

Thx

0 Likes
Highlighted
Absent Member.
Absent Member.

 

I also got the same issue . When I try to launch my application through QTP recording, it crashes I.E

0 Likes
Highlighted
Absent Member.
Absent Member.

Try this out:

1) Goto Run, type "regedit".

2) You will be navigated to the registry window.

3) Select HKey Current Users --> Softwares --> Mercury Interactive --> QTP --> mic Test --> Packages --> Web Package --> Settings --> Enable DOM Changes Notification

4) Modify the value to 0 from 1.

 

Tell me if the problem gets resolved through this.

 

 

Regards

HM21

Regards
HM21
0 Likes
Highlighted
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Already the value is 1. But still the issue exists. please help.

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi,

 

I am still receiving this error.QTP is not able to identify the object.If i refresh the page QTP started recognizing the object.

 

 

let me know if the issue is resolved.

 

Regards,

Sathya.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

This sounds like a problem we have been struggling with, too. It seems like QTP is trying to do something with an object before javascript has created it, or whatever.

 

I found that the "sync" statement helped a lot, but not always.

 

Ultimately I wrote a function to check for the existence of the object before I used it. You might want to investigate something along those lines.

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.