I am trying to call an action from another action at runtime.
I use a data sheet to store the test names. Depending on my need, I want to choose the action from the data sheet. And I don't want to keep opening the main script and add these as external actions.
Please help me out here.
If you make the actions you need to call reusable (right click the action in tree view and select action properties) then they can be called from another action. To do this pout the cursor at the point you wish to call the action (in expert view) and go to Insert->Call to Action in the main menu.
A dialog will appear from which you can select/browse for your action.
When this is finished you will get a statement like this:
Call RunAction("Action1 [ActionFileName]", oneIteration)
All you need to do then is replace the "Action1..." string with a value from your datatable. remeber to included the file name in square braces after the action name.