Forum Discussion
Philip_Baird
12 years agoCommunity Expert
Hi Steven, yes you can call between Scripts by adding references to scripts using USEUNIT, the preferred method is as per the documentation here.
I would not recommend using Runner::CallMethod() because as per the documentation, this method is obsolete and it is supported for backward compatibility only.
Scripts are stored as plain text files with Test Complete offering Source control integration as described here but I prefer to manage mine manually using Tortoise SVN.
One thing to note is that the folder structure you create in Test Complete is virtual, if you want to store scripts in different folders on disk you have to manually create them and make sure you save Script Units to the correct folder when you create them, otherwise Test Complete will save all Script Units in the default location.
Regards
Phil Baird
I would not recommend using Runner::CallMethod() because as per the documentation, this method is obsolete and it is supported for backward compatibility only.
Scripts are stored as plain text files with Test Complete offering Source control integration as described here but I prefer to manage mine manually using Tortoise SVN.
One thing to note is that the folder structure you create in Test Complete is virtual, if you want to store scripts in different folders on disk you have to manually create them and make sure you save Script Units to the correct folder when you create them, otherwise Test Complete will save all Script Units in the default location.
Regards
Phil Baird