Contributions
Re: NameMapping - Adding recorded names to my manually mapped objects
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.3.1KViews0likes0CommentsRe: NameMapping - Adding recorded names to my manually mapped objects
Hi CunderW, I have attached a screen of the mapping properties. The ones I described above added by me and the ones added automatically when mapped. Unfortunately TestComplete continues to just duplicate all of the objects rather than add any recorded additions to the exsiting mapping. The ability to farm out the process of recording objects on mass and then editing the properties would potentially be a huge timesave for us but considerably less so if we would have to start again.3.1KViews0likes1CommentRe: NameMapping - Adding recorded names to my manually mapped objects
The one I manually mapped 'App' used a conditional mapping on: Name - Process("AppTest") or Process("AppReleaseCandidate") and FullName - Sys.Process("AppTest") or Sys.Process("AppReleaseCandidate") and ProcessName - AppTest or AppReleaseCandidate Allowing for us to test both environments. The auto map will usually just map on Name - Process("AppTest") as this is the environment we were mapping on. I have tried changing the mapping properties of App to match the ones that get consistently auto-mapped alone but to no avail.3.2KViews0likes3CommentsRe: NameMapping - Adding recorded names to my manually mapped objects
Hello, Thanks for a quick response. I think I am generic enough to not be falling foul of any dynamic property changes whilst being specific enough to ensure the correct objects are being found. The app is being located with conditional - Name/FullName/ProcessName - where they can vary based on the environment we are testing on. E.G, name = Process("AppReleaseCandidate") or name = Process("AppTest") From then on it is mostly ClrFullClassName or ClrClassName, or if I can be sure that the Name is static enough then using that as well. All the existing items have been added manually to NameMapping from the object tree view. Recording new tests will add a duplicate NameMap for everything, from the App -> Shell > LayoutRoot > Presenter. Each of which do not change dynamically. I have attached the current map down to The Main Content Control item.3.2KViews0likes6CommentsNameMapping - 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?Solved3.3KViews0likes8Comments