Forum Discussion
ArtemS
Alumni
12 years agoHello, Grant
Name mapping works on a project level, hence it should be effective for all tests in a project.
Try mapping the "problematic" pageAppcontract object manually, prior to recording any tests (as described in Mapping Objects Manually). For the URL property specify a value using a wildcard - pageAppcontract*
Later on, TestComplete will use the mapped page object in all recorded test (as long as properties of a recorded page will match the URL and other mapping criteria)
If the elements of your page also depend on dynamic identifiers, then read Handling Dynamic Identifiers to learn how to work with such elements.
Name mapping works on a project level, hence it should be effective for all tests in a project.
Try mapping the "problematic" pageAppcontract object manually, prior to recording any tests (as described in Mapping Objects Manually). For the URL property specify a value using a wildcard - pageAppcontract*
Later on, TestComplete will use the mapped page object in all recorded test (as long as properties of a recorded page will match the URL and other mapping criteria)
If the elements of your page also depend on dynamic identifiers, then read Handling Dynamic Identifiers to learn how to work with such elements.