One of the approaches that may be used in Rapise is to maintain several .sstest responsible for different screens or forms in the application. Each .sstest will have own object tree. Now each test case may dynamically load a combination of object trees and deal with them in some sequence. Here is where Global.DoLoadObjects may be useful:
Please, note that in this example we assume that all tests are stored in the same folder, so accessing object files requires “..\<other test name>” prefix.
We attach another example for this topic. It demonstrates loading objects from Rapise SubTests. Basically SubTests are similar to other tests but usually stored in the subfolder of the current test. Each sub test contains objects of different types and loads them on demand.