The Test tab is the primary tab in the Rapise ribbon and provides tools to help with creating and executing tests. It also provides the options to add web services and/or manual test steps to the current test.
How to Open
The Test tab is always available in the ribbon.
The File section provides the following options:
·Save - saves the current test locally. To save to a different location, use the Save As option in the File menu.
·Save to Spira - allows you to save the Rapise test so that it updates the version in your Spira test management repository
·Open Test from Spira - allows you to open a Rapise test that is stored in a SpiraTest test management repository
The Shortcuts section provides links to the most commonly used functionality in Rapise:
·Start Page - this button opens the Rapise Start Page.
·Test - This opens the primary test script file (normally MyTest.js where MyTest is the name of your test)
·Functions - This opens the user functions script file containing any user-defined testing functions (called MyTest.user.js where MyTest is the name of your test)
Record and Execute
The Record and Execute section provides tools relating to recording tests, learning objects, spying objects in the running application and executing the test.
·Record - this button is used for recording and learning, clicking it will open the Recording Activity Dialog.
·Play - this button executes the current test. You can change which test script to open in the Settings Dialog. The test script is specified by Settings > ScriptPath.
Note there are some additional options available when using the Record button:
oRecord - clicking Record on its own will start Rapise recording using the current selected libraries (this is the default action)
oShift+Record - This brings up the library selector (shown above), and is equivalent to clicking the [ ] libraries button in the ribbon before starting recording.
oCTRL+Record - This brings up the application selector (see below) and lets you change the application and library being recorded:
The Debugging section provides tools for debugging the code in the test during playback.
·Debugging Level - The top drop-down list specifies if you would like to use an External Debugger. If so, you can either connect on execution (the Run with External Debugger option) or only connect if an error occurs (the Run External Debugger on Error option).
·Logging Level - The lower drop-down list controls the Verbosity Level.
The Tools section provides the following options:
·About - this displays information about the running instance of Rapise, including the version number.
·Activation - this button opens the Rapise license activation screen. This can be used to deactivate the current license so that it can be used on a different machine.
·Spira Properties - this button opens the Spira Properties dialog that allows you to see the name of the SpiraTest project and test case that the current Rapise test is linked to.
·Object Manager - this button opens the Object Manager add-in; this add-in is used to copy recorded objects between test scripts.
The Help section provides access to the interactive help system as well as the search and replace tools.
·Find in Files - clicking on this button opens the Find and Replace Dialog.
·Help - this button provides access to the interactive help system. You can also bring up the help system by pressing F1 on the keyboard