Question: How can I call a script in a different suite and return a value from that other suite back to the main runner.script and use it as a parameter while calling a script in a third suite from the primary bat.suite?
The issue seems to be that I don’t know how to bring back from the second script and access the value in the main runner script.
I have three suites: my bat.suite, lib.suite and reference.suite
In the three suites I use these three scripts. I open the suites and have access to the scripts.
There are three scripts I run.
utils.script - lib.suite
tools.script. - reference.suite
In bat.Runner.script I call lib.utils.sendReceive with a parameter myTimeOut
Then lib.utils.sendReceive records how long outlook takes for a send/receive and puts that info into a property called sndRcvTime
Goal: In my bat.Runner Script I want to call reference.tools.email and pass it sndRcvTime (from lib.utils.sendReceive) and also pass reference.tools.email some other properties which are in the bat.runner.script