General.Div.Loading.XPath=//div[@class='loading-visible']
#------------------------------------------------------------------------------------------------
# To rename
#------------------------------------------------------------------------------------------------
# The xpath query that selects every relevant
# An is relevant if :
# - the href is not empty
# - the label text is not emptyUserManagement.Span.UpdateMessage.XPath
# - the link is not one sending email (mailto:)
xpath.find.links=//a[@href!=''][text()!=''][not(contains(@href, 'mailto:'))]|(//*[@onclick!=''][@value!='D�connexion'][@value!='Logout'])
xpath.find.close.img=//img[contains(@alt, 'Close')]
menuitems.count.xpath=//div/div/form/table[2]//img
Sessions.Img.Session.XPath=//tr[td/span[text()='{option1}']]//img[@src='/gazelle/img/run.gif' or @src='/gazelle/img/runOff.gif']
#-------------------------------------------------------------------------------------------------
# Base Page
#------------------------------------------------------------------------------------------------
BasePage.Select.Languages.XPath=//*[@id="locale"]/select
BasePage.Button.Login.XPath=//*[@id="loginPanel:login:submit"]
BasePage.Link.Logout.XPath=//ul[li/form/a[contains(text(),''{0}'')]]//li/form
BasePage.Button.Password.XPath=//input[@value=''{0}'']
BasePage.TextBox.Login.XPath=//*[@id="loginPanel:login:username:username"]
BasePage.TextBox.Password.XPath=//*[@id="loginPanel:login:passwordField:passwordNotHashed"]
#-------------------------------------------------------------------------------------------------
# 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}''')]
#-------------------------------------------------------------------------------------------------
# User Preferences
#------------------------------------------------------------------------------------------------
UserPreferences.Button.ChangePassword.XPath=//input[@value=''{0}'']
UserPreferences.TextBox.CurrentPassword.XPath=//div[label[contains(text(), ''{0}'')]]/div/input
UserPreferences.TextBox.Password.XPath=//div[label[contains(text(), ''{0}'')][not(contains(text(), ''confirmation''))]]/div/input[not(@type=''hidden'')]
UserPreferences.TextBox.PasswordConfirmation.XPath=//div[label[contains(text(), ''{0}'')]]/div/input[not(@type=''hidden'')]
UserPreferences.Button.Update.XPath=//input[@value=''{0}'']
UserPreferences.Span.ConfirmationMessage.XPath=//span[text()=''{0}'']
UserPreferences.TextBox.FirstName.XPath=//div[label[contains(text(),''{0}'')]]/div/input[@type=''text'']
UserPreferences.TextBox.LastName.XPath=//div[label[contains(text(),''{0}'')]]/div/input[@type=''text'']
UserPreferences.Img.AddSpokenLanguage.XPath=//div/div[label[contains(text(),''{0}'')]]/div/a
UserPreferences.List.AddSpokenLanguage.XPath=//div/div[label[contains(text(),''{0}'')]]/div/select
UserPreferences.Option.AddSpokenLanguage.XPath=/option[@value=''{0}'']
UserPreferences.Button.AddSpokenLanguage.XPath=//div/div[label[contains(text(),''{0}'')]]/div/input[@type=''submit'']
UserPreferences.Button.EditPreferences.XPath=//input[@value=''{0}'']
UserPreferences.Span.FirstName.XPath=//div[dt[contains(text(),''{0}'')]]/dd
UserPreferences.Span.LastName.XPath=//div[dt[contains(text(),''{0}'')]]/dd
UserPreferences.Button.SavePreferences.XPath=//input[@value=''{0}'']
UserPreferences.List.SpokenLanguages.XPath=//tr[td/label/span[contains(text(),''{0}'')]]/td/span/ul/li
#------------------------------------------------------------------------------------------------
#Manage Session
#------------------------------------------------------------------------------------------------
ManageSession.Table.TestSession.XPath=//div/form/table
ManageSession.Button.AddEvent.XPath=//input[@value='{text}']
#------------------------------------------------------------------------------------------------
#Create Session
#------------------------------------------------------------------------------------------------
CreateSession.CheckBox.XPath=//div/div[label[contains(text(), ''{0}'')]]//input[@type=''checkbox'']
CreateSession.CheckBox.RequiredContract.XPath=//div/div[label[contains(text(), ''{0}'')]]//input[@type=''checkbox'']
CreateSession.TextBox.XPath=//div/div[label[contains(text(), ''{0}'')]]//input[not(@type='hidden')]
CreateSession.List.IntegrationProfile.XPath=//div[div[contains(text(), ''{0}'')]]\
/div/div/div/div/table/tbody/tr/td/span/table/tbody/tr\
//div[contains(@class, ''rich-picklist-source-item'')]
CreateSession.Tr.ListElement.XPath=//div[p/strong[contains(text(), ''{0}'')]]\
//div/table/tbody/tr/td/div/div/div/div/div/div[contains(text(),'''{option1}''')]
CreateSession.Td.ListElementsAdded.XPath=//div[p/strong[contains(text(), ''{0}'')]]/div/table/tbody/tr/td[3]//div/div/div/div/div
CreateSession.Tr.ListElementSubsection.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[contains(text(),'''{option1}''')]
CreateSession.Td.ListElementsAddedSubsection.XPath=//div[div/h3[contains(text(),''{0}'')]]\
//div/table/tbody/tr/td[3]//div/div/div/div/div
CreateSession.Button.ListTestTypes.XPath=//div[p/strong[contains(text(), ''{0}'')]]//div/table/tbody/tr/td/table/tbody/tr/td/button[contains(text(),''{1}'') and not(contains(text(),''{2}''))]
CreateSession.Button.ListIntegrationProfile.XPath=//div[div/h3[contains(text(), ''{0}'')]]//div/div/div/table/tbody/tr/td/table/tbody/tr/td/button[contains(text(),''{1}'') and not(contains(text(),''{2}''))]
CreateSession.Button.Save.XPath=//input[@value=''{0}'']
CreateSession.DatePicker.XPath=//div[label[contains(text(),''{0}'')]]//div/span/input
CreateSession.DatePicker.Today.XPath=//div[label[contains(text(),''{0}'')]]//div/table/tbody/tr/td/table/tbody/tr/td/div[contains(text(),''Today'')]
#------------------------------------------------------------------------------------------------
# Edit organization
# {0} : div 'title' text ("Mailing address")
# {1} : text preceeding each element ("address", "zip code") or text() of a link or a button
# {option1} : option value, for select list
#------------------------------------------------------------------------------------------------
EditOrganization.Link.AddMailingAddress.XPath=//table/tbody/tr/td[a[contains(text(),''{1}'') and contains(@id, ''LinkForMailing'')]]
EditOrganization.TextBox.MailingAddress.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[text()=''{1}'']]//input
EditOrganization.TextBox.MailingAddressLineTwo.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressAddressKeyword2newAddressOfMailingAddress'']]//input
EditOrganization.TextBox.MailingAddressCity.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressCityKeywordnewAddressOfMailingAddress'']]//input
EditOrganization.TextBox.MailingAddressState.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressStateKeywordnewAddressOfMailingAddress'']]//input
EditOrganization.TextBox.MailingAddressZipCode.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressZipCodeKeywordnewAddressOfMailingAddress'']]//input
EditOrganization.Option.MailingAddressCountry.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[contains(text(),''{1}'')]]//option[contains(text(),'''{option1}''')]
EditOrganization.Button.MailingAddressSave.XPath=//div[h2[contains(text(),''{0}'')]]//input[contains(@value,''{1}'')]
#EditOrganization.Span.MailingAddressConfirmationMessage.XPath=//div[div[text()=''{0}'']]//span[text()=''{1}'']
EditOrganization.Link.AddBillingAddress.XPath=//table/tbody/tr/td[a[contains(text(),''{1}'') and contains(@id, ''LinkForBilling'')]]
EditOrganization.TextBox.BillingAddress.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[contains(text(),''{1}'')]]//input
EditOrganization.TextBox.BillingAddressLineTwo.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressAddressKeyword2newAddressOfBillingAddress'']]//input
EditOrganization.TextBox.BillingAddressCity.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressCityKeywordnewAddressOfBillingAddress'']]//input
EditOrganization.TextBox.BillingAddressState.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressStateKeywordnewAddressOfBillingAddress'']]//input
EditOrganization.TextBox.BillingAddressZipCode.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressZipCodeKeywordnewAddressOfBillingAddress'']]//input
EditOrganization.Option.BillingAddressCountry.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[contains(text(),''{1}'')]]//option[contains(text(),'''{option1}''')]
EditOrganization.Button.BillingAddressSave.XPath=//div[h2[contains(text(),''{0}'')]]//input[contains(@value,''{1}'')]
EditOrganization.Span.BillingAddressConfirmationMessage.XPath=//div[div[text()=''{0}'']]//span[text()=''{1}'']
EditOrganization.TextBox.Contact.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[div/label[contains(text(),''{1}'')]]//input
EditOrganization.Option.Vat.XPath=//div[div/h3[contains(text(),''{0}'')]]//option[contains(text(),'''{option1}''')]
EditOrganization.VatTextBox.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[label[contains(text(),''{1}'')]]//input
EditOrganization.Button.Save.XPath=//form/div/input[@value=''{1}'']
#-------------------------------------------------------------------------------------------------
#Contacts Management
# {0} : div's 'title' text ("Contact information")
# {1} : text preceeding each element ("address", "zip code") or text() of a link or a button
#------------------------------------------------------------------------------------------------
ContactsManagement.Button.AddContact.XPath=//input[@value=''{0}'']
ContactsManagement.TextBox.FirstName.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.LastName.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.EMail.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.Phone.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.Title.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.CellPhone.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.Fax.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.CheckBox.Technical.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.CheckBox.Marketing.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.CheckBox.Financial.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.CheckBox.PrimaryTechnical.XPath=//div[label[contains(text(),''{1}'')]]//input
ContactsManagement.TextBox.FirstNameResearch.XPath=//th[span[text()=''{0}'']]//input
ContactsManagement.TextBox.LastNameResearch.XPath=//th[span[text()=''{0}'']]//input
ContactsManagement.TextBox.EMailResearch.XPath=//th[span[text()=''{0}'']]//input
ContactsManagement.Span.TableText.XPath=//td[text()='{option1}']
ContactsManagement.Img.Edit.XPath=//div/a[@title=''{0}'']
ContactsManagement.Img.View.XPath=//div/a[@title=''{0}'']
ContactsManagement.Img.Delete.XPath=//div/a[@title=''{0}'']
ContactsManagement.Span.Info.XPath=//div/dl/div[dt[contains(text(),''{0}'')]]//dd
ContactsManagement.List.ProfessionalFunctions.XPath=//tr[td/span[text()=''{0}'']]//li
ContactsManagement.Button.DeleteConfirmation.XPath=//input[@value=''{0}'']
#Address
ContactsManagement.Link.AddMailingAddress.XPath=//table/tbody/tr/td[a[contains(text(),''{1}'') and contains(@id, ''LinkForMailing'')]]
ContactsManagement.TextBox.MailingAddress.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressAddressKeywordnewAddressOfMailingAddress'']]//input
ContactsManagement.TextBox.MailingAddressLineTwo.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressAddressKeyword2newAddressOfMailingAddress'']]//input
ContactsManagement.TextBox.MailingAddressCity.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressCityKeywordnewAddressOfMailingAddress'']]//input
ContactsManagement.TextBox.MailingAddressState.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressStateKeywordnewAddressOfMailingAddress'']]//input
ContactsManagement.TextBox.MailingAddressZipCode.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[@for=''addressZipCodeKeywordnewAddressOfMailingAddress'']]//input
ContactsManagement.Option.MailingAddressCountry.XPath=//div[h2[contains(text(),''{0}'')]]/div[div/label[contains(text(),''{1}'')]]//option[contains(text(),'''{option1'}'')]
ContactsManagement.Button.MailingAddressSave.XPath=//div[h2[contains(text(),''{0}'')]]//input[contains(@value,''{1}'')]
ContactsManagement.Link.MailingAddressSelect.XPath=//div[dl/div/dd[contains(text(),'''{option1}''')]]//div/a[text()=''{0}'']
ContactsManagement.Button.Save.XPath=//input[@value=''{0}'']
#-------------------------------------------------------------------------------------------------
#Systems management
# {0} : div's 'title' (eg "Registered systems search")
# {1} : text preceeding each element ("address", "zip code") or text() of a link or a button
#------------------------------------------------------------------------------------------------
SystemsManagement.Button.AddSystem.XPath=//div[div/h3[contains(text(),''{0}'')]]//input[@value=''{1}'']
SystemsManagement.Button.SaveSystem.XPath=//input[@value=''{1}'']
SystemsManagement.Button.ConfirmationDelete.XPath=//input[@value=''{1}'']
SystemsManagement.TextBox.Name.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[div/label[contains(text(),''{1}'')]]//input
SystemsManagement.TextBox.Keyword.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[div/label[contains(text(),''{1}'')]]//input
SystemsManagement.TextBox.Version.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[div/label[contains(text(),''{1}'')]]//input
SystemsManagement.Option.XPath=//div[div/h3[contains(text(),''{0}'')]]//div[div/label[contains(text(),''{1}'')]]//option[contains(text(),'''{option1}''')]
# The quadra quotes are here because this xpath is formated twice
SystemsManagement.Span.CreationConfirmation.XPath=//span[text()=''{0}'']
SystemsManagement.Span.CreationError.XPath=//span[text()=''{0}'' or text()=''{1}'']
# Will find the line (tr), whose columns respect the 4 constraints ({optionx})
# a constraint is respected if the column (td) contains any node (*) whose text is right, OR contains itself the right text
SystemsManagement.TableLine.System.XPath=//tr[td[contains(text(),'''{option1}''')]]\
[td[a[contains(text(),'''{option2}''')]]][td[contains(text(),'''{option3}''')]]\
[td[contains(text(),'''{option4}''')]]
SystemsManagement.Img.Edit.XPath=//tr\
[td[contains(text(),'''{option1}''')] or contains(text(), '''{option1}''')]\
[td[a[contains(text(),'''{option2}''')] or contains(text(), '''{option2}''')]]\
[td[contains(text(),'''{option3}''') or contains(text(), '''{option3}''')]]\
[td[contains(text(),'''{option4}''') or contains(text(), '''{option4}''')]]\
//td/div/a[@title=''{0}'']
SystemsManagement.Img.Delete.XPath=//tr\
[td[contains(text(),'''{option1}''')] or contains(text(), '''{option1}''')]\
[td[a[contains(text(),'''{option2}''')] or contains(text(), '''{option2}''')]]\
[td[contains(text(),'''{option3}''') or contains(text(), '''{option3}''')]]\
[td[contains(text(),'''{option4}''') or contains(text(), '''{option4}''')]]\
//td/div/a[@title=''{0}'']
SystemsManagement.Img.View.XPath=//tr\
[td[contains(text(),'''{option1}''')] or contains(text(), '''{option1}''')]\
[td[a[contains(text(),'''{option2}''')] or contains(text(), '''{option2}''')]]\
[td[contains(text(),'''{option3}''') or contains(text(), '''{option3}''')]]\
[td[contains(text(),'''{option4}''') or contains(text(), '''{option4}''')]]\
//td/div/a[@title=''{0}'']
SystemsManagement.Td.DeadlineMessage.XPath=//p[@class=''gzl-alert gzl-alert-orange'']\
[span[@class=''gzl-icon-history'']]\
[a[contains(@href,''mailto:'')]]
#-------------------------------------------------------------------------------------------------
#Edit system
#------------------------------------------------------------------------------------------------
EditSystem.Button.XPath=//input[@value=''{0}'']
EditSystem.Button.ConfirmRemoveAllAipo.XPath=//tbody[tr/td/div[contains(''{0}'', text())]]//input[@value=''{1}'']
EditSystem.Li.ProfilesActors.XPath=//div/ul/li[a[contains(text(),''{0}'')]]
EditSystem.Button.AddIHEImplementation.XPath=//div/div/div//input[@value=''{1}'']
EditSystem.Button.CloseIHEImplementation.XPath=//div[div/h4[contains(text(),''{0}'')]]//div/button[contains(text(),''Close'')]
EditSystem.Button.ValidateAddIHEImplementation.XPath=//div/table/tbody/tr\
[td[contains('''{option1}''',text())]]\
[td[contains('''{option3}''',text())]]\
//input[@value=''{0}'']
EditSystem.Button.Reset.XPath=//div[h3[contains(text(),''{0}'')]]//span
EditSystem.Button.AddMissingDependency.XPath=//div[div[text()=''{0}'']]//input[@value=''{1}'']
EditSystem.Button.RemoveAllAipo.XPath=//div//input[@value=''{1}'']
EditSystem.Button.ConfirmDelete.XPath=//div[div/h4[contains(text(),''{0}'')]]//input[@value=''{1}'']
EditSystem.Button.SaveSystemSummary.XPath=//div[div/h3[contains(text(),''{0}'')]]//input[@value=''{1}'']
EditSystem.Button.UpdateDemonstration.XPath=//*[@id=''editSystemDemoForm:save'']
EditSystem.Select.Domain.XPath=//div[label[contains(text(),''{0}'')]]//div/a[@class=''chosen-single'']
EditSystem.TextBox.Domain.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/input[@type=''text'']
EditSystem.Select.IntegrationProfile.XPath=//div[label[contains(text(),''{0}'')]]//div/a[@class=''chosen-single'']
EditSystem.TextBox.IntegrationProfile.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/input[@type=''text'']
EditSystem.Select.Actor.XPath=//div[label[contains(text(),''{0}'')]]//div/a[@class=''chosen-single'']
EditSystem.TextBox.Actor.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/input[@type=''text'']
EditSystem.Select.ProfileOption.XPath=//div[label[contains(text(),''{0}'')]]//div/a[@class=''chosen-single'']
EditSystem.TextBox.ProfileOption.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/input[@type=''text'']
EditSystem.TextBox.Version.XPath=//div[div/h3[contains(text(),''{0}'')]]//div/div/div[label[contains(text(),''{1}'')]]//input
EditSystem.TextBox.PresenceTest.XPath=//tr[td/span[text()='{option1}']]/td[2]//input[@type='text']
EditSystem.Span.ConfirmationMessage.XPath=//span[text()=''{0}'']
EditSystem.Span.TestPresence.XPath=//strong[contains(text(),"{option1}")]
EditSystem.Tr.Aipo.XPath=//table[thead/tr[th/div[contains(text(),''{0}'')]]\
[th/div[contains(text(),''{1}'')]]\
[th/div[contains(text(),''{2}'')]]]/tbody/tr
EditSystem.TableLine.Aipo.XPath=//table/tbody/tr\
[td[*[contains(text(), '''{option1}''')]]]\
[td[*[contains(text(), '''{option2}''')]]]\
[td[*[contains(text(), '''{option3}''')]]]
EditSystem.Img.AddDependency.XPath=//img[@src='/gazelle/img/icons64/addJR.gif']
EditSystem.Img.MissingDependency.XPath=//img[@src='/gazelle/img/icons64/warning.gif']
EditSystem.Link.RemoveAipo.XPath=//div//tr\
[td[*[contains(text(),'''{option1}''')] or contains(text(), '''{option1}''')]]\
[td[*[contains(text(),'''{option2}''')] or contains(text(), '''{option2}''')]]\
[td[*[contains(text(),'''{option3}''')] or contains(text(), '''{option3}''')]]\
/td/a[text()=''{1}'']
EditSystem.Td.Tab.XPath=//li[a[contains(text(),''{0}'')]]
EditSystem.Td.TestPresence.XPath=//li[a[text()='{option1}']]
EditSystem.CheckBox.Demonstration.XPath=//div[div[contains(''{0}'', text())]]//tr[td/span[text()='''{option1}''']]//input
EditSystem.CheckBox.AllDemonstrations.XPath=//div[div[contains(''{0}'', text())]]//input[@type=''checkbox'']
EditSystem.Option.GetRequestedTestingType.XPath=//tr\
[td[*[contains(text(),'''{option1}''')] or contains(text(), '''{option1}''')]]\
[td[*[contains(text(),'''{option2}''')] or contains(text(), '''{option2}''')]]\
[td[*[contains(text(),'''{option3}''')] or contains(text(), '''{option3}''')]]\
//option[@selected=''selected'']
EditSystem.Option.RequestedTestingType.XPath=//tr\
[td[*[contains(text(),'''{option1}''')]]]\
[td[*[contains(text(),'''{option2}''')]]]\
[td[*[contains(text(),'''{option3}''')]]]\
//option[text()='''{option4}''']
EditSystem.Span.NoAipoImplemented.XPath=//div/span[contains(text(),''{0}'')]
#-------------------------------------------------------------------------------------------------
# Edit system summary
#------------------------------------------------------------------------------------------------
EditSystemSummary.Option.Owner.XPath=//div[label[text()=''{0}'']]//option[text()='''{option1}''']
EditSystemSummary.Span.SystemInfo.XPath=//tr[td/label/span[text()=''{0}'']]/td[2]/span
#-------------------------------------------------------------------------------------------------
# System summary
#------------------------------------------------------------------------------------------------
SystemSummary.Option.Owner.XPath=//tr[td/label/span[text()=''{0}'']]//option[text()='''{option1'}'']
SystemSummary.Span.SystemInfo.XPath=//p[strong[contains(text(),''{0}'')]]
#-------------------------------------------------------------------------------------------------
# Find system
#------------------------------------------------------------------------------------------------
FindSystem.Link.ViewSystem.XPath=//tr\
[td[contains('{option1}',text())]]\
[td/a[contains(text(),'{option2}')]]\
[td[contains(text(),'{option3}')]]\
//td/a[contains(text(),'{option2}')]
FindSystem.Link.EditSystem.XPath=//tr\
[td[contains('{option1}',text())]]\
[td/a[contains(text(),'{option2}')]]\
[td[contains(text(),'{option3}')]]\
//td/div/a/span[@class='gzl-icon-pencil']
FindSystem.Link.ViewInstitution.XPath=//td[contains(text(),'{option1}')]//a
FindSystem.Option.Table.XPath=//tr\
[td[*[contains('{option1}', text())] or contains(text(), '{option1}')]]\
[td[*[contains(text(),'{option2}')] or contains(text(), '{option2}')]]\
[td[*[contains(text(),'{option3}')] or contains(text(), '{option3}')]]\
//option[text()='{option4}']
FindSystem.Option.TableSelected.XPath=//tr\
[td[*[contains('{option1}', text())] or contains(text(), '{option1}')]]\
[td[*[contains(text(),'{option2}')] or contains(text(), '{option2}')]]\
[td[*[contains(text(),'{option3}')] or contains(text(), '{option3}')]]\
//option[@selected='selected']
FindSystem.Input.SearchOrganization.XPath=//div[div/h3[contains(text(),''{0}'')]]//div/div/div[label[contains(text(),''{1}'')]]//div/div
FindSystem.TextBox.SearchOrganization.XPath=//div[div/h3[contains(text(),''{0}'')]]//div/div/div[label[contains(text(),''{1}'')]]//div/div/div[@class=''chosen-search'']//input[@type=''text'']
FindSystem.Tr.AllSystems.XPath=//table[thead/tr[th/div/span[contains(text(), ''{0}'')] or th/div[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')] or th/div[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')] or th/div[contains(text(), ''{2}'')]]]\
/tbody/tr
FindSystem.Option.TableSystem.XPath=//table[thead/tr[th/div/span[contains(text(), ''{0}'')] or th/div[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')] or th/div[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')] or th/div[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1'}]//option[text()='''{option2'}'']
FindSystem.Option.TableSystemSelected.XPath=//table[thead/tr[th/div/span[contains(text(), ''{0}'')] or th/div[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')] or th/div[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')] or th/div[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1'}]//option[@selected=''selected'']
#-------------------------------------------------------------------------------------------------
# Manage invoices
#------------------------------------------------------------------------------------------------
ManageInvoices.Button.DeleteConfirmation.XPath=//input[@value=''{0}'']
ManageInvoices.Button.UpdateEdit.XPath=//input[@value=''{0}'']
ManageInvoices.CheckBox.Edit.XPath=//div[p/strong[contains(text(), ''{0}'')]]//input[@type=''checkbox'']
ManageInvoices.Select.SearchCompany.XPath=//div[label[contains(text(),''{0}'')]]//div/div
ManageInvoices.TextBox.SearchCompany.XPath=//div[label[contains(text(),''{0}'')]]//div/div/input[@type=''text'']
ManageInvoices.Link.ViewCompany.XPath=//a[text()='{option1}']
ManageInvoices.Li.ConfirmationMessage.XPath=//span[text()='{option1}']
ManageInvoices.Img.Detail.XPath=//tr[td/a[text()='{option1}']]//a/span[@class='gzl-icon-search']
ManageInvoices.Img.Delete.XPath=//tr[td/a[text()='{option1}']]//a/span[@class='gzl-icon-trash-o']
ManageInvoices.Img.Edit.XPath=//tr[td/a[text()='{option1}']]//a/span[@class='gzl-icon-pencil']
#-------------------------------------------------------------------------------------------------
# Pre connectathon testing
#------------------------------------------------------------------------------------------------
PreCatTesting.Link.ViewTestList.XPath=//tr\
[td[contains(text(), '{option1}')]]\
[td/a[contains(text(), '{option2}')]]\
/td[3]/a
PreCatTesting.Span.ViewTestListTitle.XPath=//h2[contains(text(),'''{option1}''')]
PreCatTesting.TextBox.Organization.XPath=//tr[td/span[text()=''{0}'']]//input[@type=''text'']
PreCatTesting.Title.Xpath=//h2[contains(text(), ''{0}'')]
#-------------------------------------------------------------------------------------------------
# Pre connectathon system
#------------------------------------------------------------------------------------------------
PreCatSystems.Button.EditLog.Xpath=//input[@value=''{0}'']
PreCatSystems.Link.LogFile.XPath=//tr\
[td/span[contains(text(), '''{option1}''')]]\
[td[*[contains(text(),'''{option2}''')] or contains(text(), '''{option2}''')]]\
[td[*[contains(text(),'''{option3}''')] or contains(text(), '''{option3}''')]]\
[td[*[contains(text(),'''{option4}''')] or contains(text(), '''{option4}''')]]\
//td/a[text()=''{0}'' or text()=''{1}'']
PreCatSystems.Span.Status.XPath=//tr\
[td/span[contains(text(), '{option1}')]]\
[td[*[contains(text(),'{option2}')] or contains(text(), '{option2}')]]\
[td[*[contains(text(),'{option3}')] or contains(text(), '{option3}')]]\
[td[*[contains(text(),'{option4}')] or contains(text(), '{option4}')]]\
//td[6]/span
#-------------------------------------------------------------------------------------------------
# Pre connectathon LogReturnMesaTest
#------------------------------------------------------------------------------------------------
PreCatLogReturn.Button.UploadFile.XPath=//div[div[text()=''{0}'']]/input[@type=''file'']
PreCatLogReturn.Button.Back.XPath=//input[@value=''{0}'']
PreCatLogReturn.Option.Status.XPath=//div[div/label[contains(text(),''{0}'')]]//option[text()='''{option1'}'']
PreCatLogReturn.Option.CurrentStatus.XPath=//div[div/label[contains(text(),''{0}'')]]//option[@selected=''selected'']
PreCatLogReturn.Span.ConsoleMessage.XPath=//p[contains(text(), '{option1}')]
#-------------------------------------------------------------------------------------------------
# Pre cat results
#------------------------------------------------------------------------------------------------
PreCatResults.Input.Status.XPath=//div/div/div[label[contains(text(),''{0}'')]]//div/div
PreCatResults.TextBox.Status.XPath=//div/div/div[label[contains(text(),''{0}'')]]//div/div/div[@class=''chosen-search'']//input
PreCatResults.Td.Edit.XPath=//tr\
[td[*[contains(text(),'''{option1}''')] or contains(text(), '''{option1'}'')]]\
[td[*/*[contains(text(),'''{option2}''')] or contains(text(), '''{option2'}'')]]\
//td/a[@title=''{0}'']
PreCatResults.Option.GetStatus.XPath=//tr\
[td[*[contains(text(),'{option1}')] or contains(text(), '{option1}')]]\
[td[*/*[contains(text(),'{option2}')] or contains(text(), '{option2}')]]\
//td//option[@selected='selected']
#-------------------------------------------------------------------------------------------------
# Show Institution
#------------------------------------------------------------------------------------------------
ShowInstitution.Button.Edit.XPath=//input[@value=''{0}'']
#-------------------------------------------------------------------------------------------------
# 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')]
#-------------------------------------------------------------------------------------------------
# Create Account
#------------------------------------------------------------------------------------------------
CreateAccount.TextBox.XPath=//div[label[contains(text(),"{0}")]]//input
CreateAccount.Option.XPath=//div[label[contains(text(),"{0}")]]//select/option[contains(text(),'''{option1}''')]
CreateAccount.Button.Save.XPath=//input[@value=''{0}'']
CreateAccount.Input.InstitutionName.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/input[@type=''text'']
CreateAccount.A.InstitutionName.XPath=//div[label[contains(text(),''{0}'')]]//div/a
CreateAccount.TextBox.InstitutionName.XPath=//div[label[contains(text(),"{0}")]]//input[contains(@id, ''institutionName'')]
#------------------------------------------------------------------------------------------------
# User Management
#------------------------------------------------------------------------------------------------
UserManagement.Button.XPath=//input[@value=''{0}'']
UserManagement.Button.ConfirmDelete.XPath=//div[div/h4[text()=''{0}'']]//input[@type=''submit''][@value=''{1}'']
UserManagement.CheckBox.XPath=//div[label[contains(text(),''{0}'')]]//input[@type=''checkbox'']
UserManagement.CheckBox.Role.XPath=//tr[td[span[text()=''{0}'']]]//input[@type=''checkbox'']
UserManagement.CheckBox.AllRoles.XPath=//div[div/span[text()=''{0}'']]//input[@type=''checkbox'']
UserManagement.Img.Edit.XPath=//tr[td[text()='{option1}']]//td[10]/div/a/span[@class="gzl-icon-pencil"]
UserManagement.Img.Delete.XPath=//tr[td[text()='{option1}']]//td[10]/div/a/span[@class="gzl-icon-user-times"]
UserManagement.Img.EditPreference.XPath=//tr[td[text()='{option1}']]//td[10]/div/a/span[@class="gzl-icon-preferences"]
UserManagement.Select.Institution.XPath=//div[div[label[contains(text(),''{0}'')]]]//div/div/a
UserManagement.Option.Institution.XPath=//div[div[label[contains(text(),''{0}'')]]]//div/div/div/ul/li[contains(text(),'''{option1}''')]
UserManagement.Span.UpdateMessage.XPath=//span[contains(text(),''''{0}'''')]
UserManagement.Td.Blocked.XPath=//tr[td[text()='{option1}']]/td[5]
UserManagement.Td.Activated.XPath=//tr[td[text()='{option1}']]/td[4]
UserManagement.Td.FullName.XPath=//tr[td[text()='{option1}']]/td[3]//a
UserManagement.Td.Roles.XPath=//tr[td[text()='{option1}']]/td[9]
UserManagement.TextBox.SearchUsername.XPath=//div/div[label[contains(text(),''{0}'')]]//div/div/div/div/input[@type=''text'']
UserManagement.Select.SearchUsername.XPath=//div/div[label[contains(text(),''{0}'')]]//div/a[span[not(contains(@class,''gzl-icon-times''))]]
UserManagement.Li.SearchUsername.XPath=//div[label[contains(text(),''{0}'')]]/div/span/div/div/div/ul/li[contains(text(), '''{option1}''')]
UserManagement.TextBox.UserCreation.XPath=//div[label[contains(text(),''{0}'')]]//input[@type=''text'']
UserManagement.Input.InstitutionName.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/div/input[@type=''text'']
UserManagement.A.InstitutionName.XPath=//div[label[contains(text(),''{0}'')]]//a
UserManagement.Textbox.Username.XPath=//div[label[contains(text(),''{0}'')]]//div/div/div/div/input[@type=''text'']
UserManagement.A.Username.XPath=//div[label[contains(text(),''{0}'')]]//a
#------------------------------------------------------------------------------------------------
# Testing session administration
#------------------------------------------------------------------------------------------------
TestingSessionAdministration.Button.XPath=//input[@type=''submit''][@value=''{0}'']
TestingSessionAdministration.Button.Delete.XPath=//input[@type=''submit''][@value=''{0}'']
TestingSessionAdministration.Img.ActivateSession.XPath=//tr\
[td[contains(text(),'{option1}')] or td[*[contains(text(),'{option1}')]]]\
//td[10]/a/span[@class='gzl-icon-circle-red']
TestingSessionAdministration.Img.DeactivateSession.XPath=//tr\
[td[contains(text(),'{option1}')] or td[*[contains(text(),'{option1}')]]]\
//td[10]/a/span[@class='gzl-icon-circle-green']
TestingSessionAdministration.Td.SessionState.XPath=//tr\
[td[contains(text(),'''{option1'}'')]]\
/td[10]//span[contains(text(), ''{0}'')]
TestingSessionAdministration.Tr.Session.XPath=//tr[td[contains(text(), '{option1}')]]\
[td[contains(text(), '{option2}')]]\
[td[contains(text(), '{option3}')]]\
[td[contains(text(), '{option4}')]]
#TestingSessionAdministration.Li.Message.XPath=//li[contains(text(),''{0}'')]
TestingSessionAdministration.Img.Edit.XPath=//tr[td[contains(text(), '{option1}')]]\
[td[contains(text(), '{option2}')]]\
[td[contains(text(), '{option3}')]]\
[td[contains(text(), '{option4}')]]\
//a/span[@class='gzl-icon-pencil']
TestingSessionAdministration.Img.Delete.XPath=//tr[td[contains(text(), '{option1}')]]\
[td[contains(text(), '{option2}')]]\
[td[contains(text(), '{option3}')]]\
[td[contains(text(), '{option4}')]]\
//a/span[@class='gzl-icon-trash-o']
#------------------------------------------------------------------------------------------------
# Testing Sessions
#------------------------------------------------------------------------------------------------
TestingSessions.Button.ValidateSession.XPath=//*[@id='testingSessionMPForm:continueButtonConfirm']
TestingSessions.Img.SelectSession.XPath=//tr[td[contains(text(),'{option1}')]]/td/a/span[contains(@class,"checked") or contains(@class,"circle-green")]
TestingSessions.H1.SelectedSession.XPath=//div/a[contains(text(),'{option1}')]
#------------------------------------------------------------------------------------------------
# Other User Management
#------------------------------------------------------------------------------------------------
OtherUserPreference.Button.XPath=//input[@type=''submit''][@value=''{0}'']
OtherUserPreference.Span.ConfirmationUpdate.XPath=//span[contains(text(),'{option1}')]
OtherUserPreference.Span.Information.XPath=//div[dt[contains(text(), ''{0}'')]]/dd
OtherUserPreference.TextBox.XPath=//div[label[contains(text(), ''{0}'')]]//input[@type=''text'']
#------------------------------------------------------------------------------------------------
# Organizations Management
#------------------------------------------------------------------------------------------------
OrganizationsManagement.Button.XPath=//input[@type=''submit''][@value=''{0}'']
OrganizationsManagement.H2.Xpath=//h2[contains(text(), ''{0}'')]
OrganizationsManagement.Img.Delete.XPath=//tr[td/a[text()='{option1}']]\
[td[contains(text(),'{option2}')]]\
[td[contains(text(),'{option3}')]]\
//td[8]/div/a[3]
#OrganizationsManagement.Li.Message.XPath=//li[contains(text(), ''{0}'')]
OrganizationsManagement.Tr.Organization.XPath=//tr[//tbody/tr/td/a[text()='{option1}']]\
[td[contains(text(),'{option2}')]]\
[td[contains(text(),'{option3}')]]
OrganizationsManagement.TextBox.XPath=//div[div/label[contains(text(),''{0}'')]]//input[@type=''text'']
OrganizationsManagement.TextBox.AddressLineTwo.XPath=//div[div/label[@for="addressAddressKeyword2MailingAddress"]]//input[@type=''text'']
OrganizationsManagement.TextBox.State.XPath=//div[div/label[contains(text(),''{0}'') and not(contains(text(),''{1}''))]]\
//input[@type=''text'']
OrganizationsManagement.TextBox.NameSearch.XPath=//thead//tr[1]//th[2]//input[@type='text']
OrganizationsManagement.TextBox.KeywordSearch.XPath=//thead//tr[1]//th[3]//input[@type='text']
OrganizationsManagement.TextBox.TypeSearch.XPath=//thead//tr[1]//th[4]//input[@type='text']
OrganizationsManagement.Option.XPath=//div[div/label[contains(text(),''{0}'')]]//option[text()='''{option1}''']
#------------------------------------------------------------------------------------------------
# Organizations Management
#------------------------------------------------------------------------------------------------
SupportiveAIPOs.Select.SystemSearch.XPath=//div[label[contains(text(),''{0}'')]]//a[@class=''chosen-single'']
SupportiveAIPOs.TextBox.SystemSearch.XPath=//div[label[contains(text(),''{0}'')]]//input[@type=''text'']
SupportiveAIPOs.Select.Reviewable.XPath=//div[label[contains(text(),''{0}'')]]//div/a[@class=''chosen-single'']
SupportiveAIPOs.Option.Reviewable.XPath=//div[label[contains(text(),''{0}'')]]//div/ul/li[contains(text(),'''{option1}''')]
SupportiveAIPOs.CheckBox.TestingTypeReviewed.XPath=//table/tbody/tr[td[a[contains(text(), '{option1}')]] or td[contains(text(), '{option1}')]]\
[td[a[contains(text(), '{option2}')]] or td[contains(text(), '{option2}')]]\
[td[a[contains(text(), '{option3}')]] or td[contains(text(), '{option3}')]]\
[td[a[contains(text(), '{option4}')]] or td[contains(text(), '{option4}')]]\
//input[@type='checkbox']
SupportiveAIPOs.Option.TestingType.XPath=//table/tbody/tr[td[a[contains(text(), '{option1}')]] or td[contains(text(), '{option1}')]]\
[td[a[contains(text(), '{option2}')]] or td[contains(text(), '{option2}')]]\
[td[a[contains(text(), '{option3}')]] or td[contains(text(), '{option3}')]]\
[td[a[contains(text(), '{option4}')]] or td[contains(text(), '{option4}')]]\
//option[text()='{option5}']
SupportiveAIPOs.Option.TestingTypeSelected.XPath=//table/tbody/tr[td[a[contains(text(), '{option1}')]] or td[contains(text(), '{option1}')]]\
[td[a[contains(text(), '{option2}')]] or td[contains(text(), '{option2}')]]\
[td[a[contains(text(), '{option3}')]] or td[contains(text(), '{option3}')]]\
[td[a[contains(text(), '{option4}')]] or td[contains(text(), '{option4}')]]\
//option[@selected='selected']
SupportiveAIPOs.Tr.Aipos.XPath=//table[thead/tr[th[contains(text(), ''{0}'')]]]\
[thead/tr[th[contains(text(), ''{1}'')]]]\
[thead/tr[th[contains(text(), ''{2}'')]]]\
/tbody//tr[@id]
SupportiveAIPOs.CheckBox.AipoTestingTypeReviewed.XPath=//table[thead/tr[th[contains(text(), ''{0}'')]]]\
[thead/tr[th[contains(text(), ''{1}'')]]]\
[thead/tr[th[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1}']//input[@type=''checkbox'']
SupportiveAIPOs.Option.AipoTestingType.XPath=//table[thead/tr[th[contains(text(), ''{0}'')]]]\
[thead/tr[th[contains(text(), ''{1}'')]]]\
[thead/tr[th[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1}']//option[text()='''{option2}''']
SupportiveAIPOs.Option.AipoTestingTypeSelected.XPath=//table[thead/tr[th[contains(text(), ''{0}'')]]]\
[thead/tr[th[contains(text(), ''{1}'')]]]\
[thead/tr[th[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1}']//option[@selected=''selected'']
#------------------------------------------------------------------------------------------------
# Systems Acceptation
#------------------------------------------------------------------------------------------------
SystemsAcceptation.CheckBox.Accepted.XPath=//tr\
[td/*[contains(text(),'{option1}')]]\
[td/*[contains('{option2}', text())]]\
[td/*[contains(text(),'{option3}')]]\
//input[@type='checkbox']
#------------------------------------------------------------------------------------------------
#Manage Demonstration
#------------------------------------------------------------------------------------------------
ManageDemonstration.Table.Demonstration.XPath=//div/form/table
ManageDemonstration.Button.XPath=//input[@value=''{0}'']
ManageDemonstration.TextBox.XPath=//div[div/label[contains(text(),''{0}'')]]//input[@type=''text'']
ManageDemonstration.CheckBox.XPath=//div[label[contains(text(),''{0}'')]]//input[@type=''checkbox'']
ManageDemonstration.Option.XPath=//div[div/label[contains(text(),''{0}'')]]//option[text()='''{option1}''']
ManageDemonstration.Tr.ListElement.XPath=//div/div/table/tbody/tr/td/div/div/div/div/div/div[contains(text(),'''{option1}''')]
ManageDemonstration.Button.AddList.XPath=//div/div/table/tbody/tr/td/table/tbody/tr/td/button[contains(text(),''{0}'') and not(contains(text(),''{1}''))]
ManageDemonstration.Button.AddAllList.XPath=//div/div/table/tbody/tr/td/table/tbody/tr/td/button[contains(text(),''{0} {1}'')]
ManageDemonstration.SortUpButton.XPath=//tr/th[contains(text(),'{option1}')]//a/span[@class='gzl-icon-caret-up']
ManageDemonstration.SortDownButton.XPath=//tr/th[contains(text(),'{option1}')]//a/span[@class='gzl-icon-caret-down']
ManageDemonstration.Sort.XPath=//tr/th[contains(text(),'''{option1}''')]//a/span[@class=''gzl-icon-sort'']