Run KeywordTest from imported project
Afternoon folks. Back after a break with a new question.
Our organisation has a few products, developed by different teams. Each product has had it's own development and testing. This means each product has it's own project in TC. The product I work on has dependencies on quite a few of our other products. I work on a Web application, but it depends on setup in a Winforms application. I need my KWTs to work in both, but I don't want to go redo all the work other developers/testers have already done. How do I call a KWT from a imported project in one of my keyword tests. I know for scripts, you need to duplicate it in some manner. Will I have to recreate each test with the associated object mapping and aliases to my project, or is there a way to call the Keyword test from the imported project from a keyword test in mine. I really would prefer not to have to duplicate the work other's have done and maintain changes on my end each time they modify a KWT on their end
You know, though, that as soon as you start converting/wrapping/scripting things that now you have something else to maintain that won't update when the original test does. At that point you might as well just cut and paste it into your project and forget the sharing part.
In these cases I used to make a hybrid name mapping. Create an empty project (to avoid stepping on your live one) and put your name mapping in there. Merge it with the one from the shared test. You can delete all the extra sections it adds except for what you need for that test. Then backup the name mapping in your live test and put the hybrid one in and see if everything still runs. It should be pretty close.