adi_xyz2000
11 years agoOccasional Contributor
Refresh mapping information on overlapping windows
Hi,
I have to test an application and following situation appears:
I have a window identified by
NameMapping.Sys.xxxxx.dlgSelectTheTraceFile and mapped using the name property:
Window("#32770", "Please select the trace file", 1)
If the user selects an invalid file, another a dialog appears with exactly the same name and parameters:
NameMapping.Sys.xxxxx.dlgSelectTheTraceFile and
Window("#32770", "Please select the trace file", 1)
What is happening with the background window (the first one) is that it will change the index into value 2, as below:
Window("#32770", "Please select the trace file", 2)
In my testcase I do a refresh using the command
NameMapping.Sys.xxxxx.dlgSelectTheTraceFile.RefreshMappingInfo, but the mapping will not be updated.
Also the manual Refresh Current Object control does not work every time.
My Test Complete version is 10.40.2015.7
I have to test an application and following situation appears:
I have a window identified by
NameMapping.Sys.xxxxx.dlgSelectTheTraceFile and mapped using the name property:
Window("#32770", "Please select the trace file", 1)
If the user selects an invalid file, another a dialog appears with exactly the same name and parameters:
NameMapping.Sys.xxxxx.dlgSelectTheTraceFile and
Window("#32770", "Please select the trace file", 1)
What is happening with the background window (the first one) is that it will change the index into value 2, as below:
Window("#32770", "Please select the trace file", 2)
In my testcase I do a refresh using the command
NameMapping.Sys.xxxxx.dlgSelectTheTraceFile.RefreshMappingInfo, but the mapping will not be updated.
Also the manual Refresh Current Object control does not work every time.
My Test Complete version is 10.40.2015.7