Forum Discussion
Is it broken in more than one place? You said one and now you're mentioning more. We really need more details if you want help. Show us your test, show us the mapping that used to work and what you had to change it to. Explain it as if you were showing us this at your desk.
Every element needs to be remapped in my Project Test that I am using in Test Execute.
When I use Test Complete to run my scripts which are not in the Test Project the scripts are working
- Marsha_R5 years agoChampion Level 3
Giving us all this information at once would really be better. See how long it is taking to maybe get an answer?
Now it looks like you are saying that the TC tests are different from the TE tests. Is that true?
- saranoor5 years agoFrequent Contributor
I highlighted the main project that is MAsterProject_ECS360 in Test complete and the login script that I highlighted under that is origibal script. It has been working for 9 months in Test Complete .
I created a TestProject1 to run through Test Execute and copied the Login_Ecs360_Chantilly script from MasterProject_Ecs360 .
Both Login scripts are the same but the script Login_Ecs360_Chantilly under TestProject1 when I ran it through Tets Execute or manually in Test complete it was failing and made me remap the objects again and after remapping only it worked through Test Execute and manually in Tets Complete.
What is the difference between teh two projects? nothing
My issue is if I add other scripts that are multiple objects will I need to remap them again if I need to run through Test Execute.
Hope I am able to explain the issue in screenshot below.
- tristaanogre5 years agoEsteemed Contributor
NameMapping is stored within the project. So, you mapped the objects in the MasterProject... that is where the mapping is stored. If you didn't map the objects in TestProject1, that's why you're running into the object identification errors.
Now, you don't HAVE to remap everything. You can delete the NameMapping node from TestProject1 and use the "Add -> Existing Item" to TestProject1 and point to the NameMapping file that you created in the Master Project.