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.Button.Login.XPath=//a[@type="submit"] BasePage.Link.HomePage.XPath=//a[@class = "navbar-brand"] BasePage.Link.SignIn.XPath=//*[@id="menuForm:loginCASLink"] BasePage.Link.SignInWithoutCas.XPath=//*[@id="menuForm:loginIPLink"] BasePage.Menu.AccountPreference.XPath=//*[@id="menuForm:menuWelcomeId"]//parent::a BasePage.Link.Logout.XPath=//*[@id="menuForm:menuLogoutId"] BasePage.Select.Languages.XPath=//form[@id="locale"]/select #Menu pki BasePage.Link.PKI.XPath=//*[@id="navbar"]//a[contains(text(),"PKI")] BasePage.Link.ListCertifRequests.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.ListCertifate.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.RequestCertificate.XPath=//*[@id="navbar"]//a[text() = ''{0}''] #Menu TLS/SSL BasePage.Link.TLS/SSL.XPath=//*[@id="navbar"]//a[contains(text(),''{0}'')] BasePage.Link.Simulators.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.Clients.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.Servers.XPath=//*[@id="navbar"]//a[text() = ''{0}''] #Menu Admin BasePage.Link.Administration.XPath=//*[@id="navbar"]//a[contains(text(), ''{0}'')] BasePage.Link.CreateCertifAuth.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.Preferences.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.ImportPem.XPath=//*[@id="navbar"]//a[text() = ''{0}''] BasePage.Link.ImportP12.XPath=//*[@id="navbar"]//a[text() = ''{0}''] #------------------------------------------------------------------------------------------------ # SignIn Page #------------------------------------------------------------------------------------------------ #SignInPage.TextBox.Login.XPath=//input[@type="text"][@name="username"] SignInPage.TextBox.Login.XPath=//*[@id="username"] SignInPage.TextBox.Password.XPath=//input[@type="password"][@name="password"] SignInPage.Button.Submit.XPath=//input[@type="submit"] SignInPage.Button.Clear.XPath=//input[@type="reset"] #------------------------------------------------------------------------------------------------ # Create a Certificate Authority Page #------------------------------------------------------------------------------------------------ CreateCertifAuthPage.List.Country.XPath=//select CreateCertifAuthPage.TextBox.Organization.XPath=//input[contains(@id, "organizationInput")] CreateCertifAuthPage.TextBox.CommonName.XPath=//input[contains(@id, "commonNameInput")] CreateCertifAuthPage.TextBox.Title.XPath=//input[contains(@id, "titleInput")] CreateCertifAuthPage.TextBox.GivenName.XPath=//input[contains(@id, "givennameInput")] CreateCertifAuthPage.TextBox.Surname.XPath=//input[contains(@id, "surnameInput")] CreateCertifAuthPage.TextBox.Unit.XPath=//input[contains(@id, "orgUnitInput")] CreateCertifAuthPage.TextBox.Email.XPath=//input[contains(@id, "emailInput")] CreateCertifAuthPage.Button.Submit.XPath=//input[@type="submit"] #------------------------------------------------------------------------------------------------ # Both list certificate Page (List certificate requests AND List certificate Page) #------------------------------------------------------------------------------------------------ ListPages.TextBox.Subject.XPath=//th[contains(text(), ''{0}'')]/input ListPages.TextBox.CA.XPath=//th[contains(text(), ''{0}'')]/input ListPages.TextBox.Requester.XPath=//th[contains(text(), ''{0}'')]/input ListPages.Text.AllID.XPath=//*[@id="globalForm:requestTable:tb"]/tr/td[position()=1] ListPages.Button.Sort.XPath=//th[position()=%s]/a #------------------------------------------------------------------------------------------------ # List certificate requests Page #------------------------------------------------------------------------------------------------ ListCertificateRequestsPage.Button.Sign.XPath=//td[contains(text(), "%s")]//following-sibling::*//a[@title=''{0}''] ListCertificateRequestsPage.Button.Delete.XPath=//td[contains(text(), "%s")]//following-sibling::*//a[@title=''{0}''] ListCertificateRequestsPage.Button.DeletePopUp.XPath=//input[contains(@id, "deleteForm")] ListCertificateRequestsPage.Text.ID.XPath=//td[contains(text(), "%s")]/ancestor::tr/td[position()=1] ListCertificateRequestsPage.Search.Table.XPath=//*[@id="globalForm:requestTable:tb"]/tr/td[position()=%s] ListCertificateRequestsPage.List.RequesterList.XPath=//*[@id="globalForm:pfc:requesterSelect"]/div ListCertificateRequestsPage.TextBox.RequesterList.XPath=//*[@id="globalForm_pfc_requesterIn_chosen"]//input ListCertificateRequestsPage.Button.ClearRequesterList.XPath=//*[@id="globalForm:pfc:requesterSelect"]/a ListCertificateRequestsPage.List.TypeList.XPath=//label[contains(text(), "Type")]/parent::div//a[@class="chosen-single"] ListCertificateRequestsPage.TextBox.TypeList.XPath=//label[contains(text(), "Type")]/parent::div//div[@class="chosen-search"]/input ListCertificateRequestsPage.Button.ClearTypeList.XPath=//*[@id="globalForm:pfc:typeSelect"]//a[contains(@href, "#")] ListCertificateRequestsPage.Button.ResetFilter.XPath=//span[@class="pull-right"]/a ListCertificateRequestsPage.CheckBox.Unsigned.XPath=//input[@type="checkbox"] ListCertificateRequestsPage.Link.Type.XPath=//*[@id="globalForm:pfc:typeSelect"]/div ListCertificateRequestsPage.List.Type.XPath=//*[@id="globalForm_pfc_requesterIn_chosen"]//input ListCertificateRequestsPage.Search.SignedColumn.XPath=//*[@id="globalForm:requestTable:tb"]/tr/td[position()=7]/span #------------------------------------------------------------------------------------------------ # List certificate Page #------------------------------------------------------------------------------------------------ ListCertificatePage.Button.Delete.XPath=//*[text() = "%s"]//parent::td//following-sibling::td//a[@title=''{0}''] ListCertificatePage.Button.DeletePopUp.XPath=//input[@type = "submit"] ListCertificatePage.Text.ID.XPath=//a[contains(text(), "%s")]/ancestor::tr/td[position()=1] ListCertificatePage.Link.ViewCertificate.XPath=//td[position() = 2]//a[text() = "%s"]/ancestor::tr//a[@title=''{0}''] ListCertificatePage.Search.Table.XPath=//tbody[contains(@id, "certificateTable")]/tr/td[position()=%s] ListCertificatePage.Link.Download.XPath=//td[position() = 2]/a[text() = "%s"]//parent::td//following-sibling::td/div/div/a ListCertificatePage.Link.DownloadPEM.XPath=//td[position()=2]//a[text() = "%s"]//parent::td//following-sibling::td//a[contains(text(), ''{0}'')] ListCertificatePage.Link.DownloadDER.XPath=//td[position()=2]//a[text() = "%s"]//parent::td//following-sibling::td//a[contains(text(), ''{0}'')] ListCertificatePage.Text.AllCertificate.XPath=//td[position()=2] #------------------------------------------------------------------------------------------------ # Certificate details Page #------------------------------------------------------------------------------------------------ CertificateDetailsPage.Text.DetailedChain.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::*/pre CertificateDetailsPage.Text.PrivateKey.XPath=//dt[contains(text(), "Private key")]//following-sibling::dd CertificateDetailsPage.Button.Download.XPath=//button[contains(text(), ''{0}'')] CertificateDetailsPage.Link.DownloadKey.XPath=//a[contains(text(), ''{0}'')] CertificateDetailsPage.Link.DownloadKeystore.XPath=//a[contains(text(), ''{0}'')] CertificateDetailsPage.Input.Password.XPath=//input[@value="password"] CertificateDetailsPage.Button.P12.XPath=//input[contains(@value, "P12")] #------------------------------------------------------------------------------------------------ # Application preferences Page #------------------------------------------------------------------------------------------------ ApplicationPreferencesPage.Link.Certification.XPath=//td[contains(text(), "certificate_authority_Id")]/parent::tr/td[position()=2]/span ApplicationPreferencesPage.TextBox.Certification.XPath=//td[contains(text(), "certificate_authority_Id")]/parent::tr//input[@type = "text"] ApplicationPreferencesPage.Link.AutoSigning.XPath=//td[contains(text(), "pki_automatic_request_signing")]/parent::tr/td[position()=2]/span ApplicationPreferencesPage.TextBox.AutoSigning.XPath=//td[contains(text(), "pki_automatic_request_signing")]/parent::tr/td[position()=2]/span/span/input ApplicationPreferencesPage.Link.EnableTls.XPath=//td[contains(text(), "tls_mode_enabled")]/parent::tr/td[position()=2]/span ApplicationPreferencesPage.TextBox.EnableTls.XPath=//td[contains(text(), "tls_mode_enabled")]/parent::tr//input[@type = "text"] #------------------------------------------------------------------------------------------------ # Request a new certificate Page #------------------------------------------------------------------------------------------------ RequestCertificatePage.TextBox.Authority.XPath=//*[contains(text(), ''{0}'')]/parent::div/div/input RequestCertificatePage.List.Country.XPath=//*[contains(text(), ''{0}'')]/parent::div/div/select RequestCertificatePage.TextBox.Organization.XPath=//input[contains(@id, "organizationInput")] RequestCertificatePage.TextBox.CommonName.XPath=//input[contains(@id, "commonNameInput")] RequestCertificatePage.TextBox.Title.XPath=//input[contains(@id, "titleInput")] RequestCertificatePage.TextBox.GivenName.XPath=//input[contains(@id, "givennameInput")] RequestCertificatePage.TextBox.Surname.XPath=//input[contains(@id, "surnameInput")] RequestCertificatePage.TextBox.OrganizationUnit.XPath=//input[contains(@id, "orgUnitInput")] RequestCertificatePage.TextBox.Email.XPath=//input[contains(@id, "emailInput")] RequestCertificatePage.Button.Submit.XPath=//input[@type="submit"] #------------------------------------------------------------------------------------------------ # Import PEM Page #------------------------------------------------------------------------------------------------ ImportPemPage.Input.AddCertificate.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input ImportPemPage.Input.AddCertificateKey.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input ImportPemPage.Button.Submit.XPath=//input[@type="submit"] #------------------------------------------------------------------------------------------------ # Import P12 Page #------------------------------------------------------------------------------------------------ ImportP12Page.Input.AddCertificate.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input ImportP12Page.Input.P12Password.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input ImportP12Page.Button.Submit.XPath=//input[@type="submit"] #------------------------------------------------------------------------------------------------ # List SSL/TLS client simulators Page and List SSL/TLS server simulators Page #------------------------------------------------------------------------------------------------ ListSimulatorsPages.Link.NewSimulator.XPath=//a[text() = ''{0}''] ListSimulatorsPages.List.Simulators.XPath=//tbody[contains(@class, "rf-dt-b")]//tr ListSimulatorsPages.Link.View.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListSimulatorsPages.Link.Enable.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListSimulatorsPages.Link.Disable.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListSimulatorsPages.Link.Run.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListSimulatorsPages.Link.Delete.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListSimulatorsPages.Text.Disabled.XPath=//td[contains(text(), "%s")]//following-sibling::span[text() = ''{0}''] ListSimulatorsPages.Search.Table.XPath=//*[@id="simulatorTableForm:simulatorTable:tb"]/tr/td[position()=%s] ListSimulatorsPages.Button.Sort.XPath=//th[position()=%s]/a ListSimulatorsPages.TextBox.Keyword.XPath=//th[contains(text(), ''{0}'')]/input ListSimulatorsPages.TextBox.Certificate.XPath=//th[contains(text(), ''{0}'')]/input ListSimulatorsPages.Checkbox.Hide.XPath=//label[contains(text(), ''{0}'')]/input #------------------------------------------------------------------------------------------------ # List SSL/TLS server simulators Page #----------------------------------------------------------------------------------------------- ListServerSimulatorsPages.Button.Start.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListServerSimulatorsPages.Button.Stop.XPath=//td[contains(text(), "%s")]//following-sibling::td//a[@title =''{0}''] ListServerSimulatorsPages.Text.Running.XPath=//td[contains(text(), "%s")]//following-sibling::td//span[@title =''{0}''] ListServerSimulatorsPages.Text.Stopped.XPath=//td[contains(text(), "%s")]//following-sibling::td//span[@title =''{0}''] #------------------------------------------------------------------------------------------------ # Create TLS/SSL client simulator Page and Create TLS/SSL server simulator Page #------------------------------------------------------------------------------------------------ #Simulator Identity CreateSimulatorPage.Input.Keyword.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input CreateSimulatorPage.RadioButton.PKI.XPath=//label[contains(text(), ''{0}'')]//preceding-sibling::input CreateSimulatorPage.RadioButton.Custom.XPath=//label[contains(text(), ''{0}'')]//preceding-sibling::input CreateSimulatorPage.List.Certificate.XPath=//label[@for = "certificateInput"]//following-sibling::div//a CreateSimulatorPage.List.SelectCertificate.XPath=//label[@for = "certificateInput"]//following-sibling::div//input #Peer authentication CreateSimulatorPage.Label.Issuers.XPath=//label[contains(text(), ''{0}'')] CreateSimulatorPage.Button.Issuers.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//button[contains(text(), "%s")] CreateSimulatorPage.List.AllIssuersSource.XPath=//div[contains(@id, "issuersInputSource")]//div[contains(@class, "rf-pick-opt")] CreateSimulatorPage.List.AllIssuersTarget.XPath=//div[contains(@id, "issuersInputTargetList")]//div[contains(@class, "rf-pick-opt")] CreateSimulatorPage.Label.CertificateValidator.XPath=//label[contains(text(), ''{0}'')] CreateSimulatorPage.List.CertificateValidator.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//select #Security parameters CreateSimulatorPage.Button.Protocols.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//button[contains(text(), "%s")] CreateSimulatorPage.List.AllProtocolsSource.XPath=//div[contains(@id, "protocolsInputSourceList")]//div[contains(@class, "rf-pick-opt")] CreateSimulatorPage.List.AllProtocolsTarget.XPath=//div[contains(@id, "protocolsInputTargetList")]//div[contains(@class, "rf-pick-opt")] CreateSimulatorPage.Button.CipherSuite.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//button[contains(text(), "%s")] CreateSimulatorPage.List.AllCipherSuiteSource.XPath=//div[contains(@id, "cipherSuitesInputSourceList")]//div[contains(@class, "rf-pick-opt")] CreateSimulatorPage.List.AllCipherSuiteTarget.XPath=//div[contains(@id, "cipherSuitesInputTargetList")]//div[contains(@class, "rf-pick-opt")] #------------------------------------------------------------------------------------------------ # Create TLS/SSL client simulator Page #------------------------------------------------------------------------------------------------ CreateClientSimulatorPage.Button.Submit.XPath=//input[@type="submit"] #------------------------------------------------------------------------------------------------ # Create TLS/SSL server simulator Page #------------------------------------------------------------------------------------------------ CreateServerSimulatorPage.List.ServerType.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//select CreateServerSimulatorPage.Input.ServerPort.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input CreateServerSimulatorPage.Button.ServerPortInc.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//*[@class="btn btn-default rf-insp-inc spinner-btn"] CreateServerSimulatorPage.Button.ServerPortDec.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//*[@class="btn btn-default rf-insp-dec spinner-btn"] CreateServerSimulatorPage.Input.ForwardHost.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input CreateServerSimulatorPage.Input.ForwardPort.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//input CreateServerSimulatorPage.Button.ForwardPortInc.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//*[@class="btn btn-default rf-insp-inc spinner-btn"] CreateServerSimulatorPage.Button.ForwardPortDec.XPath=//label[contains(text(), ''{0}'')]//following-sibling::*//*[@class="btn btn-default rf-insp-dec spinner-btn"] CreateServerSimulatorPage.Button.Save.XPath=//input[@type="submit" and @value=''{0}''] CreateServerSimulatorPage.Checkbox.ClientAuthentication.XPath=//label[contains(text(), ''{0}'')]/input CreateServerSimulatorPage.Checkbox.UseTrustStore.XPath=//label[contains(text(), ''{0}'')]/input #------------------------------------------------------------------------------------------------ # TLS/SSL client simulator and TLS/SSL server simulator Pages #------------------------------------------------------------------------------------------------ SimulatorPages.Text.Keyword.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position() = 1] SimulatorPages.Text.Certificate.XPath=//dt[contains(text(), ''{0}\n'')]//following-sibling::dd SimulatorPages.List.TrustedIssuers.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::*//a SimulatorPages.Text.CertificateValidator.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1] SimulatorPages.Text.CheckRevocation.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1] SimulatorPages.List.SupportedProtocols.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1]//li SimulatorPages.List.SupportedCipherSuite.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1]//li SimulatorPages.Text.Disabled.XPath=//*[text() = ''{0}''] SimulatorPages.Button.Sort.XPath=//th[position()=%s]/a SimulatorPages.Search.Table.XPath=//*[@id="browserform:connectionTable:tb"]/tr/td[position()=%s] SimulatorPages.List.Column.XPath=//*[@id="browserform:connectionTable:tb"]/tr/td[position()=%s] #filters SimulatorPages.List.SUT.XPath=//label[contains(text(), ''{0}'')]/parent::div//a[@class="chosen-single"] SimulatorPages.TextBox.SUT.XPath=//label[contains(text(), ''{0}'')]/parent::div//input SimulatorPages.Button.ClearSUT.XPath=//label[contains(text(), ''{0}'')]/parent::div//span/div/a SimulatorPages.List.Success.XPath=//label[contains(text(), ''{0}'')]/parent::div//a[@class="chosen-single"] SimulatorPages.TextBox.Success.XPath=//label[contains(text(), ''{0}'')]/parent::div//input SimulatorPages.Button.ClearSuccess.XPath=//label[contains(text(), ''{0}'')]/parent::div//a[contains(@href, "#")] SimulatorPages.List.Timestamp.XPath=//label[contains(text(), "Timestamp")]/parent::div//select SimulatorPages.TextBox.Date.XPath=//label[contains(text(), "Timestamp")]/parent::div//input SimulatorPages.Button.ClearTimestamp.XPath=//label[contains(text(), "Timestamp")]/parent::div//a[contains(@href, "#")] SimulatorPages.Button.ResetCriteria.XPath=//a[@title="Reset criteria"] SimulatorPages.TextBox.SimulatorAddress.XPath=//th[contains(text(), ''{0}'')]/input SimulatorPages.TextBox.SystemUnderTestAddress.XPath=//th[contains(text(), ''{0}'')]/input SimulatorPages.List.Hour.XPath=//div[@class = "%s"]//select[@class = "hourselect"] SimulatorPages.List.Minute.XPath=//div[@class = "%s"]//select[@class = "minuteselect"] SimulatorPages.List.Ampm.XPath=//div[@class = "%s"]//select[@class = "ampmselect"] SimulatorPages.List.Month.XPath=//div[@class = "%s"]//select[@class = "monthselect"] SimulatorPages.List.Year.XPath=//div[@class = "%s"]//select[@class = "yearselect"] SimulatorPages.List.Day.XPath=//div[@class = "%s"]//td[text() = "%s"] SimulatorPages.Button.Apply.XPath=//button[text() = "Apply"] #------------------------------------------------------------------------------------------------ # TLS/SSL server simulator Page #------------------------------------------------------------------------------------------------ ServerSimulatorPage.Text.ServerType.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1] ServerSimulatorPage.Text.ServerPort.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1] ServerSimulatorPage.Text.ForwardTo.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd[position()=1] ServerSimulatorPage.Text.StatusStopped.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd/span[text() = ''{1}''] ServerSimulatorPage.Button.StartServer.XPath=//input[@value="Start server"] ServerSimulatorPage.Text.StatusStarted.XPath=//dt[contains(text(), ''{0}'')]//following-sibling::dd/span[text()=''{1}''] ServerSimulatorPage.Button.StopServer.XPath=//input[@value="Stop server"] ServerSimulatorPage.List.HandshakeSucceed.XPath=//span[@title = "Handshake succeed"] #------------------------------------------------------------------------------------------------ # TLS/SSL client simulator Page #------------------------------------------------------------------------------------------------ ClientSimulatorPage.Input.TargetHost.XPath=//label[contains(text(), ''{0}'')]//following-sibling::div/input ClientSimulatorPage.Input.TargetPort.XPath=//label[contains(text(), ''{0}'')]//following-sibling::div//input ClientSimulatorPage.Button.Submit.XPath=//input[@type="submit"] ClientSimulatorPage.Text.MessageConnection.XPath=//span[text() = "Recorded 1 connections."]