Micro Focus QTP (UFT) Forums
Failed to run the test due to an unknown error. Extensibility - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Failed to run the test due to an unknown error. Extensibility (/Thread-Failed-to-run-the-test-due-to-an-unknown-error-Extensibility)



Failed to run the test due to an unknown error. Extensibility - ajeshnair - 08-06-2012

Hi All,

We are automating an App created on Infragistic for which we have created custom controls and events in the form of dlls.
The entire setup was working fine on the system.

Today, I faced an issue where I am getting the error "Failed to run the test due to an unknown error." while executing any action on the objects using the dlls.
Objects like browser, page, links etc work fine without issues.

But for the obejcts using the custom control and events, we get this error.

We have started facing this issue on other machines too. The same dlls work on other machines and gives problem on specific machines.

We have tried doing the following but could not resove the issue.
1. Reinstallation of QTP
2. Reinstallation of Mercury.QTP.CustomServer,Mercury.QTP.Agent,Mercury.QTP.WpfAgent in GAC

Anybody faced this issue before? Please help if you have.


RE: Failed to run the test due to an unknown error. Extensibility - vIns - 08-08-2012

Hi,

Where have you stored your dlls??
How do you create the instance of it? can you provide more details?


RE: Failed to run the test due to an unknown error. Extensibility - ajeshnair - 08-08-2012

Hi,
We have copied over the dlls in C drive and have put the configuration files in the Wpf extensibility folder of QTP in program files which points to the dlls placed in C drive.


RE: Failed to run the test due to an unknown error. Extensibility - vIns - 08-09-2012

Hi,
Is .net framework version same in all the machines?


RE: Failed to run the test due to an unknown error. Extensibility - dvmehta9 - 10-17-2012

Hi,

Even I am facing same problem. Can you please let me know if you get resolution of it.

Thanks