Skip to content

Instantly share code, notes, and snippets.

@llaskin
Last active December 10, 2015 15:19
Show Gist options
  • Save llaskin/4453659 to your computer and use it in GitHub Desktop.
Save llaskin/4453659 to your computer and use it in GitHub Desktop.
class Navigation
#if we are on any page, first test if we are on PA. PA has to return back to site home. Otherwise, click on the Site name to return back to main overview
def initialize
if($browser.title.include? "Analysis")
Sel_Utils::Sel_Utils.ClickObject("css", ".start img")
else
Sel_Utils::Sel_Utils.ClickObject("css", "#site-crub-dropdown input")
end
end
module Overview
###if overview tab is open do nothing, proceed to using a method inside the overview module
###if a different tab is open, click on Overview tab, then proceed to using a method inside the overview module
def analysis
end
def performance
end
end
module Manage
def bpool
end
end
module Setup
end
module Tools
end
include Overview
include Manage
include Setup
include Tools
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment