aletsu
5 years agoOccasional Contributor
Why TestComplete and TestExecute recognizes objects differently.
if aqObject.CheckProperty(Sys.Process('MdataQ').VCLObject('DocumentSelectionView').VCLObject('pnlActiveDocs').VCLObject('cxOrderGrid').Window('TcxGridSite', '', 1).Window('TcxFindPanelMRUEdit', '', 1).Window('TcxFindPanelMRUEditInnerEdit', '', 1), 'Visible', cmpEqual, true) then
mdataQ.DocumentSelectionView.pnlActiveDocs.cxOrderGrid.TcxGridSite.TcxFindPanelMRUEdit.TcxFindPanelMRUEditInnerEdit.Keys(orderNr+'[Enter]');
TestComplete:
TestExecute:
In this case, if there is a fixed point in NameMapping, use the .find() function on it to dynamically find the object indicated in the topic.