another name mapping issue (alt-O shortcut)
Hi,
Maybe Colin could advise me, it's I bet a Delphi issue,
I have 2 project with shared scripts, and shared name mapping (one projects tests a beta version, the other the alpha version of the same Delphi executable).
I have about 98% of the mapped names in common, so I want to share theses files.
The strange thing is when TestComplete deals with a Windows OpenDialog window :
I tried to map the "Open" button ("Ouvrir")
I open the alpha exe in background and make this window appears.
When I double click on the alpha project, and use the spy object it gives me this as a full name:
Sys.Process('MY_EXE').Window('#32770', 'Ouvrir', 1).Window('Button', '&Ouvrir', 2)
When I double-click on the beta project, and use the spy with the same exe in background (I didn't changed or reload anything !) :
Sys.Process('MY_EXE).Dialog('Ouvrir').Button('Ouvrir')
I really don't get it.
As tested apps I have the alpha one in the alpha project and etc in the beta one.
It seems to work when all the tested apps are kept in one project (the beta). But at this moment I need to launch the alpha tested app in the beta project from the alpha project, what I don't know how to do so.
Some help would be really nice
Thank you,
Mehdi
I have shared namemapping for several projects testing Delphi applications.
on and off encountered with same problem but found it's refering to two namemapping files.
in your case it could be either mapping propertied are different in alpha and beta or two files are used.
also check TestedApps are correct in two projects (upper and lower cases)
please go through name mappings in two projects carefully(in TC).
and go through file structure (in windows explore) and see whether there are two mapping files.
if you see two files, re-name which you think not the original and see.