In the previous chapter of Test Step Pane, we had a look over different options available in Selenium IDE Test Step Pane like, Cut, Copy, Paste, Delete of Test Step etc. In this tutorial we will learn about Log Pane and the different operations available in the same.
The bottom-most pane is known as Log Pane. This displays runtime messages during execution and provides real-time updates as to what Selenium IDE is doing.
This is used for four different functions:
- Log
- Reference
- UI-Element
- Rollup
Log
Error messages, information messages, and the progress are displayed in this pane automatically on execution. This information is useful for test case debugging. Notice the Clear button for clearing the Log. Also, notice the Info button is a drop-down allowing selection of different levels of information to log.
Logs are categorized into four types:
- Debug: Debug messages gives information about the technicalities in the backdrop about the current test step. By default, these re not displayed in the log panel. To activate debug logs, just use the filter at the right side and select Debug from the drop-down.
- Info: Info message gives information about the execution of the current Test Step. Again can be filtered from the right side filter.
- Warn: Warning messages give information that are encountered in special situations. Again can be filtered from the right side filter.
- Error: Error messages are generated when Selenium IDE encountered a failure. These messages can also be generated if a condition specified by Verify or Assert command is not met.
Reference Pane
Reference Pane gives the brief description about the currently selected command along with its argument details. In Table mode, the Reference pane displays documentation on the current command. When entering or modifying commands, whether from Table or Source mode, it is critically important to ensure that the parameters specified in the Target and Value fields match those specified in the parameter list in the Reference pane.
UI-Element Pane
UI – Element Pane allows Selenium user to use JavaScript Object Notation acronym as JSON to access the page elements. More on this can be found in UI-Element Documentation under Help Menu.
Rollup
Rollup allows to execute a group of commands in one step. It combines multiple test steps to constitute a single command termed as rollup. The rollup, in turn, can be called multiple times across the test case.