quadnsa.blogg.se

Intellij key map to create variable from expression
Intellij key map to create variable from expression






By default, it is shown at the bottom of the TestComplete window. If the assignment is not possible, an error message will be shown.įor information on specifying the value, see below. TestComplete will assign the specified value to the variable and display it in the Result box. To set a new value, type it in the New Value box and press Enter to confirm the input. To specify a keyword test variable, use the syntax KeywordTests. Script variables are addressed by their names. You should specify the variable name as if the variable is addressed from script code. The specified variable must be available at the current execution point. The dialog will display the current variable(s) value in the Result box. In the dialog, type the desired variable name in the Expression box and click Evaluate or press Enter. To invoke the dialog, press the Call the Evaluate Dialog button on the Debug toolbar, or press the Ctrl+F12 shortcut (this is the default shortcut. You can change a variable in the Evaluate dialog or in the Watch List panel. Once the test execution is paused, you can change the variables. If you are running a keyword test, you can also pause the test execution by right-clicking within the Keyword Test editor and choosing Pause from the context menu.Ĭall the Runner.Pause method (TestComplete will pause the execution on the next script line after the line holding the method call or on the next keyword test operation after the operation that calls the method). Press Pause on the Debug toolbar (if the toolbar is hidden, right-click somewhere in the toolbar area and choose Debug from the ensuing context menu). Set the cursor to the desired script line or operation and then run the script or test to the cursor. Set a breakpoint on the desired script line or keyword test operation. To pause the test run, do one of the following: To do this, pause the script or test at the desired point and then use one of the ways described below.įor JavaScript users: Currently, you cannot modify local variables during debugging. You can change variable values during debugging of script and keyword tests.








Intellij key map to create variable from expression