Micro Focus QTP (UFT) Forums
Test runned from QualityCenter generated an error "Attempted to divide by zero." - 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: Test runned from QualityCenter generated an error "Attempted to divide by zero." (/Thread-Test-runned-from-QualityCenter-generated-an-error-Attempted-to-divide-by-zero)



Test runned from QualityCenter generated an error "Attempted to divide by zero." - robertosalemi - 10-14-2016

Hi,
I have a test created not by me.

If I run the TEST from UFT, it is runned and completed correctly.

If I run the same TEST from QualityCenter (in the same machine), it generates the following error:
- Source: PresentationFramework
- Target Method: System.Windows.Size MeasureOverrideImpl(System.Windows.Size, System.Nullable`1[System.Double] ByRef, System.Collections.Generic.List`1[System.Double] ByRef, System.Nullable`1[System.Double] ByRef, Boolean)
- Message: Attempted to divide by zero.

I have already re-installed UFT, but the problem there is still.

Where could be the problem?

Thanks.


RE: Test runned from QualityCenter generated an error "Attempted to divide by zero." - robertosalemi - 10-14-2016

I resolved!

In first step i tried to repair the actual installation, but the problem there was still.

In the second step I removed all application about UFT, I have reinstall all and now it works fine!