Forum Discussion
Hi,
Am-m-m... Still not sure that I got your answer...
> I will record it here.
If it is just for the record, then OK.
If you are looking for the solution, then this is simple - put a breakpoint on the problematic line with a call to .Click() (or add debug logging right before it if you don't have TestComplete installed on the box where the problem occurs), analyse the values of all participating objects (MDIClient, ViewClientArea2), calculate click coordinates manually and verify that TestComplete clicks at correct point, consider where the click must be done and consider what coordinates of what objects must be used to obtain the required values.
Hope, this will help.
P.S.
> Aliases.Inventor.refresh
Considering that you are using Aliases (which is right) and if some aliased object is recreated while it is used by test code, I would recommend to consider .RefreshMappingInfo() method. (See documentation for the description of the difference between .Refresh() and .RefreshMappingInfo())
Related Content
- 12 months ago
- 8 years ago
Recent Discussions
- 11 hours ago
- 12 hours ago