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 empty
# - 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=//table[@id='footerMenuToolBar']//select
BasePage.Button.Login.XPath=//input[@value=''{0}'']
BasePage.Button.Logout.XPath=//input[@value=''{0}'']
BasePage.Button.Password.XPath=//input[@value=''{0}'']
BasePage.TextBox.Login.XPath=//tr[td/label[contains(text(),''{0}'')]]/td/input
BasePage.TextBox.Password.XPath=//tr[td/label[contains(text(),''{0}'')]]/td/input
#-------------------------------------------------------------------------------------------------
# Main Page
#------------------------------------------------------------------------------------------------
MainPage.Button.ValidateSession.XPath=//input[@value=''{0}'']
MainPage.Link.AccountPreference.XPath=//a[text()=''{0}'']
MainPage.Link.Page.XPath=//td[contains(@class,'rich-table-footercell')]//a[text()='{option1}']
MainPage.Menu.AccountPreference.XPath=//td[text()=''{0}'']
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/span[contains(text(),'{option1}')]]/td/img
MainPage.Span.Message.XPath=//span[contains(text(),''{0}'') or contains(text(), ''{1}'')]
MainPage.Span.LoginSuccessfulMessage.XPath=//span[contains(text(),''{0}'{option1'}'')]
#-------------------------------------------------------------------------------------------------
# User Preferences
#------------------------------------------------------------------------------------------------
UserPreferences.Button.ChangePassword.XPath=//input[@value=''{0}'']
UserPreferences.TextBox.CurrentPassword.XPath=//tr[td/label/span[contains(text(), ''{0}'')]]//input[not(@type=''hidden'')]
UserPreferences.TextBox.Password.XPath=//tr[td/label/span[contains(text(), ''{0}'')][not(contains(text(), ''confirmation''))]]//input[not(@type=''hidden'')]
UserPreferences.TextBox.PasswordConfirmation.XPath=//tr[td/label/span[contains(text(), ''{0}'')]]//input[not(@type=''hidden'')]
UserPreferences.Button.Update.XPath=//input[@value=''{0}'']
UserPreferences.Span.ConfirmationMessage.XPath=//span[text()=''{0}'']
UserPreferences.TextBox.FirstName.XPath=//tr[td/label/span[text()=''{0}'']]//input
UserPreferences.TextBox.LastName.XPath=//tr[td/label/span[text()=''{0}'']]//input
UserPreferences.Img.AddSpokenLanguage.XPath=//tr[td[text()=''{0}'']]/td/img
UserPreferences.List.AddSpokenLanguage.XPath=//tr[td[text()=''{0}'']]/td/select
UserPreferences.Option.AddSpokenLanguage.XPath=/option[@value=''{0}'']
UserPreferences.Button.AddSpokenLanguage.XPath=//tr[td[text()=''{0}'']]/td/input
UserPreferences.Button.EditPreferences.XPath=//input[@value=''{0}'']
UserPreferences.Span.FirstName.XPath=//tr[td/label/span[contains(text(),''{0}'')]]/td/span/span
UserPreferences.Span.LastName.XPath=//tr[td/label/span[contains(text(),''{0}'')]]/td/span/span
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/div/table/tbody/tr/td/span/form/table
ManageSession.Button.AddEvent.XPath=//input[@value='{text}']
#------------------------------------------------------------------------------------------------
#Create Session
#------------------------------------------------------------------------------------------------
CreateSession.CheckBox.XPath=//tbody/tr[td/label/span[contains(text(), ''{0}'')]]//input[@type=''checkbox'']
CreateSession.CheckBox.RequiredContract.XPath=//tbody/tr[td/label/span[contains(text(), ''{0}'')]]//input[@type=''checkbox'']
CreateSession.TextBox.XPath=//tbody/tr[td/label/span[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=//tbody/tr[td/label/span[contains(text(), ''{0}'')]]/td//div[contains(@class,''rich-picklist-source-items'')]\
/table/tbody/tr/td/div/div/table/tbody/tr[td[text()='''{option1'}'']]
CreateSession.Td.ListElementsAdded.XPath=//tbody/tr[td/label/span[contains(text(), ''{0}'')]]\
/td//div[contains(@class,''rich-picklist-target-items'')]\
/table/tbody/tr/td/div/div/table/tbody/tr/td
CreateSession.Tr.ListElementSubsection.XPath=//div[div[contains(text(),''{0}'')]]\
//tbody/tr[td/span[contains(text(), ''{1}'')]]/td//div[contains(@class,''rich-picklist-source-items'')]\
/table/tbody/tr/td/div/div/table/tbody/tr[td[text()='''{option1'}'']]
CreateSession.Td.ListElementsAddedSubsection.XPath=//div[div[contains(text(),''{0}'')]]\
//tbody/tr[td/span[contains(text(), ''{1}'')]]\
//div[contains(@class,''rich-picklist-target-items'')]\
/table/tbody/tr/td/div/div/table/tbody/tr/td
CreateSession.Button.ListTestTypes.XPath=//tr[td/label/span[contains(text(), ''{0}'')]]//a[div[text()=''{1}'']]
CreateSession.Button.ListIntegrationProfile.XPath=//div[div[contains(text(), ''{0}'')]]//a[div[text()=''{1}'']]
CreateSession.Button.Save.XPath=//input[@value=''{0}'']
CreateSession.DatePicker.XPath=//tbody/tr[td/label/span[contains(text(), ''{0}'')]]//img[contains(@class,''rich-calendar-button'')]
CreateSession.DatePicker.Today.XPath=//tbody/tr[td/label/span[contains(text(), ''{0}'')]]//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=//div[div[text()=''{0}'']]//a[contains(text(), ''{1}'')]
EditOrganization.TextBox.MailingAddress.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.MailingAddressLineTwo.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.MailingAddressCity.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.MailingAddressState.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.MailingAddressZipCode.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.Option.MailingAddressCountry.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//option[contains(text(),'''{option1'}'')]
EditOrganization.Button.MailingAddressSave.XPath=//div[div[text()=''{0}'']]//input[contains(@value,''{1}'')]
#EditOrganization.Span.MailingAddressConfirmationMessage.XPath=//div[div[text()=''{0}'']]//span[text()=''{1}'']
EditOrganization.Link.AddBillingAddress.XPath=//div[div[text()=''{0}'']]//a[contains(text(), ''{1}'')]
EditOrganization.TextBox.BillingAddress.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.BillingAddressLineTwo.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.BillingAddressCity.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.BillingAddressState.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.TextBox.BillingAddressZipCode.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
EditOrganization.Option.BillingAddressCountry.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//option[contains(text(),'''{option1}''')]
EditOrganization.Button.BillingAddressSave.XPath=//div[div[text()=''{0}'']]//input[contains(@value,''{1}'')]
EditOrganization.Span.BillingAddressConfirmationMessage.XPath=//div[div[text()=''{0}'']]//span[text()=''{1}'']
EditOrganization.Button.Save.XPath=//div[div[text()=''{0}'']]/div/div/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[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.LastName.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.EMail.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.Phone.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.Title.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.CellPhone.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.Fax.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.CheckBox.Technical.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.CheckBox.Marketing.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.CheckBox.Financial.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.CheckBox.PrimaryTechnical.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
ContactsManagement.TextBox.FirstNameResearch.XPath=//th[div/span/span[text()=''{0}'']]//input
ContactsManagement.TextBox.LastNameResearch.XPath=//th[div/span/span[text()=''{0}'']]//input
ContactsManagement.TextBox.EMailResearch.XPath=//th[div/span/span[text()=''{0}'']]//input
ContactsManagement.Span.TableText.XPath=//td[text()='{option1}']
ContactsManagement.Img.Edit.XPath=//img[@title=''{0}'']
ContactsManagement.Img.View.XPath=//img[@title=''{0}'']
ContactsManagement.Img.Delete.XPath=//img[@title=''{0}'']
ContactsManagement.Span.Info.XPath=//tr[td/label/span[text()=''{0}'']]/td[2]/span
ContactsManagement.List.ProfessionalFunctions.XPath=//tr[td/span[text()=''{0}'']]//li
ContactsManagement.Button.DeleteConfirmation.XPath=//input[@value=''{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[text()=''{0}'']]//input[@value=''{1}'']
SystemsManagement.Button.SaveSystem.XPath=//div[div[text()=''{0}'']]//input[@value=''{1}'']
SystemsManagement.Button.ConfirmationDelete.XPath=//tbody[tr/td/div/span[text()=''{0}'']]//input[@value=''{1}'']
SystemsManagement.TextBox.Name.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
SystemsManagement.TextBox.Keyword.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
SystemsManagement.TextBox.Version.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//input
SystemsManagement.Option.Type.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//option[text()='''{option1}''']
SystemsManagement.Option.Owner.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[text()=''{1}'']]//option[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) within a div with the right title {0}, 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=//div[div[text()=''{0}'']]//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[*[contains(text(),'''{option4}''')] or contains(text(), '''{option4}''')]]
SystemsManagement.Img.Edit.XPath=//div[div[text()=''{0}'']]//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[*[contains(text(),'''{option4}''')] or contains(text(), '''{option4}''')]]\
/td/table/tbody/tr/td/div/div/center/img[@src=''/gazelle/img/icons64/edit.gif'']
SystemsManagement.Img.Delete.XPath=//div[div[text()=''{0}'']]//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[*[contains(text(),'''{option4}''')] or contains(text(), '''{option4}''')]]\
/td/table/tbody/tr/td/div/div/center/img[@src=''/gazelle/img/icons64/deleteRedJR.gif'']
SystemsManagement.Img.View.XPath=//div[div[text()=''{0}'']]//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[*[contains(text(),'''{option4}''')] or contains(text(), '''{option4}''')]]\
/td/table/tbody/tr/td/div/div/center/img[@src=''/gazelle/img/icons64/kfind.gif'']
SystemsManagement.Td.DeadlineMessage.XPath=//td[i[contains(text(), ''{0}'')]\
and i[contains(text(), ''{1}'')]\
and i[contains(text(), ''{2}'')]\
and a[contains(text(), ''{3}'')]\
and i[contains(text(), ''{4}'')]]
#-------------------------------------------------------------------------------------------------
#Edit system
#------------------------------------------------------------------------------------------------
EditSystem.Button.XPath=//input[@value=''{0}'']
EditSystem.Button.ConfirmRemoveAllAipo.XPath=//tbody[tr/td/div[contains(''{0}'', text())]]//input[@value=''{1}'']
EditSystem.Button.AddIHEImplementation.XPath=//div[div[text()=''{0}'']]//input[@value=''{1}'']
EditSystem.Button.ValidateAddIHEImplementation.XPath=//div[table/tbody/tr/td/div[text()=''{0}'']]//tr\
[td[contains('''{option1}''', text())]]\
[td[contains('''{option3}''', text())]]\
//input[@value=''{1}'']
EditSystem.Button.Reset.XPath=//div[table/tbody/tr/td/div[text()=''{0}'']]//input[@value=''{1}'']
EditSystem.Button.AddMissingDependency.XPath=//div[div[text()=''{0}'']]//input[@value=''{1}'']
EditSystem.Button.RemoveAllAipo.XPath=//div[div[text()=''{0}'']]//input[@value=''{1}'']
EditSystem.Button.ConfirmDelete.XPath=//tbody[tr/td/div[contains(''{0}'', text())]]//input[@value=''{1}'']
EditSystem.Button.SaveSystemSummary.XPath=//input[@value=''{0}'']
EditSystem.Button.UpdateDemonstration.XPath=//div[div[contains(''{0}'', text())]]//input[@value=''{1}'']
EditSystem.TextBox.Domain.XPath=//div[table/tbody/tr/td/div[text()=''{0}'']]\
//tr[td/span[text()=''{1}'']]/td[2]//input[@type=''text'']
EditSystem.TextBox.IntegrationProfile.XPath=//div[table/tbody/tr/td/div[text()=''{0}'']]\
//tr[td/span[text()=''{1}'']]/td[2]//input[@type=''text'']
EditSystem.TextBox.Actor.XPath=//div[table/tbody/tr/td/div[text()=''{0}'']]\
//tr[td/span[text()=''{1}'']]/td[2]//input[@type=''text'']
EditSystem.TextBox.ProfileOption.XPath=//div[table/tbody/tr/td/div[text()=''{0}'']]\
//tr[td/span[text()=''{1}'']]/td[4]//input[@type=''text'']
EditSystem.TextBox.Version.XPath=//div[div[text()=''{0}'']]//tr[td/label/span[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=//span[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=//div[div[text()=''{0}'']]//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}''')]]
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[div[text()=''{0}'']]//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=//td[text()=''{0}'']
EditSystem.Td.TestPresence.XPath=//td[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=//div[div[text()=''{0}'']]//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=//div[div[text()=''{0}'']]//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[text()='''{option4}''']
#-------------------------------------------------------------------------------------------------
# Edit system summary
#------------------------------------------------------------------------------------------------
EditSystemSummary.Option.Owner.XPath=//tr[td/label/span[text()=''{0}'']]//option[text()='''{option1'}'']
EditSystemSummary.Span.SystemInfo.XPath=//tr[td/label/span[text()=''{0}'']]/td[2]/span
#-------------------------------------------------------------------------------------------------
# Find system
#------------------------------------------------------------------------------------------------
FindSystem.Link.ViewSystem.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}')]]\
/td/a[text()='{option2}']
FindSystem.Link.EditSystem.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}')]]\
/td//img[@src='/gazelle/img/icons64/edit.gif']
FindSystem.Link.ViewInstitution.XPath=//a[text()='{option1}']
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.TextBox.SearchOrganization.XPath=//div[div[text()=''{0}'']]\
//tr[td/span[text()=''{1}'']]//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=//tr[td/label/span[contains(text(), ''{0}'')]]//input[@type=''checkbox'']
ManageInvoices.TextBox.SearchCompany.XPath=//tr[td/span[text()=''{0}'']]//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}']]//img[@src='/gazelle/img/icons64/kfind.gif']
ManageInvoices.Img.Delete.XPath=//tr[td/a[text()='{option1}']]//img[@src='/gazelle/img/icons64/deleteRedJR.gif']
ManageInvoices.Img.Edit.XPath=//tr[td/a[text()='{option1}']]//img[@src='/gazelle/img/icons64/edit.gif']
UserManagement.Img.Edit.XPath=//tr[td[text()='{option1}']]//img[@src='/gazelle/img/icons22/edit.gif']
#-------------------------------------------------------------------------------------------------
# Pre connectathon testing
#------------------------------------------------------------------------------------------------
PreCatTesting.Link.ViewTestList.XPath=//tr\
[td[*[contains('{option1}', text())] or contains(text(), '{option1}')]]\
[td[*[contains(text(),'{option2}')] or contains(text(), '{option2}')]]\
/td[3]/a
PreCatTesting.Span.ViewTestListTitle.XPath=//*[text()=''{0} '{option1'}'']
PreCatTesting.TextBox.Organization.XPath=//tr[td/span[text()=''{0}'']]//input[@type=''text'']
#-------------------------------------------------------------------------------------------------
# Pre connectathon system
#------------------------------------------------------------------------------------------------
PreCatSystems.Button.EditLog.Xpath=//input[@value=''{0}'']
PreCatSystems.Link.LogFile.XPath=//tr\
[td[table/tbody/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[table/tbody/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=//tr[td[label/span[contains(text(), ''{0}'')]]]//option[text()='''{option1'}'']
PreCatLogReturn.Option.CurrentStatus.XPath=//tr[td[label/span[contains(text(), ''{0}'')]]]//option[@selected=''selected'']
PreCatLogReturn.Span.ConsoleMessage.XPath=//p[contains(text(), '{option1}')]
#-------------------------------------------------------------------------------------------------
# Pre cat results
#------------------------------------------------------------------------------------------------
PreCatResults.TextBox.Status.XPath=//tr[td/span[text()=''{0}'']]/td//input[@type=''text'']
PreCatResults.Td.Edit.XPath=//tr\
[td[*[contains(text(),'''{option1}''')] or contains(text(), '''{option1'}'')]]\
[td[*/*[contains(text(),'''{option2}''')] or contains(text(), '''{option2'}'')]]\
//td/a[text()=''{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=//tr[td/label/span[contains(text(),''{0}'')]]//input
CreateAccount.Option.XPath=//tr[td/label/span[contains(text(),''{0}'')]]//option[text()='''{option1}''']
CreateAccount.Button.Save.XPath=//input[@value=''{0}'']
#------------------------------------------------------------------------------------------------
# User Management
#------------------------------------------------------------------------------------------------
UserManagement.Button.XPath=//input[@value=''{0}'']
UserManagement.Button.ConfirmDelete.XPath=//tbody[tr/td/div[text()=''{0}'']]//input[@type=''button''][@value=''{1}'']
UserManagement.CheckBox.XPath=//tr[td[label/span[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}']]//img[@src='/gazelle/img/icons22/edit.gif']
UserManagement.Img.Delete.XPath=//tr[td[text()='{option1}']]//img[@src='/gazelle/img/icons22/disable_user.png']
UserManagement.Img.EditPreference.XPath=//tr[td[text()='{option1}']]//img[@src='/gazelle/img/icons22/preferences-desktop-user.png']
UserManagement.Option.Institution.XPath=//tr[td[label/span[text()=''{0}'']]]//option[text()='''{option1'}'']
UserManagement.Span.UpdateMessage.XPath=//span[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=//tr[td/span[text()=''{0}'']]/td[4]//input[@type=''text'']
UserManagement.TextBox.UserCreation.XPath=//tr[td[label/span[text()=''{0}'']]]//input[@type=''text'']
#------------------------------------------------------------------------------------------------
# Testing session administration
#------------------------------------------------------------------------------------------------
TestingSessionAdministration.Button.XPath=//input[@type=''submit''][@value=''{0}'']
TestingSessionAdministration.Button.Delete.XPath=//input[@type=''button''][@value=''{0}'']
TestingSessionAdministration.Img.ActivateSession.XPath=//tr\
[td[contains(text(),'{option1}')] or td[*[contains(text(),'{option1}')]]]\
//img[@src='/gazelle/img/icons64/status_grass.gif']
TestingSessionAdministration.Img.DeactivateSession.XPath=//tr\
[td[contains(text(),'{option1}')] or td[*[contains(text(),'{option1}')]]]\
//img[@src='/gazelle/img/icons64/status_red.gif']
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}')]]\
//img[@src='/gazelle/img/icons64/edit.gif']
TestingSessionAdministration.Img.Delete.XPath=//tr[td[contains(text(), '{option1}')]]\
[td[contains(text(), '{option2}')]]\
[td[contains(text(), '{option3}')]]\
[td[contains(text(), '{option4}')]]\
//img[@src='/gazelle/img/icons64/deleteRedJR.gif']
#------------------------------------------------------------------------------------------------
# Testing Sessions
#------------------------------------------------------------------------------------------------
TestingSessions.Button.ValidateSession.XPath=//input[@value=''{0}'']
TestingSessions.Img.SelectSession.XPath=//tr[td/span[contains(text(),'{option1}')]]/td/img
TestingSessions.Tr.SelectedSession.XPath=//tr[td/img[@src='/gazelle/img/run.gif']][td/span[contains(text(),'{option1}')]]
#------------------------------------------------------------------------------------------------
# Other User Management
#------------------------------------------------------------------------------------------------
OtherUserPreference.Button.XPath=//input[@type=''button''][@value=''{0}'']
OtherUserPreference.Span.ConfirmationUpdate.XPath=//span[text()='User({option1}) preferences are saved !']
OtherUserPreference.Span.Information.XPath=//tr[td/label/span[contains(text(), ''{0}'')]]/td[2]/span
OtherUserPreference.TextBox.XPath=//tr[td/label/span[contains(text(), ''{0}'')]]//input[@type=''text'']
#------------------------------------------------------------------------------------------------
# Organizations Management
#------------------------------------------------------------------------------------------------
OrganizationsManagement.Button.XPath=//input[@type=''button''][@value=''{0}'']
OrganizationsManagement.H2.Xpath=//h2[contains(text(), ''{0}'')]
OrganizationsManagement.Img.Delete.XPath=//tr[td/table/tbody/tr/td/div/div/a[text()='{option1}']]\
[td[contains(text(),'{option2}')]]\
[td[contains(text(),'{option3}')]]\
//img[@src='/gazelle/img/icons64/deleteRedJR.gif']
#OrganizationsManagement.Li.Message.XPath=//li[contains(text(), ''{0}'')]
OrganizationsManagement.Tr.Organization.XPath=//tr[td/table/tbody/tr/td/div/div/a[text()='{option1}']]\
[td[contains(text(),'{option2}')]]\
[td[contains(text(),'{option3}')]]
OrganizationsManagement.TextBox.XPath=//tr[td/label/span[contains(text(),''{0}'')]]//input[@type=''text'']
OrganizationsManagement.TextBox.State.XPath=//tr[td/label/span[contains(text(),''{0}'') and not(contains(text(),''{1}''))]]\
//input[@type=''text'']
OrganizationsManagement.TextBox.NameSearch.XPath=//table//tr[2]/th[1]//input[@type='text']
OrganizationsManagement.TextBox.KeywordSearch.XPath=//table//tr[2]/th[2]//input[@type='text']
OrganizationsManagement.TextBox.TypeSearch.XPath=//table//tr[2]/th[3]//input[@type='text']
OrganizationsManagement.Option.XPath=//tr[td/label/span[contains(text(),''{0}'')]]//option[text()='''{option1'}'']
#------------------------------------------------------------------------------------------------
# Organizations Management
#------------------------------------------------------------------------------------------------
SupportiveAIPOs.TextBox.SystemSearch.XPath=//tr[td/span[text()=''{0}'']]//td[4]//input[@type=''text'']
SupportiveAIPOs.Option.Reviewable.XPath=//tr[td/span[contains(text(), ''{0}'')]]//option[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/div/span[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')]]]\
/tbody/tr
SupportiveAIPOs.CheckBox.AipoTestingTypeReviewed.XPath=//table[thead/tr[th/div/span[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1'}]//input[@type=''checkbox'']
SupportiveAIPOs.Option.AipoTestingType.XPath=//table[thead/tr[th/div/span[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1'}]//option[text()='''{option2'}'']
SupportiveAIPOs.Option.AipoTestingTypeSelected.XPath=//table[thead/tr[th/div/span[contains(text(), ''{0}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{1}'')]]]\
[thead/tr[th/div/span[contains(text(), ''{2}'')]]]\
/tbody/tr['{option1'}]//option[@selected=''selected'']
#------------------------------------------------------------------------------------------------
# Systems Acceptation
#------------------------------------------------------------------------------------------------
SystemsAcceptation.CheckBox.Accepted.XPath=//table//tr[td/*[contains(text(),'{option1}')]]\
[td/*[contains(text(),'{option2}')]]\
[td/*[contains(text(),'{option3}')]]\
//input[@type='checkbox']