Question
Cognizant Technology Solutions India PVT Ltd
IN
Last activity: 11 Dec 2019 9:06 EST
Run multiple projects under main project
Can someone share share demo video or best practices for adding multiple child projects under main project and perform execution in single run?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
I don't think a video is necessary. Make sure your solution contains all the projects that you want to use. Make sure that your Startup Project (the one in bold) references the other projects (unless some of those projects reference each other, then you must only reference the parent; I doubt you are doing this, but just keep that in mind that you don't want any circular references). After you add the references, then you "Manage Imported Projects" and pull in all of the other projects. In your Startup Project you'll be able to see all the other projects in your Object Explorer window when you have an automation open.
Pegasystems Inc.
US
There are two ways to create a child project;
- The most common way is to create an entirely separate solution/project for each adapter. When you have this (child) solution opened, you'll only see the child project and perhaps a parent project of this child used to test it. Once you've finished its development, you would then open your parent project. From here, you would simply right-click on your solution in the Solution Explorer window and select "Add Existing Project". Browse for the child's "osproj" file and click "Ok" to add it to your solution. Next, proceed to the last paragraph.
- A less common way is to create a child project directly within the parent solution. To do this, right-click on the solution in the Solution Explorer window and select "Add New Project". Once you name it and click "Ok", the project will appear in your solution. Next, proceed to the last paragraph.
Once you have a new project in your solution you must reference it. To do this, right-click on the References folder and select "Add Reference". Select the "Projects" tab and select the project(s) you wish to reference. After adding a reference, you must then import the projects into the main project. Right-click on the parent project in the Solution Explorer window and select "Manage Imported Projects". Move any projects from the "Available Projects" box on the left to the "Imports" box on the right by clicking the arrows. Now, when you click "Run", all of the projects will start.
Lantiqx
IN
You need to have a common interaction.xml once you added to a single solution.
Pegasystems Inc.
US
This is only required if you are using the Interaction Framework (IF). If your project is an RPA or you are not using the IF in your RDA, then this is not a consideration.
Cognizant Technology Solutions India PVT Ltd
IN
Thanks for your response.
Cognizant Technology Solutions India PVT Ltd
IN
Thank You Thomas for your inputs, I have imported all the child projects and added references as well, but system executes only the parent project. Could you please help me on this?
Appreciate if you share any demo video.
Thanks in advance!
Accepted Solution
Pegasystems Inc.
US
I don't think a video is necessary. Make sure your solution contains all the projects that you want to use. Make sure that your Startup Project (the one in bold) references the other projects (unless some of those projects reference each other, then you must only reference the parent; I doubt you are doing this, but just keep that in mind that you don't want any circular references). After you add the references, then you "Manage Imported Projects" and pull in all of the other projects. In your Startup Project you'll be able to see all the other projects in your Object Explorer window when you have an automation open.
Cognizant Technology Solutions India PVT Ltd
IN
Thomas-Thanks for your valuble time in resolving the issue.
-
Danalakotha hemanth kumar