#------------------------------------------------------------------------------------------------- # Base Page #------------------------------------------------------------------------------------------------ BasePage.Select.Languages.XPath=//*[@id="locale"]/select BasePage.Button.Login.XPath=//input[contains(@name,"submit")] BasePage.Button.CasLogin.XPath=//*[@id="loginLink"] BasePage.Link.Logout.XPath=//ul[li/form/a[contains(text(),''{0}'')]]//li/form BasePage.TextBox.Login.XPath=//input[contains(@id,"username")] BasePage.TextBox.Password.XPath=//input[contains(@id,"password")] #------------------------------------------------------------------------------------------------- # Main Page #------------------------------------------------------------------------------------------------ MainPage.Button.ValidateSession.XPath=//input[@value=''{0}''] MainPage.Link.Page.XPath=//nav/ul/li//a[text()='{option1}'] MainPage.Menu.AccountPreference.XPath=//ul[li/a[contains(text(),''{0}'')]]//li[contains(@class,"dropdown")] MainPage.Link.AccountPreference.XPath=//ul[li/a[contains(text(),''{0}'')]]//li[contains(@class,"dropdown")]/ul/li/a[contains(text(),''{1}'')] MainPage.Link.SignIn.XPath=//a[text()=''{0}''] MainPage.Li.AccountBlockedMessage.XPath=//span[contains(text(), ''{0}'') or contains(text(), ''{1}'')] MainPage.Img.SelectSession.XPath=//tr[td[contains(text(),'{option1}')]]/td/a/span[contains(@class,"checked") or contains(@class,"circle-green")] MainPage.Span.Message.XPath=//span[contains(text(),'''{0}''') or contains('''{0}''',text())] MainPage.Span.LoginSuccessfulMessage.XPath=//span[contains(text(),''{0}'{option1}''')] #------------------------------------------------------------------------------------------------- # Sign In #------------------------------------------------------------------------------------------------ SignIn.Link.CreateAccount.XPath=//a[contains(text(), ''{0}'')] SignIn.Span.Confirmation.XPath=//span[contains(text(),''''{0}'''')] SignIn.Span.ErrorCreation.XPath=//span[contains(text(),'Sorry your account cannot be created due to server issue')] Menu.Links.Xpath=//li/a[contains(text(),'''{option1}''')]/following::ul[1]//li//a[contains(@href,''{0}'')] Page.Links.Xpath=//div[@id="gzl-container"]//a[contains(@href,''{0}'')][not(contains(@href,''mailto:''))][not(@onclick)][not(@target)][not(ancestor::ul[contains(@class,'pagination')])][not(ancestor::h4)] Page.Ajax.Links.Xpath=//div[@id="gzl-container"]//a[contains(@href,''{0}'')][not(contains(@href,''mailto:''))][@onclick] Menu.Dropdown.Xpath=//div[@id="navbar"]//ul//li//a[@role][not(contains(span, contains(@id, "userPicMin")))] SubMenu.Xpath=//li/a[contains(text(),'''{option1}''')]/following::ul[1]//li//a[contains(@href,''{0}'')]//preceding::li[@class=''dropdown-submenu'']/a[@href=''#''] SubMenus.Xpath=//li/a[contains(text(),'{option1}')]/following::ul[1]//li//a[contains(@href,'#')]