Posted: 23 Feb 2017 15:24 EST Last activity: 24 Feb 2017 9:57 EST
Create a common library of automation functions.
I have a project (ex: CommomLib.osproj) that has a number of automation scripts (Ex: CommonFuncts.os). I can see and reference the CommonFuncts throughout the project, but how can I reference them (passing and returning values) from other projects in a solution (Ex: UserInterface.osproj).
I have the reference set to include the CommonLib.osproj, but don't see the CommonFuncts in the object brower. What am I missing. Surely there must be a way to share functions between project (like a common library)....
You can reference the CommonLib in each of your projects. It will only be visible in the Object Explorer when you are editing a project that references it. It does add overhead when you reference it in each project however.
Thanks Jeff, but there was one step missing.. I added the reference, but found you need to right click on the caller project and select "Import Projects". Just adding the reference does not expose the methods from the referenced library...
Sigh.. Always one small step causes such heartache..