Forum Discussion

william_roe's avatar
william_roe
Super Contributor
9 years ago

Shared Name Mapping with Differing Object Browser IDs

We have three test projects sharing a name mapping file. The three application have a similar naming pattern (CMWebTest, CMWebTestUnfiltered and CMWebTestFilteredSSPOFF. The alias (Cribmaster) is def...
  • william_roe's avatar
    9 years ago

    THE SOLUTION HAS BEEN FOUND -- THANK YOU TECHINCAL SUPPORT (Yuri)


    There's a project setting which instructs TC to process and modify IDs which match certain patterns in a special way. It is under 'Tools | Current Project Properties | Open Applications | Web Testing | Object Identification'. The CMWebFiltered_SSP_OFF project has this pattern in the 'Other' group: ^{[A-Za-z-]+}(\d\d\d\d\d\d+)$
    It matches IDs of the problematic objects in your application and removes trailing digits from them (btn200401, btn200402, and btn200403 become just btn). Everything is fine in the CMWeb project because it doesn't contain this pattern for some reason. Probably, this project was converted from a previous TC version where it didn't exist, and CMWebFiltered_SSP_OFF is a relatively recent one.


    'CMWebFiltered_SSP_OFF' is a new project and did get the default 'Object Identification' setting. I have removed the setting from the project (and default) and objects are recognized properly in all projects. MERRY CHRISTMAS!!!