I have a "top level" sequence file that executes several sub-sequence files. In the Setup tab for the top level sequence file, I have an Action that specifies a .NET module (a DLL written using C#), and it creates an object and calls a method on that object to initialize it with the SequenceContext. This module allows us to log in to one of our web sites and click on links and submit forms. So after that first Action, I have another Action that invokes a method on the module to go to the login page of our web site. Then there's another Action that invokes a method on the module to fill in the username/password and login to the web site.
Then in the sub-sequence files, I have Actions that invoke methods on the module to do various things within the web site. However, this setup in TestStand does not work. When I try to execute the top level sequence file, I get an error when it tries to execute the first Action in a sub-sequence file that specifies the module:
Error: The object specified in the class reference is not a .NET object.
Since you are not creating an object, this must be a .NET object. [Error Code: -17300, Value invalid or out of range.]
It looks like in each sub-sequence file I need to start out with an Action that creates the object. I cannot just have Actions that assume the object has already been created. But then this means that in each sub-sequence file, I will need to have Actions that go to the login page and log in to our web site. I would like to do that only in the top level sequence file. Is this possible?