NameMapping - Adding recorded names to my manually mapped objects
Hello,
I am testing a large Desktop Application and wish to utilise other members of the team at least in the NameMapping process.
I have already started to Map names manually, selecting properties to map and giving them suitable names, but in order to speed things up I was hoping to use the recorded name mapping to at least manually map a lot of the objects which I would then edit to use more suitable properties and names.
However, everytime I attempt to map some new names with a recorded test rather than recognising I have already mapped some of the existing objects, or even the tested application, and then not adding any items until it finds an unmapped object it is just creating a whole new object tree under the existing one.
E.G,
Manual Maps App > Shell > Grid > Pnl > btn
If I was to naviagate to the same place in a recorded tests I would see:
App > Shell > Grid > Pnl > New Btn
Under the existing tree.
Instead of:
Manual Maps App > Shell > Grid > Pnl > Btn - New Btn
Is this an issue with my configuration or is what I am hoping for not a feature currently?
I appear to have solved it.
I remapped my App to match exactly what is mapped by the recorded scripts. Ensured that in Tools > Options I was set to update namemapping whilst recording and then recorded a new test.(Although as previously mentioned I had tried to rename the mapping properties before).
I am going to accept this as the solution.
Thank you all for trying to help me troubleshoot.Solution = Remove conditional mapping on App. Remap App properties to match exactly what the duplicate object was using when mapped during a recorded test. Ensure option to update when mapping was on.