Sunday, June 21, 2015

Control code in the mts

Need to add code to control the script work flow, such as log message or hub or state sharing.

We can add special code tag into the gherkin, and have the gen_mts to explain them and convert them the vb script.

Options

@vbscript
%vbscript

In order to be compatile with gherkin syntax, we can embed theses tags in the gherkin steps, such as:

Given

Then   "logout" shall be displayed.  %logmsg report pass/fail; %pass: evar ("login") =testname; % fail: var ("login")=""

What about "500" or "403"?