Forum Discussion
leftend86
11 years agoOccasional Contributor
I am having a similar problem but in XP SP2 running on a VM.
In my case the name mapping of our main screen changes as the test is executed. This is new behavior discovered in TC9.20. The main screen is a Windows Forms object. Since almost all other mapping runs through this form, almost all other mapping becomes incorrect as well.
There have been no changes to our application that might have caused this behavior.
To troubleshoot I opened the tested application and reviewed the name mapping before running the application. The mapping in the Object browser was correct before test execution. As the test starts the mapping is correct and behavior is as expected. Then our 'invoice process' is executed. This takes about 5-7 minutes to complete.
During this time the mapping in Test Complete changes from the alias to nohing .
Prior to the invoice process, the 'enhanced .Net' object properties were displayed. Somewhere in the middle of the process, time test complete could not find the controls as the mapping had disappeared and the enhanced .Net properties were gone as well. I had to stop Test Complete as it was in an loop waiting for an object that no longer was mapped to appear.
(.Net)
clrFullClassName: EnSite.Framework.FormHost
Before ****
(Standard) Name:WinFormsObject("FormHost")
WndClass: WindowsForms10.Window.8.app.0.3ce0bb8
MappedName: Aliases.Sys.Safari.FormHost
After ****
(Standard)
FullName: Sys.Process("SafariSuite").Window("WindowsForms10.Window.8.app.0.3ce0bb8", "EnSite Safari SuiteĀ®", 1)
Name: Window("WindowsForms10.Window.8.app.0.3ce0bb8", "EnSite Safari SuiteĀ®", 1)
MapppedName is blank
.Net Properties so ont appear.
Has anyone seen this type of behavior?
~Jon Conyers
In my case the name mapping of our main screen changes as the test is executed. This is new behavior discovered in TC9.20. The main screen is a Windows Forms object. Since almost all other mapping runs through this form, almost all other mapping becomes incorrect as well.
There have been no changes to our application that might have caused this behavior.
To troubleshoot I opened the tested application and reviewed the name mapping before running the application. The mapping in the Object browser was correct before test execution. As the test starts the mapping is correct and behavior is as expected. Then our 'invoice process' is executed. This takes about 5-7 minutes to complete.
During this time the mapping in Test Complete changes from the alias to nohing .
Prior to the invoice process, the 'enhanced .Net' object properties were displayed. Somewhere in the middle of the process, time test complete could not find the controls as the mapping had disappeared and the enhanced .Net properties were gone as well. I had to stop Test Complete as it was in an loop waiting for an object that no longer was mapped to appear.
(.Net)
clrFullClassName: EnSite.Framework.FormHost
Before ****
(Standard) Name:WinFormsObject("FormHost")
WndClass: WindowsForms10.Window.8.app.0.3ce0bb8
MappedName: Aliases.Sys.Safari.FormHost
After ****
(Standard)
FullName: Sys.Process("SafariSuite").Window("WindowsForms10.Window.8.app.0.3ce0bb8", "EnSite Safari SuiteĀ®", 1)
Name: Window("WindowsForms10.Window.8.app.0.3ce0bb8", "EnSite Safari SuiteĀ®", 1)
MapppedName is blank
.Net Properties so ont appear.
Has anyone seen this type of behavior?
~Jon Conyers