GherkinUFT  Language Interpreter


Once your .Feature file has been loaded into the [TestSteps] sheet, the framework will iterate round all of the GWT steps repeatedly for each Scenario Example rows on the [Global] sheet.

The interpreter will convert the Gherkin business language into executable step definition function calls with parameters.

At the same time, an alternative interpretation of the step will also be built, to be used by the Codeless Pro function, to automatically identify your system objects using descriptive programming techniques.

AUT Step Definitions


As an example,       Given I login to the finance system

             becomes...   Call AUT_Login_To_The_Finance_System()


if your bespoke function requires params you specify them using "with" & "and" 

so the example,     Given I login to the finance system with "JBrownand <Pswrd>

             becomes...  Call AUT_Login_To_The_System("JBrown", "Passsec")


KW Step Definitions


As an example,    Given I copy the word text to a txt file

             becomes...   Call KW_Copy_The_Word_Text_To_A_Txt_File()

      or the example,      And  I search for a text case with "SQL-Facility-Selector.xml" and "Ref" and <OutRes>

             becomes...  Call KW_Search_For_A_Test_Case("File", "Ref", "Results")

Language Interpreter

Takes your Gherkin test step descriptions and converts them into calls to functions. In addition it will set some Environment Variables to record key step information like 'If It Exists', 'Use Existing Browser', 'DoubleClick' and 'NotExists'. 

Also, it collects the example data from the [Global], [Output] or [DataChain] sheets and can Concatenate, Add, Subtract, Multiply & Divide data values together. Then formats the call parameters for the function.

Framework Language

The GherkinUFT framework comes with some built in 'Step Definitions' to help give flexibility to your Feature scripts. These include conditional If Then Endif's, Save'ing and Check'ing


If, Then.... EndIf

If-Then-Endif uses the same syntax as the 'Check' step definition, and depending on the result of the check, if positive, then the next steps will be performed. These will continue to be performed until the Endif step is reached. Currently you cannot have If's within If's, or multiple If's and/or's.

Save Data

Use the framework 'Save' step description to store values for later use. Save to the Global sheet <Column_Name>, or to any other [DataSheet], or to an "%EnvironmentVariable".

If the first 6 chars are "Select", then the SQL will be executed and the results stored.


<<<<< Back to Feature File Importer                                                                     Forward to Data Chaining >>>>>