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

eCATT Reference issue

rajeevgollapudi
Product and Topic Expert
Product and Topic Expert
0 Likes
658

In my eCATT script I want o call another eCATT script based on a user parameter. Which means the name of the reference script is not constant but a parameter/variable.

I am not able to use a parameter in the standard REF command.

Please let me know if itu2019s possible and if so how i can acheive this.

3 REPLIES 3
Read only

Former Member
0 Likes
601

Hello,

Its possible to change the name of the script refered dynamically.

For this you need to record the script within ECA itself and carry out the recording where in you go into the script , go to the pattern function ,select ref command and enter the script name and save.

You can parameterize the value of the script name and run the script with different script names.

Thanks & Best regards,

Ajay

Edited by: Ajay HS on Apr 19, 2010 10:34 AM

Read only

0 Likes
601

Hi,

You can try with approach suggested on [this thread:|;

Use FUN to call function module ECATT_EXECUTE and pass your script name.

Read only

Former Member
0 Likes
601

Hi,

You can use if .. else and call the respective script using ref command