Forum Discussion
I changed the mapping to teh master project one as you mentioned. Script started working.
Only one login script works even though I have two scripts in TestProject1.
The login is called within teh WO script.
But only login works and the other script does not run. I have attached ascreenshot from Test Execute log and also my project screenshot I ahve added in the center.
2 scripts are there outlined in the middle.
I repeat:
Everything you want to have run via TestExecute must have a Test Item created for it for the method that you're using for execution. No Test Item -> It won't run. So, if you want that other script to run, you need to put it in a Test Item. Refer to the documentation link I gave you earlier as to how to create test items and link scripts.
- saranoor6 years agoFrequent Contributor
I deleted the TestProject1 and added test items to master project.
I have one single test and the other two are child items of the first as theya re called within that test.
Please let me know if the set up is correct.
Test Execute is running the first script succesfully.
- Marsha_R6 years agoModerator
You shouldn't need the child items in that list. TC and TE will find them when the first test is run.
Did you try running this from TE now? What happened?
- saranoor6 years agoFrequent Contributor
It is working with child items but I will try without child items.
Remember that the two child items are being called in the first test item. One is keyword test and another is a script.
- Marsha_R6 years agoModerator
Again, the child items do not need to be in the list. When TestComplete runs the main test, it will find whatever child tests are called for and run them automatically.
- saranoor6 years agoFrequent Contributor
The child items are for Test Execute
If I remove achild Item Test Execute cannot run the test.
- Marsha_R6 years agoModerator
Then what exactly is your question at this point? Are your tests running in TestExecute now?
- saranoor6 years agoFrequent Contributor
At this point unable to do anything as name mapping file is not found.
- Marsha_R6 years agoModerator
Yes, that's in your other thread. Perhaps you can try this again once you've resolved the other problem.
- saranoor6 years agoFrequent Contributor
Will surely try after name mapping is resolved.
Thanks for teh support.
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 2 hours ago
- 6 days ago
- 10 days ago