| || |
Subroutines with parameters in SQA Robot
Who can tell me how (and if it's possible) to
use subroutines with parameters in Rational Robot scripting, like
Sub xxxx(arg1, arg2,...)
without combining scripts into library.
I want to keep each sub in it's own file.
Probably there should be a special .sbh file
Re: Subroutines with parameters in SQA Robot
There are several ways you can use Subroutines. There are examples in the SQABasic Reference manual.
Along with the script: declare your subroutine at the top of the script and write it at the bottom.
By itself: sbl file with your subroutine and a .sbh file declaring it. Include the .sbh in your script.
With other subs: sbl file with all subroutines and a .sbh declaring them. Include the .sbh in your script.