Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
webmbt_builder [2017/12/21 03:09] admin [Operation Modes] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====WebMBT Builder===== | ||
- | //WebMBT Builder// allows you to create MBT models for web applications as you navigate through web pages using Firefox browser. | ||
- | |||
- | You can also use //WebMBT Builder// to create a Data-Driven Testing embedded within the model. | ||
- | |||
- | You will need // | ||
- | |||
- | |||
- | See [[http:// | ||
- | |||
- | |||
- | ---- | ||
- | ====Installation==== | ||
- | //WebMBT Builder// is a Firefox add-on, click [[https:// | ||
- | |||
- | Be sure to view the [[http:// | ||
- | |||
- | |||
- | ---- | ||
- | ====Open WebMBT Builder==== | ||
- | To open //WebMBT Builder//, open a model or create a new model and then click menu //Model / WebMBT Builder// | ||
- | |||
- | {{http:// | ||
- | |||
- | AUT webpage should open in a new browser window (or tab if your browser is set to open new page in a tab) with a banner panel appended to the bottom of AUT webpage as shown in image below. | ||
- | |||
- | {{http:// | ||
- | |||
- | |||
- | ---- | ||
- | ====Operation Modes==== | ||
- | From // | ||
- | |||
- | For example, you can generate MScript for simulating the clicking on a specific element on the page or setting the value for an input field. | ||
- | |||
- | |||
- | * //Create State//: to create a new state in the model for current web page. | ||
- | * //Create Transition//: | ||
- | * //MScript - Assert//: to generate MScript to assert the web element text | ||
- | * //MScript - Click//: to generate MScript to click on the element | ||
- | * //MScript - Set//: to generate MScript to set value to the input element | ||
- | * //Add Data Field//: to create a dataset field from the input field, applicable for transition only as dataset is attached to the transition. It recognizes the type of input field and automatically populate the dataset with the list of possible values based on the input field definition. | ||
- | |||
- | MScript is generated and inserted into the current state/ | ||
- | |||
- | {{http:// | ||
- | |||
- | ---- | ||
- | ====Create States==== | ||
- | To add a state for the current web page, just click on //New State// button. | ||
- | |||
- | MScript currently in the MScript area will be automatically added to the state' | ||
- | |||
- | {{http:// | ||
- | ---- | ||
- | ====Create Transitions==== | ||
- | To add a new transition, you must select the state for which the transition will be added to on the //Model Editor//. | ||
- | |||
- | After selecting the state, start generate the MScripts as described in the earlier sections and click on //New Trans// button. | ||
- | |||
- | MScript generated will be automatically added to the transition' | ||
- | |||
- | {{http:// |