From 23bb91659951cf2b039067caa0f56f10791a40af Mon Sep 17 00:00:00 2001 From: Vlad <stegaru.vlad@gmail.com> Date: Wed, 14 Mar 2018 16:39:42 +0200 Subject: [PATCH] chore: add automation files for Katalon --- automation/.classpath | 74 ++++++++ automation/.project | 38 ++++ .../org.eclipse.jdt.groovy.core.prefs | 2 + automation/GlobalVariables.glbl | 10 + automation/Hindawi.prj | 8 + automation/Libs/CustomKeywords.groovy | 5 + automation/Libs/GlobalVariable.groovy | 24 +++ .../Libs/TempTestCase1521038318313.groovy | 25 +++ .../Libs/internal/GlobalVariable.groovy | 24 +++ .../Object Repository/NewManuscript/.meta | 7 + .../journalfFieldSelection/Cancel.rs | 57 ++++++ .../journalfFieldSelection/HindawiFaraday.rs | 72 ++++++++ .../journalfFieldSelection/Home.rs | 57 ++++++ .../journalfFieldSelection/Issue.rs | 47 +++++ .../journalfFieldSelection/Journal.rs | 47 +++++ .../journalfFieldSelection/New.rs | 60 ++++++ .../journalfFieldSelection/Next.rs | 53 ++++++ .../journalfFieldSelection/RegularIssues.rs | 68 +++++++ .../manuscriptAuthorsDetails/Back.rs | 57 ++++++ .../manuscriptAuthorsDetails/Canada.rs | 68 +++++++ .../manuscriptAuthorsDetails/Cancel.rs | 50 +++++ .../manuscriptAuthorsDetails/Next.rs | 60 ++++++ .../manuscriptAuthorsDetails/Save.rs | 50 +++++ .../manuscriptAuthorsDetails/abstractField.rs | 40 ++++ .../manuscriptAuthorsDetails/addAuthor.rs | 50 +++++ .../manuscriptAuthorsDetails/affiliation.rs | 50 +++++ .../manuscriptAuthorsDetails/country.rs | 43 +++++ .../manuscriptAuthorsDetails/email.rs | 50 +++++ .../manuscriptAuthorsDetails/firstName.rs | 50 +++++ .../manuscriptAuthorsDetails/lastName.rs | 50 +++++ .../manuscriptTitle.rs | 44 +++++ .../manuscriptType.rs | 47 +++++ .../manuscriptAuthorsDetails/middleName.rs | 50 +++++ .../manuscriptAuthorsDetails/no.rs | 46 +++++ .../manuscriptAuthorsDetails/research.rs | 68 +++++++ .../manuscriptAuthorsDetails/yes.rs | 43 +++++ .../NewManuscript/manuscriptFilesUpload/.meta | 7 + .../manuscriptFilesUpload/attachFile.rs | 96 ++++++++++ .../manuscriptFilesUpload/submitManuscript.rs | 57 ++++++ .../preSubmissionChecklist/Back.rs | 57 ++++++ .../preSubmissionChecklist/Next.rs | 57 ++++++ .../preSubmissionChecklist/awareAndAccept.rs | 39 ++++ .../preSubmissionChecklist/hasEfiles.rs | 40 ++++ .../preSubmissionChecklist/hasEmail.rs | 40 ++++ .../preSubmissionChecklist/hasManuscript.rs | 40 ++++ .../preSubmissionChecklist/hasOrcid.rs | 40 ++++ .../submissionInstitutional.rs | 40 ++++ .../Object Repository/Resume/goToDashboard.rs | 50 +++++ .../Resume/resumeSubmission.rs | 57 ++++++ automation/Object Repository/SignIn/.meta | 7 + .../Object Repository/SignIn/LoginButton.rs | 50 +++++ .../Object Repository/SignIn/passwordField.rs | 50 +++++ .../Object Repository/SignIn/usernameField.rs | 58 ++++++ .../Script1520433593112.groovy | 174 ++++++++++++++++++ .../Script1520866853834.groovy | 43 +++++ .../Sign In flow/Script1520414607328.groovy | 43 +++++ .../Add a new manuscript.tc | 15 ++ .../Test Cases/Resume submission Redirect.tc | 8 + automation/Test Cases/Sign In/Sign In flow.tc | 8 + automation/Test Suites/firstTS.groovy | 66 +++++++ automation/Test Suites/firstTS.ts | 31 ++++ automation/bin/.gitignore | 3 + automation/console.properties | 7 + ...alon.composer.testcase.settings.properties | 0 .../com.kms.katalon.execution.properties | 0 ...com.kms.katalon.execution.webui.properties | 0 ...om.kms.katalon.integration.jira.properties | 0 ...m.kms.katalon.integration.qtest.properties | 0 68 files changed, 2777 insertions(+) create mode 100644 automation/.classpath create mode 100644 automation/.project create mode 100644 automation/.settings/org.eclipse.jdt.groovy.core.prefs create mode 100644 automation/GlobalVariables.glbl create mode 100644 automation/Hindawi.prj create mode 100644 automation/Libs/CustomKeywords.groovy create mode 100644 automation/Libs/GlobalVariable.groovy create mode 100644 automation/Libs/TempTestCase1521038318313.groovy create mode 100644 automation/Libs/internal/GlobalVariable.groovy create mode 100644 automation/Object Repository/NewManuscript/.meta create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/Cancel.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/HindawiFaraday.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/Home.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/Issue.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/Journal.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/New.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/Next.rs create mode 100644 automation/Object Repository/NewManuscript/journalfFieldSelection/RegularIssues.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Back.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Canada.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Cancel.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Next.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Save.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/abstractField.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/addAuthor.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/affiliation.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/country.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/email.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/firstName.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/lastName.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptTitle.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptType.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/middleName.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/no.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/research.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/yes.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptFilesUpload/.meta create mode 100644 automation/Object Repository/NewManuscript/manuscriptFilesUpload/attachFile.rs create mode 100644 automation/Object Repository/NewManuscript/manuscriptFilesUpload/submitManuscript.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/Back.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/Next.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/awareAndAccept.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEfiles.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEmail.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/hasManuscript.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/hasOrcid.rs create mode 100644 automation/Object Repository/NewManuscript/preSubmissionChecklist/submissionInstitutional.rs create mode 100644 automation/Object Repository/Resume/goToDashboard.rs create mode 100644 automation/Object Repository/Resume/resumeSubmission.rs create mode 100644 automation/Object Repository/SignIn/.meta create mode 100644 automation/Object Repository/SignIn/LoginButton.rs create mode 100644 automation/Object Repository/SignIn/passwordField.rs create mode 100644 automation/Object Repository/SignIn/usernameField.rs create mode 100644 automation/Scripts/Add new manuscript/Add a new manuscript/Script1520433593112.groovy create mode 100644 automation/Scripts/Resume submission Redirect/Script1520866853834.groovy create mode 100644 automation/Scripts/Sign In/Sign In flow/Script1520414607328.groovy create mode 100644 automation/Test Cases/Add new manuscript/Add a new manuscript.tc create mode 100644 automation/Test Cases/Resume submission Redirect.tc create mode 100644 automation/Test Cases/Sign In/Sign In flow.tc create mode 100644 automation/Test Suites/firstTS.groovy create mode 100644 automation/Test Suites/firstTS.ts create mode 100644 automation/bin/.gitignore create mode 100644 automation/console.properties create mode 100644 automation/settings/internal/com.kms.katalon.composer.testcase.settings.properties create mode 100644 automation/settings/internal/com.kms.katalon.execution.properties create mode 100644 automation/settings/internal/com.kms.katalon.execution.webui.properties create mode 100644 automation/settings/internal/com.kms.katalon.integration.jira.properties create mode 100644 automation/settings/internal/com.kms.katalon.integration.qtest.properties diff --git a/automation/.classpath b/automation/.classpath new file mode 100644 index 000000000..3a7fee78b --- /dev/null +++ b/automation/.classpath @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="src" output="bin/keyword" path="Keywords"/> + <classpathentry kind="src" output="bin/listener" path="Test Listeners"/> + <classpathentry kind="src" output="bin/lib" path="Libs"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.core_1.0.0.201803011028.jar"> + <attributes> + <attribute name="javadoc_location" value="file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/apidocs/com.kms.katalon.core/"/> + </attributes> + </classpathentry> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/testng-6.11.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/java-client-5.0.4.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/repackaged-sikuli-api-1.0.2-standalone.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/repackaged-guava-19.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/kat-server.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/jna-platform-4.1.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/jna-4.1.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/selenium-server-standalone-3.7.1.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/configuration/resources/lib/selenium-leg-rc-3.7.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/net.sf.supercsv.super-csv_2.1.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.poi_3.9.0.v201405241750.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.poi.ooxml_3.9.0.v201405241905.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.poi.ooxml.schemas_3.9.0.v201405241750.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.dom4j_1.6.1.v201312101416.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.io_2.4.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.lang_2.6.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.xmlbeans_2.6.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.google.gson_2.8.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.jsoup_1.7.2.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.mysql.jdbc_5.1.38.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.microsoft.sqlserver.sqljdbc4_4.1.5605.100.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.dbutils_1.6.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.oracle.jdbc.ojdbc7_12.1.0.2.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.postgresql.jdbc41_9.4.1208.jre7.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.constant_1.0.0.201803011028.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.eclipse.persistence.eclipselink_2.5.0.RC1.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.selenium-standalone_1.0.0.201803011028.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/atu.testrecorder.screen-recorder_2.1.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.google.guava_23.0.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.util_1.0.0.201803011028.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.codec_1.7.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.logging_1.2.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.httpcomponents.httpclient_4.5.1.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.httpcomponents.httpcore_4.4.4.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.junit_4.12.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.hamcrest.core_1.3.0.v201303031735.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.beanshell.bsh_2.0.0.0b4.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.ant.launcher_1.9.6.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.core.appium_1.0.0.201803011028.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.lang3_3.1.0.v201403281430.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.core.webui_1.0.0.201803011028.jar"> + <attributes> + <attribute name="javadoc_location" value="file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/apidocs/com.kms.katalon.core.webui/"/> + </attributes> + </classpathentry> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.core.mobile_1.0.0.201803011028.jar"> + <attributes> + <attribute name="javadoc_location" value="file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/apidocs/com.kms.katalon.core.mobile/"/> + </attributes> + </classpathentry> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/org.apache.commons.validator_1.5.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.kms.katalon.core.webservice_1.0.0.201803011028.jar"> + <attributes> + <attribute name="javadoc_location" value="file:/Applications/Katalon%20Studio.app/Contents/Eclipse/configuration/resources/apidocs/com.kms.katalon.core.webservice/"/> + </attributes> + </classpathentry> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/wsdl4j_1.6.2.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.google.oauth-client.google-oauth-client_1.22.0.jar"/> + <classpathentry kind="lib" path="/Applications/Katalon Studio.app/Contents/Eclipse/plugins/com.google.http-client.google-http-client_1.22.0.jar"/> + <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/automation/.project b/automation/.project new file mode 100644 index 000000000..ccdb16fbf --- /dev/null +++ b/automation/.project @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>%Users%vladstegaru%Documents%Hindawi%xpub-faraday%automation%Hindawi.prj</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.groovy.core.groovyNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> + <filteredResources> + <filter> + <id>1521038292821</id> + <name></name> + <type>10</type> + <matcher> + <id>org.eclipse.core.resources.regexFilterMatcher</id> + <arguments>.*\.svn$</arguments> + </matcher> + </filter> + <filter> + <id>1521038292824</id> + <name></name> + <type>6</type> + <matcher> + <id>org.eclipse.core.resources.regexFilterMatcher</id> + <arguments>(.*\.svn-base$)|(.*\.png$)|(.*\.log$)|(.*\.xlsx$)|(.*\.xls$)|(.*\.csv$)|(.*\.txt$)</arguments> + </matcher> + </filter> + </filteredResources> +</projectDescription> diff --git a/automation/.settings/org.eclipse.jdt.groovy.core.prefs b/automation/.settings/org.eclipse.jdt.groovy.core.prefs new file mode 100644 index 000000000..ae98feaa7 --- /dev/null +++ b/automation/.settings/org.eclipse.jdt.groovy.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +groovy.compiler.level=24 diff --git a/automation/GlobalVariables.glbl b/automation/GlobalVariables.glbl new file mode 100644 index 000000000..5be8148f4 --- /dev/null +++ b/automation/GlobalVariables.glbl @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<GlobalVariableEntities> + <description></description> + <tag></tag> + <GlobalVariableEntity> + <description></description> + <initValue>'9561774'</initValue> + <name>G_manuscriptID</name> + </GlobalVariableEntity> +</GlobalVariableEntities> diff --git a/automation/Hindawi.prj b/automation/Hindawi.prj new file mode 100644 index 000000000..ef593cc16 --- /dev/null +++ b/automation/Hindawi.prj @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Project> + <description></description> + <name>Hindawi</name> + <tag></tag> + <UUID>711d0909-20d6-4d4a-805c-b54350ac99a0</UUID> + <pageLoadTimeout>30</pageLoadTimeout> +</Project> diff --git a/automation/Libs/CustomKeywords.groovy b/automation/Libs/CustomKeywords.groovy new file mode 100644 index 000000000..c595a4f8a --- /dev/null +++ b/automation/Libs/CustomKeywords.groovy @@ -0,0 +1,5 @@ + +/** + * This class is generated automatically by Katalon Studio and should not be modified or deleted. + */ + diff --git a/automation/Libs/GlobalVariable.groovy b/automation/Libs/GlobalVariable.groovy new file mode 100644 index 000000000..8e300404e --- /dev/null +++ b/automation/Libs/GlobalVariable.groovy @@ -0,0 +1,24 @@ + +import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository +import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory +import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory +import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject +import static com.kms.katalon.core.testdata.TestDataFactory.findTestData +import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase +import groovy.transform.CompileStatic + + +/** + * This class is generated automatically by Katalon Studio and should not be modified or deleted. + * @deprecated Please use internal.GlobalVariable instead + */ +@Deprecated +@CompileStatic +public class GlobalVariable { + + /** + * <p></p> + */ + public static Object G_manuscriptID = '9561774' + +} diff --git a/automation/Libs/TempTestCase1521038318313.groovy b/automation/Libs/TempTestCase1521038318313.groovy new file mode 100644 index 000000000..72da09a02 --- /dev/null +++ b/automation/Libs/TempTestCase1521038318313.groovy @@ -0,0 +1,25 @@ +import com.kms.katalon.core.main.TestCaseMain +import com.kms.katalon.core.logging.KeywordLogger +import groovy.lang.MissingPropertyException +import com.kms.katalon.core.testcase.TestCaseBinding +import com.kms.katalon.core.driver.internal.DriverCleanerCollector +import com.kms.katalon.core.model.FailureHandling +import com.kms.katalon.core.configuration.RunConfiguration +import com.kms.katalon.core.webui.contribution.WebUiDriverCleaner +import com.kms.katalon.core.mobile.contribution.MobileDriverCleaner + + +DriverCleanerCollector.getInstance().addDriverCleaner(new com.kms.katalon.core.webui.contribution.WebUiDriverCleaner()) +DriverCleanerCollector.getInstance().addDriverCleaner(new com.kms.katalon.core.mobile.contribution.MobileDriverCleaner()) + + +RunConfiguration.setExecutionSettingFile('/var/folders/3h/5jvs258x4lng1yz2s32ryr4r0000gn/T/Katalon/Test Cases/Add new manuscript/Add a new manuscript/20180314_163838/execution.properties') + +TestCaseMain.beforeStart() +try { + + TestCaseMain.runTestCase('Test Cases/Add new manuscript/Add a new manuscript', new TestCaseBinding('Test Cases/Add new manuscript/Add a new manuscript', [:]), FailureHandling.STOP_ON_FAILURE ) + +} catch (Exception e) { + TestCaseMain.logError(e, 'Test Cases/Add new manuscript/Add a new manuscript') +} diff --git a/automation/Libs/internal/GlobalVariable.groovy b/automation/Libs/internal/GlobalVariable.groovy new file mode 100644 index 000000000..a178fd9f6 --- /dev/null +++ b/automation/Libs/internal/GlobalVariable.groovy @@ -0,0 +1,24 @@ +package internal +import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository +import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory +import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory +import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject +import static com.kms.katalon.core.testdata.TestDataFactory.findTestData +import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase +import groovy.transform.CompileStatic + + +/** + * This class is generated automatically by Katalon Studio and should not be modified or deleted. + * + */ + +@CompileStatic +public class GlobalVariable { + + /** + * <p></p> + */ + public static Object G_manuscriptID = '9561774' + +} diff --git a/automation/Object Repository/NewManuscript/.meta b/automation/Object Repository/NewManuscript/.meta new file mode 100644 index 000000000..7d9c765ef --- /dev/null +++ b/automation/Object Repository/NewManuscript/.meta @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FolderEntity> + <description></description> + <name>NewManuscript</name> + <tag></tag> + <folderType>WEBELEMENT</folderType> +</FolderEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/Cancel.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/Cancel.rs new file mode 100644 index 000000000..0b4a9c477 --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/Cancel.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Cancel</name> + <tag></tag> + <elementGuidId>1ce1242a-bd08-4cac-a639-d37d48c0e39d</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[data-test="button-prev"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-chPdSV eCXitr</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-prev</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Cancel</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eTpRJs eCRGdm"]/div[@class="sc-hzNEM VXOBx"]/div[@class="sc-jtggT hzAQMA"]/form[@class="sc-ebFjAB iFGpGZ"]/div[@class="sc-LKuAh ijXubq"]/button[@class="sc-chPdSV eCXitr"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/HindawiFaraday.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/HindawiFaraday.rs new file mode 100644 index 000000000..a1f6a4a47 --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/HindawiFaraday.rs @@ -0,0 +1,72 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>HindawiFaraday</name> + <tag></tag> + <elementGuidId>eef96db3-ea5e-48f9-84d5-a25865a4cb90</elementGuidId> + <selectorCollection> + <entry> + <key>BASIC</key> + <value>//div[(text() = 'Hindawi Faraday' or . = 'Hindawi Faraday')]</value> + </entry> + <entry> + <key>XPATH</key> + <value>//div[contains(text(),"Hindawi Faraday")]</value> + </entry> + <entry> + <key>CSS</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>div</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>role</name> + <type>Main</type> + <value>option</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>tabindex</name> + <type>Main</type> + <value>0</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>aria-selected</name> + <type>Main</type> + <value>false</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-jDwBTQ iuBHpq</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Hindawi Faraday</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-cMljjf kvAdmU"]/div[@class="sc-jAaTju diFiAa"]/div[@class="sc-jDwBTQ iuBHpq"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/Home.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/Home.rs new file mode 100644 index 000000000..bbd873b8b --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/Home.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Home</name> + <tag></tag> + <elementGuidId>5617d9c4-6dd7-4113-b794-79f7d7dd780c</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>img[alt="Hindawi"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>img</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>alt</name> + <type>Main</type> + <value>Hindawi</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>height</name> + <type>Main</type> + <value>36</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>src</name> + <type>Main</type> + <value>/assets/hindawi-logo.png</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>title</name> + <type>Main</type> + <value>Hindawi</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eXEjpC kRtrxO"]/div[@class="sc-ibxdXY fBKIdt"]/div[1]/img[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/Issue.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/Issue.rs new file mode 100644 index 000000000..381bbda8e --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/Issue.rs @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Issue</name> + <tag></tag> + <elementGuidId>3df763a2-e71b-474c-a45a-3b3fee17571b</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="metadata.journal"] button</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-cvbbAY jdrgAW</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Choose in the list</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[5]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-hSdWYo bIQQAp"]/button[@class="sc-eHgmQL rbjMt"]/span[@class="sc-cvbbAY jdrgAW"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/Journal.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/Journal.rs new file mode 100644 index 000000000..a0fff178c --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/Journal.rs @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Journal</name> + <tag></tag> + <elementGuidId>de68fb3f-6e85-414a-8bae-501b1b84a8f6</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="metadata.journal"] button</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-cvbbAY jdrgAW</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Choose in the list</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-hSdWYo bIQQAp"]/button[@class="sc-eHgmQL rbjMt"]/span[@class="sc-cvbbAY jdrgAW"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/New.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/New.rs new file mode 100644 index 000000000..b4d9463ff --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/New.rs @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>New</name> + <tag></tag> + <elementGuidId>783af37f-9b46-4523-8d93-b8e4eaf37f38</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + </entry> + <entry> + <key>CSS</key> + <value>button[data-test="new-manuscript"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>new-manuscript</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>New</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[1]/div[@class="sc-hmXxxW fgfSHS"]/div[@class="sc-cqCuEk iAENsl"]/div[@class="sc-kLIISr gZqdvU"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/Next.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/Next.rs new file mode 100644 index 000000000..94975dad5 --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/Next.rs @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Next</name> + <tag></tag> + <elementGuidId>b7939cf7-3d04-44a9-a4b2-ca0724bbc465</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + </entry> + <entry> + <key>CSS</key> + <value>button[type="submit"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>submit</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Next</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[@class="sc-jKVCRD hxsQZp"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/journalfFieldSelection/RegularIssues.rs b/automation/Object Repository/NewManuscript/journalfFieldSelection/RegularIssues.rs new file mode 100644 index 000000000..607970177 --- /dev/null +++ b/automation/Object Repository/NewManuscript/journalfFieldSelection/RegularIssues.rs @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>RegularIssues</name> + <tag></tag> + <elementGuidId>175d05de-d503-4ca8-917b-4cb2fc29e5b4</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value></value> + </entry> + <entry> + <key>XPATH</key> + <value>//div[contains(text(),"Regular Issues")]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>div</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>role</name> + <type>Main</type> + <value>option</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>tabindex</name> + <type>Main</type> + <value>0</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>aria-selected</name> + <type>Main</type> + <value>false</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-jDwBTQ iuBHpq</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Regular Issues</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[5]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-cMljjf kvAdmU"]/div[@class="sc-jAaTju diFiAa"]/div[@class="sc-jDwBTQ iuBHpq"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Back.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Back.rs new file mode 100644 index 000000000..b71add8e3 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Back.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Back</name> + <tag></tag> + <elementGuidId>6c9077d3-6f0e-4994-8e6e-8c364e4a7cba</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>button[data-test="button-prev"]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-chPdSV eCXitr</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-prev</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Back</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[@class="sc-jKVCRD hxsQZp"]/button[@class="sc-chPdSV eCXitr"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Canada.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Canada.rs new file mode 100644 index 000000000..00542fa66 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Canada.rs @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Canada</name> + <tag></tag> + <elementGuidId>761277ff-bf18-4eca-a3e8-058f52b38056</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//*[@id="root"]/div/div[2]/div/div[2]/form/div[9]/div/div/div[1]/div/div[2]/div[3]/div/div/div/div[2]/div/div[39]</value> + </entry> + <entry> + <key>CSS</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>div</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>role</name> + <type>Main</type> + <value>option</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>tabindex</name> + <type>Main</type> + <value>0</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>aria-selected</name> + <type>Main</type> + <value>false</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-jDwBTQ iuBHpq</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Canada</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-gwVKww irmNUz"]/div[1]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-cMljjf kvAdmU"]/div[@class="sc-jAaTju diFiAa"]/div[@class="sc-jDwBTQ iuBHpq"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Cancel.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Cancel.rs new file mode 100644 index 000000000..194949fdf --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Cancel.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Cancel</name> + <tag></tag> + <elementGuidId>39f1f282-9de8-43d3-a4a0-22d5e4aa7d3f</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[@class="sc-gqPbQI bgZvJB"]/button[contains(text(),"Cancel")]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-chPdSV eCXitr</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Cancel</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-gqPbQI bgZvJB"]/button[@class="sc-chPdSV eCXitr"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Next.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Next.rs new file mode 100644 index 000000000..4587c8ae4 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Next.rs @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Next</name> + <tag></tag> + <elementGuidId>8924e9d1-8e87-4def-93cd-d575d882c313</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[data-test="button-next"]</value> + </entry> + <entry> + <key>XPATH</key> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>submit</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-next</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Next</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[@class="sc-jKVCRD hxsQZp"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Save.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Save.rs new file mode 100644 index 000000000..ea38f2966 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/Save.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Save</name> + <tag></tag> + <elementGuidId>f69ecd31-e8b0-4ed6-acb8-ba41b11779c4</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[@class="sc-gqPbQI bgZvJB"]/button[contains(text(),"Save")]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Save</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-gqPbQI bgZvJB"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/abstractField.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/abstractField.rs new file mode 100644 index 000000000..715532ecc --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/abstractField.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>abstractField</name> + <tag></tag> + <elementGuidId>14bfc405-bb6b-4897-9548-d0af1a223798</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="metadata.abstract"] .ProseMirror </value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>p</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Write an abstract</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>/p[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/addAuthor.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/addAuthor.rs new file mode 100644 index 000000000..ec2b83eba --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/addAuthor.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>addAuthor</name> + <tag></tag> + <elementGuidId>e12e5c46-5ca1-4e4f-96cb-467b1aa9be59</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[@data-test="authors"]/div/div/button</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>+ Add submitting author</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/affiliation.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/affiliation.rs new file mode 100644 index 000000000..3486ee975 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/affiliation.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>affiliation</name> + <tag></tag> + <elementGuidId>8bcf5ccd-114f-441a-89cf-9dfcd5191bf6</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="affiliation"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>text</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>affiliation</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-eTuwsz hffWML"]/div[1]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/country.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/country.rs new file mode 100644 index 000000000..c5dafb486 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/country.rs @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>country</name> + <tag></tag> + <elementGuidId>3715309a-f7c9-4dbb-956a-18cad88dcbf3</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[@class="sc-gwVKww irmNUz"]/div/div/div/div/button/span[@class="sc-jWBwVP hUUjIs"]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-cvbbAY jdrgAW</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Choose in the list</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-gwVKww irmNUz"]/div[1]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-hSdWYo bIQQAp"]/button[@class="sc-eHgmQL rbjMt"]/span[@class="sc-cvbbAY jdrgAW"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/email.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/email.rs new file mode 100644 index 000000000..1e95e5e17 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/email.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>email</name> + <tag></tag> + <elementGuidId>5d5d2399-5604-4c44-8c0b-bfc1b76e478e</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="email"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>text</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>email</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-eTuwsz hffWML"]/div[1]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/firstName.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/firstName.rs new file mode 100644 index 000000000..2501d5992 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/firstName.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>firstName</name> + <tag></tag> + <elementGuidId>8416427f-cc82-4999-a24e-1cc1ec21e8c3</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="firstName"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>text</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>firstName</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-eTuwsz hffWML"]/div[1]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/lastName.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/lastName.rs new file mode 100644 index 000000000..503c53179 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/lastName.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>lastName</name> + <tag></tag> + <elementGuidId>fc324595-e665-44a6-bba4-633005ddf8bd</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="lastName"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>text</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>lastName</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-eTuwsz hffWML"]/div[1]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptTitle.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptTitle.rs new file mode 100644 index 000000000..5d72d8608 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptTitle.rs @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>manuscriptTitle</name> + <tag></tag> + <elementGuidId>91aac779-fb3f-4280-a171-a989795a8693</elementGuidId> + <selectorCollection> + <entry> + <key>BASIC</key> + <value>//p[(text() = 'Manuscript title`' or . = 'Manuscript title`')]</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + <entry> + <key>CSS</key> + <value>div[data-test="metadata.title"] .ProseMirror </value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>p</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Manuscript title`</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/div[2]/div[@class="ProseMirror Editor-local_ProseMirror-vy5vEJQy Editor-local_ProseMirrorEditable-1WNPWQzJ ProseMirror-focused"]/p[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptType.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptType.rs new file mode 100644 index 000000000..bccccc0bc --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/manuscriptType.rs @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>manuscriptType</name> + <tag></tag> + <elementGuidId>6a71e8ac-fed8-4a1a-8216-f09f9da4db92</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="metadata.type "] button</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-cvbbAY jdrgAW</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Choose in the list</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[5]/div[1]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-hSdWYo bIQQAp"]/button[@class="sc-eHgmQL rbjMt"]/span[@class="sc-cvbbAY jdrgAW"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/middleName.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/middleName.rs new file mode 100644 index 000000000..e0ca12dd7 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/middleName.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>middleName</name> + <tag></tag> + <elementGuidId>0bcffec5-c76f-4a5f-a1fd-d58fe46c626e</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="middleName"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>text</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>middleName</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[9]/div[1]/div[@class="sc-lkqHmb jjSpNi"]/div[@class="sc-iujRgT bXVWmC"]/div[@class="sc-bAeIUo jzHMnK"]/div[@class="sc-hORach bXEfdY"]/div[@class="sc-eTuwsz hffWML"]/div[1]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/no.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/no.rs new file mode 100644 index 000000000..885562cc5 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/no.rs @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>no</name> + <tag></tag> + <elementGuidId>9c55b4d8-9acb-4839-ac1a-c4f55fc853af</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[value="no"]</value> + </entry> + <entry> + <key>XPATH</key> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-jlyJG HqYaR</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value> No </value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[11]/div[1]/div[1]/div[1]/label[@class="sc-gipzik SEdee"]/span[@class="sc-jlyJG HqYaR"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/research.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/research.rs new file mode 100644 index 000000000..82ee18057 --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/research.rs @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>research</name> + <tag></tag> + <elementGuidId>073d58c9-eab0-4bda-b090-aa974ebc3bd3</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="metadata.type"] div[role="option"]:nth-child(3)</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>div</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>role</name> + <type>Main</type> + <value>option</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>tabindex</name> + <type>Main</type> + <value>0</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>aria-selected</name> + <type>Main</type> + <value>false</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-jDwBTQ iuBHpq</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Research</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[5]/div[1]/div[@class="sc-kkGfuU fycXtP"]/div[@class="sc-brqgnP jxxQpd"]/div[@class="sc-cMljjf kvAdmU"]/div[@class="sc-jAaTju diFiAa"]/div[@class="sc-jDwBTQ iuBHpq"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/yes.rs b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/yes.rs new file mode 100644 index 000000000..21852f76f --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptAuthorsDetails/yes.rs @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>yes</name> + <tag></tag> + <elementGuidId>580ec3fb-565b-4d55-a76a-6ddfcdcd4e6f</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[value="yes"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-iRbamj hmkvlJ</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>color</name> + <type>Main</type> + <value>black</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[11]/div[1]/div[1]/div[1]/label[@class="sc-gipzik SEdee"]/span[@class="sc-iRbamj hmkvlJ"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptFilesUpload/.meta b/automation/Object Repository/NewManuscript/manuscriptFilesUpload/.meta new file mode 100644 index 000000000..30b05d28e --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptFilesUpload/.meta @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FolderEntity> + <description>folder</description> + <name>manuscriptFilesUpload</name> + <tag></tag> + <folderType>WEBELEMENT</folderType> +</FolderEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptFilesUpload/attachFile.rs b/automation/Object Repository/NewManuscript/manuscriptFilesUpload/attachFile.rs new file mode 100644 index 000000000..f25d661ba --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptFilesUpload/attachFile.rs @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>attachFile</name> + <tag></tag> + <elementGuidId>c3eed726-7b7f-4e93-8d4a-baddc5a31314</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value></value> + </entry> + <entry> + <key>XPATH</key> + <value>//*[@id="root"]/div/div[2]/div/div[2]/form/div[1]/div/div/div[2]/div[1]/div/div</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>svg</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xmlns</name> + <type>Main</type> + <value>http://www.w3.org/2000/svg</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>width</name> + <type>Main</type> + <value>24</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>height</name> + <type>Main</type> + <value>24</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>viewBox</name> + <type>Main</type> + <value>0 0 24 24</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>fill</name> + <type>Main</type> + <value>none</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>stroke</name> + <type>Main</type> + <value>#667080</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>stroke-width</name> + <type>Main</type> + <value>2</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>stroke-linecap</name> + <type>Main</type> + <value>round</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>stroke-linejoin</name> + <type>Main</type> + <value>round</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eTpRJs eCRGdm"]/div[@class="sc-hzNEM VXOBx"]/div[@class="sc-jtggT hzAQMA"]/form[@class="sc-ebFjAB iFGpGZ"]/div[1]/div[1]/div[1]/div[@class="sc-kPVwWT hKyazW"]/div[@class="sc-hwwEjo dbWIW"]/div[@class="sc-gzOgki gUQGff"]/div[1]/div[@class="sc-dfVpRl exNSDi"]/span[@class="sc-bZQynM eNSxAJ"]/svg[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/manuscriptFilesUpload/submitManuscript.rs b/automation/Object Repository/NewManuscript/manuscriptFilesUpload/submitManuscript.rs new file mode 100644 index 000000000..20b5deaee --- /dev/null +++ b/automation/Object Repository/NewManuscript/manuscriptFilesUpload/submitManuscript.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>submitManuscript</name> + <tag></tag> + <elementGuidId>2a10b3be-7f1a-4ee7-9f9e-3381ca9a33cc</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[type="submit"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>submit</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-next</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Submit Manuscript</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eTpRJs eCRGdm"]/div[@class="sc-hzNEM VXOBx"]/div[@class="sc-jtggT hzAQMA"]/form[@class="sc-ebFjAB iFGpGZ"]/div[@class="sc-LKuAh ijXubq"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/Back.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/Back.rs new file mode 100644 index 000000000..f5c82b119 --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/Back.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Back</name> + <tag></tag> + <elementGuidId>6b3fcf50-91f3-40ca-87c3-30daed6768c0</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[data-test="button-prev"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-chPdSV eCXitr</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-prev</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Back</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eTpRJs eCRGdm"]/div[@class="sc-hzNEM VXOBx"]/div[@class="sc-jtggT hzAQMA"]/form[@class="sc-ebFjAB iFGpGZ"]/div[@class="sc-LKuAh ijXubq"]/button[@class="sc-chPdSV eCXitr"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/Next.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/Next.rs new file mode 100644 index 000000000..b5fa9d4c3 --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/Next.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Next</name> + <tag></tag> + <elementGuidId>69c448d5-bf5c-4fa0-bce3-60772f15a737</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[data-test="button-next"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>submit</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-next</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Next</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[@class="sc-jKVCRD hxsQZp"]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/awareAndAccept.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/awareAndAccept.rs new file mode 100644 index 000000000..7a295cacb --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/awareAndAccept.rs @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>awareAndAccept</name> + <tag></tag> + <elementGuidId>01789b52-45d2-4681-9cd0-a7685c5489e1</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + </entry> + <entry> + <key>XPATH</key> + <value>input[value="ok-institutional"]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>I am aware that accepted manuscripts are subject to Article Processing Charges.</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/label[@class="sc-ckVGcZ cxjfej"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEfiles.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEfiles.rs new file mode 100644 index 000000000..784175d54 --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEfiles.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>hasEfiles</name> + <tag></tag> + <elementGuidId>dd25b255-21f2-4526-92a5-2db7ece4f197</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[value="has-efiles"]</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>I have the electronic files of any supplementary materials (e.g., datasets, images, audio, video) that I want to submit with the manuscript.</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/label[@class="sc-ckVGcZ cxjfej"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEmail.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEmail.rs new file mode 100644 index 000000000..35af8ab8f --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasEmail.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>hasEmail</name> + <tag></tag> + <elementGuidId>13761dde-a1e9-4ff7-97fe-9694a1a140c5</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[value="has-email"]</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>I have the email addresses of all the co-authors of the manuscript.</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/label[@class="sc-ckVGcZ cxjfej"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasManuscript.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasManuscript.rs new file mode 100644 index 000000000..58c501ee5 --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasManuscript.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>hasManuscript</name> + <tag></tag> + <elementGuidId>8cd4a6ac-d543-420b-98e4-c316b0f2f2e7</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[value="has-manuscript"]</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>I have the manuscript file in Microsoft Word or Adobe PDF format with the tables and figures integrated in the manuscript body.</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/label[@class="sc-ckVGcZ gGLFyI"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasOrcid.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasOrcid.rs new file mode 100644 index 000000000..e01ccd097 --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/hasOrcid.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>hasOrcid</name> + <tag></tag> + <elementGuidId>32145bba-07b3-4b32-97a4-e5171fa09233</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value></value> + </entry> + <entry> + <key>XPATH</key> + <value>//div[@data-test="declarations"]/div/label/span[contains(text(),"ORCID")]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>I'm aware that an ORCID ID is required for the corresponding author before the article can be published (if accepted). The ORCID ID should added via your user account.</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/label[@class="sc-ckVGcZ cxjfej"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewManuscript/preSubmissionChecklist/submissionInstitutional.rs b/automation/Object Repository/NewManuscript/preSubmissionChecklist/submissionInstitutional.rs new file mode 100644 index 000000000..194668e02 --- /dev/null +++ b/automation/Object Repository/NewManuscript/preSubmissionChecklist/submissionInstitutional.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>submissionInstitutional</name> + <tag></tag> + <elementGuidId>ce0c512d-c875-44d5-8590-85f19ce4f076</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value></value> + </entry> + <entry> + <key>XPATH</key> + <value>//div[@data-test="declarations"]/div/label/span[contains(text(),"my submission")]</value> + </entry> + </selectorCollection> + <selectorMethod>XPATH</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>I am aware that if my submission is covered by an institutional membership, Hindawi will share details of the manuscript with the administrator of the membership.</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="sc-LKuAh exAItN"]/div[@class="sc-bmyXtO iUwCnl"]/form[@class="sc-dEoRIm bSWzXx"]/div[2]/div[1]/div[1]/label[@class="sc-ckVGcZ cxjfej"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/Resume/goToDashboard.rs b/automation/Object Repository/Resume/goToDashboard.rs new file mode 100644 index 000000000..f7dda914f --- /dev/null +++ b/automation/Object Repository/Resume/goToDashboard.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>goToDashboard</name> + <tag></tag> + <elementGuidId>9bd99210-d40c-41f2-b9eb-847f986e9bbd</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[class="sc-kgoBCf jJDfiI"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Go to Dashboard</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eTpRJs eCRGdm"]/div[@class="sc-chbbiW ctCDUI"]/div[1]/button[@class="sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/Resume/resumeSubmission.rs b/automation/Object Repository/Resume/resumeSubmission.rs new file mode 100644 index 000000000..58e834926 --- /dev/null +++ b/automation/Object Repository/Resume/resumeSubmission.rs @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>resumeSubmission</name> + <tag></tag> + <elementGuidId>cfa9f688-715a-4703-9c0a-46288ab27113</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[data-test="button-resume-submission"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-CtfFt hUmVm sc-chPdSV eCXitr</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>data-test</name> + <type>Main</type> + <value>button-resume-submission</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>RESUME SUBMISSION</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-eIHaNI ieZnUp"]/div[@class="sc-eTpRJs eCRGdm"]/div[1]/div[@class="sc-dliRfk ihIxZE"]/div[3]/div[@class="sc-VJcYb hJJSUl"]/div[1]/div[@class="sc-itybZL gYcDxH"]/div[@class="sc-TFwJa drleuT"]/div[@class="sc-eMigcr zjJZm"]/div[@class="sc-hGoxap cbdRVR"]/button[@class="sc-CtfFt hUmVm sc-chPdSV eCXitr"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/SignIn/.meta b/automation/Object Repository/SignIn/.meta new file mode 100644 index 000000000..a385a1b61 --- /dev/null +++ b/automation/Object Repository/SignIn/.meta @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FolderEntity> + <description>folder</description> + <name>SignIn</name> + <tag></tag> + <folderType>WEBELEMENT</folderType> +</FolderEntity> diff --git a/automation/Object Repository/SignIn/LoginButton.rs b/automation/Object Repository/SignIn/LoginButton.rs new file mode 100644 index 000000000..9685dc059 --- /dev/null +++ b/automation/Object Repository/SignIn/LoginButton.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>LoginButton</name> + <tag></tag> + <elementGuidId>4bf556e3-9a8c-4577-ac69-f0ba05bf79a6</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>button[type="submit"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>button</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>submit</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>Login-local_button-2V-wyVs0 sc-kgoBCf jJDfiI</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Login</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="Login-local_root-28yxoK4a"]/form[@class="Login-local_form-N-RCy5To"]/button[@class="Login-local_button-2V-wyVs0 sc-kgoBCf jJDfiI"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/SignIn/passwordField.rs b/automation/Object Repository/SignIn/passwordField.rs new file mode 100644 index 000000000..915da5924 --- /dev/null +++ b/automation/Object Repository/SignIn/passwordField.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>passwordField</name> + <tag></tag> + <elementGuidId>4f096b22-ebe7-4747-99f7-50595df00fae</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="password"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>password</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>password</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="Login-local_root-28yxoK4a"]/form[@class="Login-local_form-N-RCy5To"]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/SignIn/usernameField.rs b/automation/Object Repository/SignIn/usernameField.rs new file mode 100644 index 000000000..33f5eee37 --- /dev/null +++ b/automation/Object Repository/SignIn/usernameField.rs @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>usernameField</name> + <tag></tag> + <elementGuidId>c24bfa98-382a-45ef-9e36-671d6c2276bb</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[name="username"]</value> + </entry> + <entry> + <key>XPATH</key> + <value></value> + </entry> + <entry> + <key>BASIC</key> + <value>//input[@type = 'text' and @name = 'username']</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>input</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>type</name> + <type>Main</type> + <value>text</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hzDkRC dhMpPK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>name</name> + <type>Main</type> + <value>username</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-fyjhYU bulmcW"]/div[@class="sc-ugnQR hguLEQ"]/div[@class="Login-local_root-28yxoK4a"]/form[@class="Login-local_form-N-RCy5To"]/label[@class="sc-Rmtcm jikjir"]/input[@class="sc-hzDkRC dhMpPK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Scripts/Add new manuscript/Add a new manuscript/Script1520433593112.groovy b/automation/Scripts/Add new manuscript/Add a new manuscript/Script1520433593112.groovy new file mode 100644 index 000000000..f40227d1c --- /dev/null +++ b/automation/Scripts/Add new manuscript/Add a new manuscript/Script1520433593112.groovy @@ -0,0 +1,174 @@ +import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint +import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase +import static com.kms.katalon.core.testdata.TestDataFactory.findTestData +import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject +import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint +import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile +import com.kms.katalon.core.model.FailureHandling as FailureHandling +import com.kms.katalon.core.testcase.TestCase as TestCase +import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory +import com.kms.katalon.core.testdata.TestData as TestData +import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory +import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository +import com.kms.katalon.core.testobject.TestObject as TestObject +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI +import internal.GlobalVariable as GlobalVariable +import org.junit.After as After +import org.openqa.selenium.Keys as Keys + + +WebUI.openBrowser(null) + +WebUI.navigateToUrl('http://localhost:3000') + +username = findTestObject('SignIn/usernameField') + +WebUI.click(username) + +WebUI.setText(username, 'vlad') + +password = findTestObject('SignIn/passwordField') + +WebUI.click(password) + +WebUI.setText(password, '123123123') + +loginButton = findTestObject('SignIn/LoginButton') + +WebUI.click(loginButton) + +newButton = findTestObject('NewManuscript/journalfFieldSelection/New') + +WebUI.click(newButton) + +GlobalVariable.G_manuscriptID = '1231234' + +journal = findTestObject('NewManuscript/journalfFieldSelection/Journal') + +WebUI.click(journal) + +hindawiFaraday = findTestObject('NewManuscript/journalfFieldSelection/HindawiFaraday') + +WebUI.waitForElementVisible(newButton, 2) + +WebUI.click(hindawiFaraday) +WebUI.click(hindawiFaraday) + +issue = findTestObject('NewManuscript/journalfFieldSelection/Issue') + +WebUI.click(issue) + +regularIssues = findTestObject('NewManuscript/journalfFieldSelection/RegularIssues') + +WebUI.click(regularIssues) + +nextButton = findTestObject('NewManuscript/journalfFieldSelection/Next') + +WebUI.click(nextButton) + +hasEmail = findTestObject('NewManuscript/preSubmissionChecklist/hasEmail') + +WebUI.click(hasEmail) + +hasManuscript = findTestObject('NewManuscript/preSubmissionChecklist/hasManuscript') + +WebUI.click(hasManuscript) + +hasEfiles = findTestObject('NewManuscript/preSubmissionChecklist/hasEfiles') + +WebUI.click(hasEfiles) + +awareAndAccept = findTestObject('NewManuscript/preSubmissionChecklist/awareAndAccept') + +WebUI.click(awareAndAccept) + +hasOrcid = findTestObject('NewManuscript/preSubmissionChecklist/hasOrcid') + +WebUI.click(hasOrcid) + +submissionInstitutional = findTestObject('NewManuscript/preSubmissionChecklist/submissionInstitutional') + +WebUI.click(submissionInstitutional) + +Next = findTestObject('NewManuscript/preSubmissionChecklist/Next') + +WebUI.click(Next) + +manuscriptTitle = findTestObject('NewManuscript/manuscriptAuthorsDetails/manuscriptTitle') + +WebUI.click(manuscriptTitle) + +WebUI.sendKeys(manuscriptTitle, 'A new random title') + +manuscriptType = findTestObject('NewManuscript/manuscriptAuthorsDetails/manuscriptType') + +WebUI.click(manuscriptType) + +research = findTestObject('NewManuscript/manuscriptAuthorsDetails/research') + +WebUI.click(research) + +abstractField = findTestObject('NewManuscript/manuscriptAuthorsDetails/abstractField') + +WebUI.click(abstractField) + +WebUI.sendKeys(abstractField, 'A new random abstract text') + +addAuthor = findTestObject('NewManuscript/manuscriptAuthorsDetails/addAuthor') + +WebUI.click(addAuthor) + +firstName = findTestObject('NewManuscript/manuscriptAuthorsDetails/firstName') + +WebUI.setText(firstName, 'Vlad') + +lastName = findTestObject('NewManuscript/manuscriptAuthorsDetails/lastName') + +WebUI.setText(lastName, 'Stegaru') + +email = findTestObject('NewManuscript/manuscriptAuthorsDetails/email') + +WebUI.setText(email, 'vlad.stegaru+newuser1@thinslices.com') + +affiliation = findTestObject('NewManuscript/manuscriptAuthorsDetails/affiliation') + +WebUI.setText(affiliation, 'University') + +country = findTestObject('NewManuscript/manuscriptAuthorsDetails/country') + +WebUI.click(country) + +Canada = findTestObject('NewManuscript/manuscriptAuthorsDetails/Canada') + +WebUI.click(Canada) + +SaveButton = findTestObject('NewManuscript/manuscriptAuthorsDetails/Save') + +WebUI.click(SaveButton) + +noButton = findTestObject('NewManuscript/manuscriptAuthorsDetails/no') + +WebUI.click(noButton) + +NextButton = findTestObject('NewManuscript/manuscriptAuthorsDetails/Next') + +WebUI.click(NextButton) + +attachFile = findTestObject('NewManuscript/manuscriptFilesUpload/attachFile') +WebUI.uploadFile(attachFile, '/Users/vladstegaru/Documents/Hindawi/attachements/document.pdf') + +submitManuscript = findTestObject('NewManuscript/manuscriptFilesUpload/submitManuscript') + +WebUI.click(submitManuscript) + +goToDashboard = findTestObject('Resume/goToDashboard') + +WebUI.click(goToDashboard) + +WebUI.closeBrowser() + diff --git a/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy b/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy new file mode 100644 index 000000000..4c915e92d --- /dev/null +++ b/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy @@ -0,0 +1,43 @@ +import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint +import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase +import static com.kms.katalon.core.testdata.TestDataFactory.findTestData +import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject +import java.util.concurrent.CancellationException as CancellationException +import org.junit.After as After +import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint +import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile +import com.kms.katalon.core.model.FailureHandling as FailureHandling +import com.kms.katalon.core.testcase.TestCase as TestCase +import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory +import com.kms.katalon.core.testdata.TestData as TestData +import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory +import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository +import com.kms.katalon.core.testobject.TestObject as TestObject +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI +import internal.GlobalVariable as GlobalVariable + +WebUI.openBrowser(null) + +WebUI.navigateToUrl('http://localhost:3000') + +username = findTestObject('SignIn/usernameField') +WebUI.click(username) +WebUI.setText(username, 'vlad') + +password = findTestObject('SignIn/passwordField') +WebUI.click(password) +WebUI.setText(password, '123123123') + +loginButton = findTestObject('SignIn/LoginButton') +WebUI.click(loginButton) + +resumeSubmission = findTestObject('Resume/resumeSubmission') +WebUI.click(resumeSubmission) + +Cancel = findTestObject('Object Repository/NewManuscript/journalfFieldSelection/Cancel') +WebUI.click(Cancel) \ No newline at end of file diff --git a/automation/Scripts/Sign In/Sign In flow/Script1520414607328.groovy b/automation/Scripts/Sign In/Sign In flow/Script1520414607328.groovy new file mode 100644 index 000000000..4d3266de8 --- /dev/null +++ b/automation/Scripts/Sign In/Sign In flow/Script1520414607328.groovy @@ -0,0 +1,43 @@ +import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint +import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase +import static com.kms.katalon.core.testdata.TestDataFactory.findTestData +import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject +import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint +import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile +import com.kms.katalon.core.model.FailureHandling as FailureHandling +import com.kms.katalon.core.testcase.TestCase as TestCase +import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory +import com.kms.katalon.core.testdata.TestData as TestData +import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory +import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository +import com.kms.katalon.core.testobject.TestObject as TestObject +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI +import internal.GlobalVariable as GlobalVariable +import org.openqa.selenium.WebDriver as WebDriver +import org.openqa.selenium.WebElement as WebElement +import org.openqa.selenium.interactions.Actions as Actions +import com.kms.katalon.core.webui.common.WebUiCommonHelper as WebUiCommonHelper +import com.kms.katalon.core.webui.driver.DriverFactory as DriverFactory +import org.openqa.selenium.JavascriptExecutor as JavascriptExecutor + +WebUI.openBrowser(null) + +WebUI.navigateToUrl('http://localhost:3000') + +WebUI.click(findTestObject('SignIn/usernameField')) + + +WebUI.setText(findTestObject('SignIn/usernameField'), "vlad") + +WebUI.click(findTestObject('SignIn/passwordField')) + +WebUI.setText(findTestObject('SignIn/passwordField'), "123123123") + +WebUI.click(findTestObject('SignIn/LoginButton')) + + diff --git a/automation/Test Cases/Add new manuscript/Add a new manuscript.tc b/automation/Test Cases/Add new manuscript/Add a new manuscript.tc new file mode 100644 index 000000000..e67b7f167 --- /dev/null +++ b/automation/Test Cases/Add new manuscript/Add a new manuscript.tc @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TestCaseEntity> + <description></description> + <name>Add a new manuscript</name> + <tag></tag> + <comment></comment> + <testCaseGuid>75320485-255a-4adc-be3e-c3a9e8cf5399</testCaseGuid> + <variable> + <defaultValue>'0'</defaultValue> + <description></description> + <id>30a84231-84ba-44cb-9eec-26ad7d97acd5</id> + <masked>false</masked> + <name>G_manuscriptID</name> + </variable> +</TestCaseEntity> diff --git a/automation/Test Cases/Resume submission Redirect.tc b/automation/Test Cases/Resume submission Redirect.tc new file mode 100644 index 000000000..8b49244b5 --- /dev/null +++ b/automation/Test Cases/Resume submission Redirect.tc @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TestCaseEntity> + <description></description> + <name>Resume submission Redirect</name> + <tag></tag> + <comment></comment> + <testCaseGuid>b1e8c453-0030-4896-9e4a-770f07525309</testCaseGuid> +</TestCaseEntity> diff --git a/automation/Test Cases/Sign In/Sign In flow.tc b/automation/Test Cases/Sign In/Sign In flow.tc new file mode 100644 index 000000000..fa8c80535 --- /dev/null +++ b/automation/Test Cases/Sign In/Sign In flow.tc @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TestCaseEntity> + <description></description> + <name>Sign In flow</name> + <tag></tag> + <comment></comment> + <testCaseGuid>78d241c4-0097-452c-96b8-17f4f156e210</testCaseGuid> +</TestCaseEntity> diff --git a/automation/Test Suites/firstTS.groovy b/automation/Test Suites/firstTS.groovy new file mode 100644 index 000000000..49ab4777d --- /dev/null +++ b/automation/Test Suites/firstTS.groovy @@ -0,0 +1,66 @@ +import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint +import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase +import static com.kms.katalon.core.testdata.TestDataFactory.findTestData +import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject + +import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint +import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory +import com.kms.katalon.core.model.FailureHandling as FailureHandling +import com.kms.katalon.core.testcase.TestCase as TestCase +import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory +import com.kms.katalon.core.testdata.TestData as TestData +import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory +import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository +import com.kms.katalon.core.testobject.TestObject as TestObject + +import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS +import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI +import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile + +import internal.GlobalVariable as GlobalVariable + +import com.kms.katalon.core.annotation.SetUp +import com.kms.katalon.core.annotation.SetupTestCase +import com.kms.katalon.core.annotation.TearDown +import com.kms.katalon.core.annotation.TearDownTestCase + +/** + * Some methods below are samples for using SetUp/TearDown in a test suite. + */ + +/** + * Setup test suite environment. + */ +@SetUp(skipped = true) // Please change skipped to be false to activate this method. +def setUp() { + // Put your code here. +} + +/** + * Clean test suites environment. + */ +@TearDown(skipped = true) // Please change skipped to be false to activate this method. +def tearDown() { + // Put your code here. +} + +/** + * Run before each test case starts. + */ +@SetupTestCase(skipped = true) // Please change skipped to be false to activate this method. +def setupTestCase() { + // Put your code here. +} + +/** + * Run after each test case ends. + */ +@TearDownTestCase(skipped = true) // Please change skipped to be false to activate this method. +def tearDownTestCase() { + // Put your code here. +} + +/** + * References: + * Groovy tutorial page: http://docs.groovy-lang.org/next/html/documentation/ + */ \ No newline at end of file diff --git a/automation/Test Suites/firstTS.ts b/automation/Test Suites/firstTS.ts new file mode 100644 index 000000000..b314efc6d --- /dev/null +++ b/automation/Test Suites/firstTS.ts @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TestSuiteEntity> + <description></description> + <name>firstTS</name> + <tag></tag> + <isRerun>false</isRerun> + <mailRecipient></mailRecipient> + <numberOfRerun>0</numberOfRerun> + <pageLoadTimeout>30</pageLoadTimeout> + <pageLoadTimeoutDefault>true</pageLoadTimeoutDefault> + <rerunFailedTestCasesOnly>false</rerunFailedTestCasesOnly> + <testSuiteGuid>f13b4374-3272-420a-8e20-e8751334e62d</testSuiteGuid> + <testCaseLink> + <guid>03b92392-1421-4db8-b800-d82f1d688a71</guid> + <isReuseDriver>false</isReuseDriver> + <isRun>true</isRun> + <testCaseId>Test Cases/Add new manuscript/Add a new manuscript</testCaseId> + <variableLink> + <testDataLinkId></testDataLinkId> + <type>SCRIPT_VARIABLE</type> + <value>null</value> + <variableId>30a84231-84ba-44cb-9eec-26ad7d97acd5</variableId> + </variableLink> + </testCaseLink> + <testCaseLink> + <guid>99bf045f-3219-4350-8823-3217d4676eb9</guid> + <isReuseDriver>false</isReuseDriver> + <isRun>true</isRun> + <testCaseId>Test Cases/Resume submission Redirect</testCaseId> + </testCaseLink> +</TestSuiteEntity> diff --git a/automation/bin/.gitignore b/automation/bin/.gitignore new file mode 100644 index 000000000..71426bcd7 --- /dev/null +++ b/automation/bin/.gitignore @@ -0,0 +1,3 @@ +/keyword/ +/lib/ +/listener/ diff --git a/automation/console.properties b/automation/console.properties new file mode 100644 index 000000000..b23fe2a5c --- /dev/null +++ b/automation/console.properties @@ -0,0 +1,7 @@ +#Wed Mar 07 11:03:08 EET 2018 +deviceId= +kobitonDeviceId= +qTestDestId= +qTestDestType= +remoteWebDriverType=Selenium +remoteWebDriverUrl= diff --git a/automation/settings/internal/com.kms.katalon.composer.testcase.settings.properties b/automation/settings/internal/com.kms.katalon.composer.testcase.settings.properties new file mode 100644 index 000000000..e69de29bb diff --git a/automation/settings/internal/com.kms.katalon.execution.properties b/automation/settings/internal/com.kms.katalon.execution.properties new file mode 100644 index 000000000..e69de29bb diff --git a/automation/settings/internal/com.kms.katalon.execution.webui.properties b/automation/settings/internal/com.kms.katalon.execution.webui.properties new file mode 100644 index 000000000..e69de29bb diff --git a/automation/settings/internal/com.kms.katalon.integration.jira.properties b/automation/settings/internal/com.kms.katalon.integration.jira.properties new file mode 100644 index 000000000..e69de29bb diff --git a/automation/settings/internal/com.kms.katalon.integration.qtest.properties b/automation/settings/internal/com.kms.katalon.integration.qtest.properties new file mode 100644 index 000000000..e69de29bb -- GitLab