raz789
6 years agoOccasional Contributor
Name mapping does not work with TestExecute in a VM
Hi guys,
Currently trying to get TestExecute to run our project on a VM.
I'm running into an issue where none of the name mapping Aliases work. The objects can't be found during the test if aliases are used.
What does work is using the Mapped Object name.
What works (the object spy for the VM reports the same mapping as the PC where the test was recorded):
#VM object spy WIN10 Sys.Process("AppTEST").VBObject("frmMainNew").Window("MDIClient", "", 1).VBObject("frmBackGround").VBObject("Picture1").VBObject("frameButtonsMain").VBObject("cmdMaintenance").Click(330, 65) #Test Recording PC object spy Sys.Process("AppTEST").VBObject("frmMainNew").Window("MDIClient", "", 1).VBObject("frmBackGround").VBObject("Picture1").VBObject("frameButtonsMain").VBObject("cmdMaintenance").Click(330, 65)
What doesn't work:
Aliases.AppTEST.frmMainNew.MDIClient.frmBackGround.Picture1.frameButtonsMain.cmdMaintenance.Click(330, 65)
The VM is running 14.0.308.11
The Host PC is running 14.0.308.7
Am I missing something in the settings? Do I need to run TestComplete on the VMs first before TestExecute will work properly?
Depending upon the component, the operating system, etc., there are frequently different properties. Some technologies utilize the operating system differently depending upon the OS.