The best tool for GoFreight QA to enter the coding world!
Feature Code Gen
Input Feature(feature name) and select company tags then BoB will create a new test suite which is a .feature file.
Feature : A name for this test suite, it also be used for the name of .feature file.
Tags (opt) : Run the test suite on which company db/config-setting ( p.s. Scenarios in the feature will be applied Tags on feature. It means if all scenarios have same tags, you just need to add tags on feature and don't need to add tags on every scenario. )
Will be enabled when open a .feature file. Input Scenario(Scenario name) and select which company Tags meet this scenario, then BoB will insert a new scenario in the end of current opened ,feature file.
Scenario : Name of scenario
Tags (opt?) : Run the test case on which company db/config-setting. If feature has no tags, it would be a required field.
Will be enabled when open a .feature file. Insert a step and add the implement function to the impl_file. You can choose Keyword for different situations.
When / Then : A user-defined step. When is for "Operating"; Then is for "Verification". After click insert button, BoB will bring you to the step_impl file.
Page Name : the step is on which page.
Step Name : Name of step. Try to describe the step doing in detail.
Role : Login GoFreight with the role you select.
Role : Select a role to login GoFreight. (If current logined role is different to selection, will auto logout and re-login)
Goto : Direct to the page by URL. A lot of pages are disabled because we cannot goto the page by static URL. ( Like shipment entry, we need to known file no. first. )
Page Name : goto which page.
Page Control Editor : List of elements on the page.
Will be enabled when open a step implement .py file and put the cursor below a step_impl function.
( which page belongs the step has been decided by Page Name when you created this Step by Feature Code Gen - Insert Step )
Click the element then BoB will add it to the cursor position.
A Step can only do things in one "Page".
If you want to goto other pages(URL) or some operations will trigger page changing, you should create a new Step for next steps.