Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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.  It also generates MScript and inserts them into state/transition triggers. 
- 
-You can also use //WebMBT Builder// to create a Data-Driven Testing embedded within the model. 
- 
- 
-{{http://TestOptimal.com/images/MBTBuilder_Footer.png}} 
- 
- 
-See [[http://testoptimal.com/tutorials/WebMBT_Builder-Intro/WebMBT_Builder-Intro.mp4 | WebMBT Builder Tutorial]]. 
- 
----- 
-====Installation==== 
-//WebMBT Builder// is a Firefox add-on, click [[https://addons.mozilla.org/en-US/firefox/addon/webmbt-builder-testoptimal/?src=cb-dl-created| here]] to download and install //WebMBT Builder// onto your Firefox browser.  Click on //Install// button on the dialog window and restart Firefox Browser. 
- 
-Be sure to view the [[http://testoptimal.com/tutorials/WebMBT_Builder-Intro/WebMBT_Builder-Intro.html|Tutorial: WebMBT Builder]] for more information about the installation and a short demo of creating a simple demo model. 
- 
- 
----- 
-====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://testoptimal.com/images/MBTBuilder_OpenAUT.png? 350x450}} 
- 
----- 
-====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 //Transition// button to use the generated mscript to create a state / transition and populate.  The MScript will be automatically attached to the trigger for the state / transition.  MScript is generated as you right mouse click 
- 
- 
-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.  You will be prompted to enter a name for the state. 
- 
-MScript currently in the MScript area will be automatically added to the state's //onentry// trigger.  The MScript area will be cleared so that you are ready to generate another set of MScripts. 
- 
----- 
-====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.  You will be prompted to enter a name for the transition as well as select the target state for the transition. Note the transition created always starts with the current state. 
- 
-MScript generated will be automatically added to the transition's //action// trigger and cleared.