Forum Discussion
nikhilmv99
14 years agoOccasional Contributor
Hi Mateus & Allen,
Here is what I have to make it work
In my NameMapping I have following structure
+DSP
+dlg
+wndafx with wndclass =Afx:* and wndcaption=*
ATL0EEB5978 with wndclass = atl:* and wndcaption = * Index = 1 and Extended Find = true
this made my image checkpoint work
but here is the issue I face now
once I am done with image checking I close the chart window and launch another chart window and set the 2nd image checkpoint.
So when I run the test case it runs fine for the 1st check point but fails for 2nd one with following error
=========== Ambiguous Recognition
There are several objects in the system that match the recognition attributes of the "wndAfx" mapped object.
This may cause the "Object not found" error.
Objects
Sys.Process("Dsp").Window("Afx:03D00000:82b:00010003:00000000:00000000", "", 1)
Sys.Process("Dsp").Window("Afx:0B7D0000:b:00010003:00000000:00010027", "New Plot Session3 - Plot [New Plot Group] Plot 1", 1)
To solve the problem, you may need to modify mapping settings for the "wndAfx" object or one of its parent objects.
See Help for more information
===========
=========== The object does not exist
An error occurred while calling the "Picture" method or property of the "ATL0EEB5978" object.
The object or one of its parent objects does not exist.
Tested Object
Alias: Aliases.Dsp.wndAfx.ATL0EEB5978
Mapping item: NameMapping.Sys.Dsp.wndAfx.ATL0EEB5978
Missing Object
Alias: Aliases.Dsp.wndAfx.ATL0EEB5978
Mapping item: NameMapping.Sys.Dsp.wndAfx.ATL0EEB5978
Possible causes of the error
===========
Here I notice that while running it waits for ATL0EE34758 object to appear but fails to find it.
Also I check the object spy the name of newly created plot is Window("ATL:0EE49868", "", 1)
Not sure if I am missing something in Name mapping.
Please advice.
Here is what I have to make it work
In my NameMapping I have following structure
+DSP
+dlg
+wndafx with wndclass =Afx:* and wndcaption=*
ATL0EEB5978 with wndclass = atl:* and wndcaption = * Index = 1 and Extended Find = true
this made my image checkpoint work
but here is the issue I face now
once I am done with image checking I close the chart window and launch another chart window and set the 2nd image checkpoint.
So when I run the test case it runs fine for the 1st check point but fails for 2nd one with following error
=========== Ambiguous Recognition
There are several objects in the system that match the recognition attributes of the "wndAfx" mapped object.
This may cause the "Object not found" error.
Objects
Sys.Process("Dsp").Window("Afx:03D00000:82b:00010003:00000000:00000000", "", 1)
Sys.Process("Dsp").Window("Afx:0B7D0000:b:00010003:00000000:00010027", "New Plot Session3 - Plot [New Plot Group] Plot 1", 1)
To solve the problem, you may need to modify mapping settings for the "wndAfx" object or one of its parent objects.
See Help for more information
===========
=========== The object does not exist
An error occurred while calling the "Picture" method or property of the "ATL0EEB5978" object.
The object or one of its parent objects does not exist.
Tested Object
Alias: Aliases.Dsp.wndAfx.ATL0EEB5978
Mapping item: NameMapping.Sys.Dsp.wndAfx.ATL0EEB5978
Missing Object
Alias: Aliases.Dsp.wndAfx.ATL0EEB5978
Mapping item: NameMapping.Sys.Dsp.wndAfx.ATL0EEB5978
Possible causes of the error
===========
Here I notice that while running it waits for ATL0EE34758 object to appear but fails to find it.
Also I check the object spy the name of newly created plot is Window("ATL:0EE49868", "", 1)
Not sure if I am missing something in Name mapping.
Please advice.