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/11/30 05:00] admin [Open WebMBT Builder] |
— (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. | ||
- | |||
- | |||
- | {{http:// | ||
- | |||
- | |||
- | 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//. AUT webpage should open in a new browser window (or tab if your browser is set to open new page in a tab) with //WebMBT Builder Control Panel// (pictured above) appended below AUT webpage. | ||
- | |||
- | {{http:// | ||
- | |||
- | ---- | ||
- | ====Operation Modes==== | ||
- | With //WebMBT Builder Control Panel// you can generate mscript on various operations and create states and transitions. | ||
- | |||
- | 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. | ||
- | |||
- | When you have generated the mscript you need to perform the desired action on the webpage, click on //State// or // | ||
- | |||
- | |||
- | The following mscript generation modes are supported: | ||
- | |||
- | * //Set Value//: to generate MScript to set an input field on to the value currently entered in the field | ||
- | * //Click Element//: to generate MScript to click on an element | ||
- | * //Assert Title//: to assert the web page title to match the title of current web page | ||
- | * //Assert Text//: to assert the element or input field contain the text or value currently shown | ||
- | * //Assert Visible//: to assert that the element is visible | ||
- | * //DataSet 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. | ||
- | * //Dataset Assert//: | ||
- | * //Off//: to turn off the mscript generation. | ||
- | |||
- | Once you have MScript generated, you can use them to populate a state or a transition as described in the next section. | ||
- | |||
- | ---- | ||
- | ====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' | ||
- | |||
- | ---- | ||
- | ====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' | ||