Different Machine Different RxPath with autoamtion ID
Posted: Tue Oct 13, 2015 10:33 am
I am getting 2 different rxpaths for same control on different machines.
I have checked OS version (Win 7 Enterprise 64 bit) and Ranorex version (5.4) both are same in machines.
I also made sure Global settings in both machines are same. I am working on .Net framework 4.5 and WPF controls.
AUT version is also same in both machines.
I used 64 bit Ranorex spy for identification.
First one has an element while in second it is shown as container. Also the first path element control has automation id as attribute. They are as below (I have highlighted the difference part in rxpaths):
/form[@controlname='OlympusForm']/container[@controlname='pnlStandardWithNavMenu']
/container[@controlname='pnlStandardPage']/container[@controlname='ControlPanel']
//container[@controlname='pnlMainControls']/
element[@controlname='elementHost1']/element[@win32parentwindowlevel='8' and @win32ownerwindowlevel='0']//element[@automationid='PartProfileViewModel']
//table[@automationid='PartProfiles']/container[@automationid='PART_RowsPresenter']
/form[@controlname='OlympusForm']/container[@controlname='pnlStandardWithNavMenu']
/container[@controlname='pnlStandardPage']/container[@controlname='ControlPanel']
/container[@controlname='CheckInMaterialProfile']
/container[@controlname='pnlMainContent']/container[@controlname='pnlMainControls']
/?/?/element[@win32parentwindowlevel='8' and @win32ownerwindowlevel='0']//table[@automationid='PartProfiles']
/container[@automationid='PART_RowsPresenter']
Could you please let me know what may be the possible reason or do I need to check anything else.
I have attached the snapshot file as well.
I have checked OS version (Win 7 Enterprise 64 bit) and Ranorex version (5.4) both are same in machines.
I also made sure Global settings in both machines are same. I am working on .Net framework 4.5 and WPF controls.
AUT version is also same in both machines.
I used 64 bit Ranorex spy for identification.
First one has an element while in second it is shown as container. Also the first path element control has automation id as attribute. They are as below (I have highlighted the difference part in rxpaths):
/form[@controlname='OlympusForm']/container[@controlname='pnlStandardWithNavMenu']
/container[@controlname='pnlStandardPage']/container[@controlname='ControlPanel']
//container[@controlname='pnlMainControls']/
element[@controlname='elementHost1']/element[@win32parentwindowlevel='8' and @win32ownerwindowlevel='0']//element[@automationid='PartProfileViewModel']
//table[@automationid='PartProfiles']/container[@automationid='PART_RowsPresenter']
/form[@controlname='OlympusForm']/container[@controlname='pnlStandardWithNavMenu']
/container[@controlname='pnlStandardPage']/container[@controlname='ControlPanel']
/container[@controlname='CheckInMaterialProfile']
/container[@controlname='pnlMainContent']/container[@controlname='pnlMainControls']
/?/?/element[@win32parentwindowlevel='8' and @win32ownerwindowlevel='0']//table[@automationid='PartProfiles']
/container[@automationid='PART_RowsPresenter']
Could you please let me know what may be the possible reason or do I need to check anything else.
I have attached the snapshot file as well.