In the previous chapter of ToolBar, we had a look over different options available in Selenium IDE Toolbar to Run, Pause, Stop, Debug etc. In this tutorial we will laern about Test Case Pane and the different operations available in the same.
Test Case Pane is the section on the Selenium IDE dialog box where all the Test Case displays. At the instance when Selenium IDE interface is opened, the left-most container titled “Test case” containing an untitled Test Case. Thus, this left container is entitled as Test Case Pane. It allows to open a single Test Case or a complete Test Suite(Collection of multiple Test Cases).
- Test cases listed in order of they have created or loaded. But the order of the Test Case can easily be changed by dragging the Test Case to other positions in the Test Case Pane.
- The Test Case is selected in the Test Case Pane, will be shown it’s Test Steps in the Test Steps Pane. Selected Test Case will shown in Bold Text.
Test Case Pane
Test Case Pane has two section under it:
- Test Case View
- Result View
Test Case View
Selenium IDE has a color coding ingredient for reporting purpose. After the execution, the test case in marked either in “red” or “green” color.
- Red Color Test Case: This symbolizes the unsuccessful run i.e. failure of the test case.
- Green Color Test Case: This symbolizes the successful run i.e. no failure of the test case
Result View
At the bottom of the Test Case Pane, the results are shown for the execution. These values updates on each execution.
- Run: This label shows the number of Test Cases that have been ran.
- Failure: This label shows how many Test Cases failed when they were ran.
Quick Access Menu
To load the Quick Access menu, select any Test Case and perform Right Click on it. This will display the following options:
- New Test Case: This is a short cut for choosing File >> New Test Case, which allows to Create a New Test Case.
- Add Test Case: This is a short cut for choosing File >> Add Test Case, which allows to Add an Existing Test Case.
- Delete: This is a short cut for choosing Edit >> Delete, which allows to Delete an Existing Test Case.
- Properties:This is a short cut for choosing File >> Properties, which allows to View the Properties of Test Case.
How to Add a Test Case?
It is easy to import any previously recorded Test Case.
1) Go to File >> Open..
2) Select any Test Case.
How to import a Test Suite?
It is easy to import any previously recorded Test Suite. On opening a Test Suite, the test case pane will automatically list all the test cases contained in it.
1) Go to File >> Open Test Suite..
2) Select any Test Suite.