When I execute RunAction to an action on an external test, the test grabs data from the data table assigned to the external test. Any way to get it to grab the data from the data table assigned to the calling test?
Yes... each test has a local sheet, but can also be pointed to a non-default data table.
With a test loaded, go to File > Settings > Resources > there will be a default table option. Change it to "other location" and specify the target file. This overrides the default data table with the calling tests' data table.
Keep in mind, if your existing code references columns that do not correspond to anything within the newly-linked data table, test execution will become problematic. So retrofitting this functionality onto an already existing suite of tests may be some work. Another thing to consider, using a single data table for all tests introduces the caveat of having a single point of failure or contention in that the test won't run if the table is open and only one person can work on it at a time. Plus, there's a limitation to the number of sheets an excel document can have (or at least there was in the past), so large suites of tests may have to use multiple data tables.
With that in mind, you may want to look to alternatives to data tables, such as XML, etc.
Thanks cwftesty. I do have the "other location" set and points to a data table different than the target test. But when I run the test, it is pulling in data from the target test's data table. In fact, the calling test's data table now has sheets named after the target test. For example: the calling test's data table now has a sheet named "Login" and "Login [Target Test Name]". When I execute the test, it calls the data from "Login [Target Test Name]". These sheets are getting created automatically.