Passing a Parameter from a shell Script

Hi -

I have a shell script to kick off some Eggplant tests. Problem I am having is how do I pass a parameter (variable) from my shell script to an Eggplant script so I can use this variable in an if statement in my eggplant script?

Hi noliner–

Make sure that you have a params declaration at the top of your eggplant script:

params shell1, shell2, shell3

Then in your shell script command, you’ll want to make sure that you’ve got the parameters there too:

  /Applications/ /path/to/aSuite.suite/path/to/myScript.script -params param1 param2 param3

Hope this helps.

Great, Thanks for the help!!!