Ticket #3210 (backlog defect)
Automate the following parts of the test script
| Reported by: | noel | Owned by: | cbernath |
|---|---|---|---|
| Priority: | 3 - Medium | Milestone: | Blue Crab |
| Component: | All | Version: | 2.2.0 |
| Keywords: | Cc: | ian | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Any/All | Maintenance Target: | |
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
These are the parts of the test script we should be able to auto mate with selenium
# DAEMONS TAB
- On the Daemons tab of Settings, stop all of the daemons. Check to make sure they all stop.
- Start up each of the daemons. Make sure they start.
# MONITORING
- Load win2k-test2
- Confirm that all device components are loaded (OS and HW)
- Manually flip interfaces, ip services, filesystems, OSProcesses to be NOT monitored
- Check to see that each is not monitored
- Flip them all back
- Check to see that each is monitored 3.
# EVENT CONSOLE
- Follow Section 6 of the basic training guide.
# BACKUPS TAB
- Run a backup.
- Check to see that the backup appears in the list.
# FILESYSTEM & THRESHOLDS
- Navigate to the OS tab for the machine “build.zenoss.loc” you loaded into the system.
- Click the “/” File System.
- Click on the Templates tab
- Click the Create Local Copy button to make a local copy of the template for this device.
- Click the name of the template to modify it
- In the Thresholds area, in the Add box, enter the name “Really Low Threshold” and click the Add button.
- Click on the link for the Really Low Threshold.
- Choose the usedBlocks use Blocks
- In the Max Value area, enter the following expression: here.totalBlocks * .05
- Make sure Enabled is set to True.
- Click on the "Save" button.
- Click over to the Events console to see the result of changing the threshold.
# CUSTOM DEVICE REPORTS
- Do Activity 9.3 in the basic training guide
# GRAPH REPORTS
- Create a graph report. Add some graphs. Make sure it shows the right graphs.
- Re-sequence the graphs. Make sure the sequencing was applied
# PERFORMANCE REPORTS
- For each utilization report, make sure the right boxes show up.
- Make sure none of the devices have N/A for % Util
- Exercise all the date range etc. controls. Verify the report responds. 7.
# USER COMMANDS
- Pick a device and run the Forward DNS Lookup command.
- Confirm that the right string comes back.
- Run the same command on a device class and see that the command is executed against each device
# CUSTOM EVENT VIEWS
- Make an event view with a complex rule and non-default fields.
- Make an event that matches and an event that doesn't.
- Check to see if the right event shows up in the event view.
- Make sure the right fields are shown. 5.
# Multi-Graph Reports with collections
- Add a collection of objects using the device class /Server/Linux
- Add a graph definition that has the DataPoint laLoadInt5_laLoadInt5
- Add a graph group with these two in "Separate graph for each device"
- Confirm that the graph displays correctly
- Now switch to "All devices on a single graph"
- Confirm that the graph displays correctly 6.
# Multi-Graph Reports with selected components (LOTS MORE HERE)
- Add a collection with all of gate2's interfaces and gate the router
- Add a graph definition with ifInOctets
- Add a graph group with these in separate and single graph mode
- Confirm that the reports render correctly 5.
Change History
Note: See
TracTickets for help on using
tickets.