Posts: 1
Threads: 1
Joined: Aug 2010
Reputation:
0
08-13-2010, 08:31 AM
I have an internal action which will call an external action. However, the datatable in the external action is not imported automatically when running the internal action. Why is this happening? In QTP help, it says global data table in the external action should be imported automatically.
Any thoughts?
Posts: 126
Threads: 18
Joined: Mar 2010
Reputation:
0
08-14-2010, 02:50 PM
(This post was last modified: 08-14-2010, 02:51 PM by PrabhatN.)
Hi,
I tried this and the Global as well as local DataTable of the External Action are automatically imported to the current test immediately after I make a call to the external action.
So what is your problem doing this. Please crosscheck.
Steps I followed:
1. Created an action named as "Action1" and made it reusable
2. In the Global Data Table,defined a parameter name as "Global_1" and gave value global
3. In the Local Data Table,defined a parameter name as "Local_1" and gave value Local
4. Saved the test as "Test_1"
5. Opened a new test and created an action named as "Action2" and made it reusable.
6. Inside this function, I called the "Action1" of "Test_1". Then the Global as well as Local Data Tables of "Test_1" automatically imported to "Test_2"
So this is what you wanted to do, I guess.
I appologize if I misunderstood you.