Autorefresh
-Verifies refresh link, particularly the autorefreshing options in the refresh link menu.
openAndWait / (open the main interface)
comment Wait for page to load up
waitForDispatchCompleted 30000
comment Click the refresh link directly.
comment Wait for page to reload
waitForDispatchCompleted 30000
comment verify that the homepage content refreshed .
comment Type search string and click submit
type entry source="*/opt/splunk/var/spool/splunk/apache.error.log"
click entrySubmit (Click submit button)
comment Wait for query to load
waitForDispatchCompleted 10000
comment Click the arrow next to 'refresh', to open the autorefresh menu
comment Verify that the UI is showing options for '30 seconds', '1 minute', and '5 minutes'
comment Click the '1 minute' option, to start auto refreshing every minute.
comment Verify that the UI is now showing an icon next to the refresh link to show that autorefresh is active
comment Verify that the refresh kicks off once after 1 minute
comment Verify that the refresh kicks off twice after 2 minutes
comment click the logo to return to the home page
click //a[@id='logo'] Home page
comment Wait for page to reload
waitForDispatchCompleted 30000
comment Verify that the autorefresh is still going, and that it now refreshes the homepage
click //a[@id='logo'] Home page
clickAndWait //a[.='Admin'] Go into 'Admin' section
comment Verify that the autorefresh is still going, and that it now refreshes pages in the admin section.