Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to run a Test Script through RFC

weston_liu
Associate
Associate
0 Likes
630

I created a Test Script A in system A.

And I created Test Script B in system B.

I want to refer Test Script A in in Test Script B.

But there is an information "Test Script A cannot found in local system.",

because the 2 Test Script are in different systems.

I do not want upload Script A into system B.

Is there a way to call Test Script A in system B?

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
502

Hello Weston

Using system data container you can run test scripts on any system defined in this container. However, this requires that the script is defined on the "local" system from which you want to execute it remotely.

However, you may try to call the RFC-enabled fm ECATT_EXECUTE within script B (pattern = 'FUN'). Perhaps this way you can run script A remotely within your script B.

Regards

Uwe

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
503

Hello Weston

Using system data container you can run test scripts on any system defined in this container. However, this requires that the script is defined on the "local" system from which you want to execute it remotely.

However, you may try to call the RFC-enabled fm ECATT_EXECUTE within script B (pattern = 'FUN'). Perhaps this way you can run script A remotely within your script B.

Regards

Uwe

Read only

weston_liu
Associate
Associate
0 Likes
502

Hi Uwe,

Thanks for your help.

I have a question about the Function module ECATT_EXECUTE.

I want to to run a eCATT Test Configuration with External Variants.

So I enter the following valus into import parameters

TO_EXECUTE-OBJ_TYPE = 'ECTC'

TO_EXECUTE-OBJ_NAME = '/SMB91/ARTICLE_O001_R80'

IT_VAR_EXT-OBJ_TYPE = 'ECTC'

IT_VAR_EXT-OBJ_NAME = '/SMB91/ARTICLE_O001_R80'

IT_VAR_EXT-VAR_EXT_MODE = 'X'

IT_VAR_EXT-VAR_EXT_FILE = 'SMB99_RETAIL_MM41_711.TXT'

IT_VAR_EXT-VAR_EXT_PATH = 'C:\DATA\RETAIL'

When EXECUTE the Function,

the ecatt is not get the External Variants 'SMB99_RETAIL_MM41_711.TXT'

from the path 'C:\DATA\RETAIL' I entered.

it use a different path which is form the Start profile values .

How to make the ecatt use the path I entered ?

Hope for your reply , thanks.

Weston