user1881879
user1881879

Reputation:

How to pass the variables by using eggplant tool

I am reading the text from one excel sheet. this text is put in to one temp variable.

Now I want to use this temp variable to another script.

is there any command in eggplant?

Upvotes: 0

Views: 1424

Answers (1)

omigosh
omigosh

Reputation: 11

In your other script (named OtherScript in this example), create a handler:

to HandlerName Variable1 //Starts the handler.
      //Insert your script commands here 
end HandlerName//Ends the handler.

In your current script, run the following line to pass your temp variable to the other script:

run OtherScript.HandlerName temp

Where temp is the variable you would like to pass from your current script that reads the excel sheet to the other script.

Upvotes: 1

Related Questions