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

Link to this comparison view

model_execution_and_debugging [2016/09/22 02:35] (current)
Line 1: Line 1:
 +===== Execute & Debug Models =====
 +To execute a model, just click on {{http://​testoptimal.com/​img/​start.png}}. Depending on which plugin you selected (Selenium or HtmlUnit), you may or may not see the actual browser starting up to run your application.
 +You can also run your model without executing MScript. You can so by clicking on the sidebar button **//​AUT//​**. By default, //AUT Mode// is enabled. ​ By disabling //AUT Mode//, the AUT will not be invoked when model executes (applicable to automation models only), it just generates the test sequences from the model and write them to [[TransLogTab|SeqTrace]] tab.
 +You can step through your model when you use "​Debug"​ execution {{http://​testoptimal.com/​img/​debug.png}}. You can start debug and step through the model from different places in TestOptimal IDE.
 +  * [[modelingtab| Model Tab]]
 +  * [[ExecMScriptExpr|MScript Sandnox]]
 +  * [[mScriptEditor|mScript Editor]]
 +You can step through the execution in one of the following ways:
 +  * execute until next breakpoint (either on transition or on mScript line) by pressing {{http://​testoptimal.com/​img/​debug.png}}
 +  * step over to next state/​transition by pressing {{http://​testoptimal.com/​img/​stepover.png}}
 +  * step over mScript line by line by pressing {{http://​testoptimal.com/​img/​pause.png}}
 +  * step over mScript by number of lines or to a specific line by pressing {{http://​testoptimal.com/​img/​stepline.png}}
 +You can find more information about these options at [[Model Execution Buttons|Model Execution Buttons (sidebar buttons)]]
QR Code
QR Code model_execution_and_debugging (generated for current page)