TestComplete tests broken when run on different PC
I have an issue where, the testComplete test runs fine in the PC to which the tests were recorded. However, when I run those tests in a different PC (Same version of the application under test, same OS, Windows 7) the tests fail because they cannot find the window objects.
I have read up on Name Mappings but still unsure of a solution.
Under the How name mapping works:
When running tests, TestComplete uses the Name Mapping repository to find objects in your tested application. If TestComplete cannot find an object (for example, if the object properties have changed, or there are several objects with these property values), the test fails. In this case, you need to update the mapping criteria to use unique, unchangeable properties for object identification.
If I am running the same version of the application under test, would one expect the object properties to have changed?
Hi,
> PC1: Window("WindowsForms10.Window.8.app.0.21...")
> PC2: WinFormsObject("...BrowserForm")
This means that your tested application was identified as WinForms one on PC2 and as a regular Windows application on PC1.
I would recommend to compare the set of extensions enabled in TC on PC1 and PC2 (File|Install Extension).
If the set is the same then you may ask Support via the https://support.smartbear.com/message/?prod=TestComplete form what might be causing the problem you are observing.