From 7f5f95d828f921a3ead167b8012abb52479e7919 Mon Sep 17 00:00:00 2001 From: Vlad <stegaru.vlad@gmail.com> Date: Fri, 16 Mar 2018 08:58:36 +0200 Subject: [PATCH] Add new user automation test --- ...roovy => TempTestCase1521149554810.groovy} | 6 +- .../Libs/TempTestCase1521149664483.groovy | 25 ++++++ .../Libs/TempTestCase1521149796088.groovy | 25 ++++++ .../Libs/TempTestCase1521149956403.groovy | 25 ++++++ .../Libs/TempTestCase1521150022384.groovy | 25 ++++++ automation/Object Repository/NewUser/Dr.rs | 64 ++++++++++++++ .../Object Repository/NewUser/EditUser/.meta | 7 ++ .../Object Repository/NewUser/a_Edit.rs | 50 +++++++++++ .../Object Repository/NewUser/addUser.rs | 47 ++++++++++ automation/Object Repository/NewUser/admin.rs | 40 +++++++++ .../NewUser/adminDashboard.rs | 47 ++++++++++ .../Object Repository/NewUser/affiliation.rs | 50 +++++++++++ .../Object Repository/NewUser/author.rs | 68 +++++++++++++++ automation/Object Repository/NewUser/back.rs | 50 +++++++++++ .../NewUser/editorInChied.rs | 40 +++++++++ automation/Object Repository/NewUser/email.rs | 50 +++++++++++ .../Object Repository/NewUser/firstName.rs | 50 +++++++++++ .../Object Repository/NewUser/lastName.rs | 50 +++++++++++ automation/Object Repository/NewUser/login.rs | 50 +++++++++++ .../Object Repository/NewUser/password.rs | 50 +++++++++++ .../Object Repository/NewUser/roleAdmin.rs | 36 ++++++++ .../Object Repository/NewUser/roleDropDown.rs | 50 +++++++++++ automation/Object Repository/NewUser/save.rs | 50 +++++++++++ .../Object Repository/NewUser/signUp.rs | 50 +++++++++++ .../NewUser/td_vlad.stegarunewuserthinslic.rs | 40 +++++++++ .../NewUser/titleDropDown.rs | 50 +++++++++++ .../Object Repository/NewUser/username.rs | 50 +++++++++++ automation/Object Repository/NewUser/users.rs | 47 ++++++++++ .../Add a new user/Script1521123804636.groovy | 78 +++++++++++++++++ .../Edit new user/Script1521147575383.groovy | 85 +++++++++++++++++++ .../Script1520433593112.groovy | 7 +- .../Script1520866853834.groovy | 7 +- .../Add a new user/Add a new user.tc | 8 ++ .../Add a new user/Edit new user.tc | 8 ++ 34 files changed, 1376 insertions(+), 9 deletions(-) rename automation/Libs/{TempTestCase1521038318313.groovy => TempTestCase1521149554810.groovy} (68%) create mode 100644 automation/Libs/TempTestCase1521149664483.groovy create mode 100644 automation/Libs/TempTestCase1521149796088.groovy create mode 100644 automation/Libs/TempTestCase1521149956403.groovy create mode 100644 automation/Libs/TempTestCase1521150022384.groovy create mode 100644 automation/Object Repository/NewUser/Dr.rs create mode 100644 automation/Object Repository/NewUser/EditUser/.meta create mode 100644 automation/Object Repository/NewUser/a_Edit.rs create mode 100644 automation/Object Repository/NewUser/addUser.rs create mode 100644 automation/Object Repository/NewUser/admin.rs create mode 100644 automation/Object Repository/NewUser/adminDashboard.rs create mode 100644 automation/Object Repository/NewUser/affiliation.rs create mode 100644 automation/Object Repository/NewUser/author.rs create mode 100644 automation/Object Repository/NewUser/back.rs create mode 100644 automation/Object Repository/NewUser/editorInChied.rs create mode 100644 automation/Object Repository/NewUser/email.rs create mode 100644 automation/Object Repository/NewUser/firstName.rs create mode 100644 automation/Object Repository/NewUser/lastName.rs create mode 100644 automation/Object Repository/NewUser/login.rs create mode 100644 automation/Object Repository/NewUser/password.rs create mode 100644 automation/Object Repository/NewUser/roleAdmin.rs create mode 100644 automation/Object Repository/NewUser/roleDropDown.rs create mode 100644 automation/Object Repository/NewUser/save.rs create mode 100644 automation/Object Repository/NewUser/signUp.rs create mode 100644 automation/Object Repository/NewUser/td_vlad.stegarunewuserthinslic.rs create mode 100644 automation/Object Repository/NewUser/titleDropDown.rs create mode 100644 automation/Object Repository/NewUser/username.rs create mode 100644 automation/Object Repository/NewUser/users.rs create mode 100644 automation/Scripts/Add a new user/Add a new user/Script1521123804636.groovy create mode 100644 automation/Scripts/Add a new user/Edit new user/Script1521147575383.groovy create mode 100644 automation/Test Cases/Add a new user/Add a new user.tc create mode 100644 automation/Test Cases/Add a new user/Edit new user.tc diff --git a/automation/Libs/TempTestCase1521038318313.groovy b/automation/Libs/TempTestCase1521149554810.groovy similarity index 68% rename from automation/Libs/TempTestCase1521038318313.groovy rename to automation/Libs/TempTestCase1521149554810.groovy index 72da09a02..b22f9b8bc 100644 --- a/automation/Libs/TempTestCase1521038318313.groovy +++ b/automation/Libs/TempTestCase1521149554810.groovy @@ -13,13 +13,13 @@ DriverCleanerCollector.getInstance().addDriverCleaner(new com.kms.katalon.core.w 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') +RunConfiguration.setExecutionSettingFile('/var/folders/3h/5jvs258x4lng1yz2s32ryr4r0000gn/T/Katalon/Test Cases/Add a new user/Edit new user/20180315_233234/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 ) + TestCaseMain.runTestCase('Test Cases/Add a new user/Edit new user', new TestCaseBinding('Test Cases/Add a new user/Edit new user', [:]), FailureHandling.STOP_ON_FAILURE ) } catch (Exception e) { - TestCaseMain.logError(e, 'Test Cases/Add new manuscript/Add a new manuscript') + TestCaseMain.logError(e, 'Test Cases/Add a new user/Edit new user') } diff --git a/automation/Libs/TempTestCase1521149664483.groovy b/automation/Libs/TempTestCase1521149664483.groovy new file mode 100644 index 000000000..a19c40fe6 --- /dev/null +++ b/automation/Libs/TempTestCase1521149664483.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 a new user/Edit new user/20180315_233424/execution.properties') + +TestCaseMain.beforeStart() +try { + + TestCaseMain.runTestCase('Test Cases/Add a new user/Edit new user', new TestCaseBinding('Test Cases/Add a new user/Edit new user', [:]), FailureHandling.STOP_ON_FAILURE ) + +} catch (Exception e) { + TestCaseMain.logError(e, 'Test Cases/Add a new user/Edit new user') +} diff --git a/automation/Libs/TempTestCase1521149796088.groovy b/automation/Libs/TempTestCase1521149796088.groovy new file mode 100644 index 000000000..d8527f70d --- /dev/null +++ b/automation/Libs/TempTestCase1521149796088.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 a new user/Edit new user/20180315_233635/execution.properties') + +TestCaseMain.beforeStart() +try { + + TestCaseMain.runTestCase('Test Cases/Add a new user/Edit new user', new TestCaseBinding('Test Cases/Add a new user/Edit new user', [:]), FailureHandling.STOP_ON_FAILURE ) + +} catch (Exception e) { + TestCaseMain.logError(e, 'Test Cases/Add a new user/Edit new user') +} diff --git a/automation/Libs/TempTestCase1521149956403.groovy b/automation/Libs/TempTestCase1521149956403.groovy new file mode 100644 index 000000000..b464dfc2a --- /dev/null +++ b/automation/Libs/TempTestCase1521149956403.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 a new user/Edit new user/20180315_233916/execution.properties') + +TestCaseMain.beforeStart() +try { + + TestCaseMain.runTestCase('Test Cases/Add a new user/Edit new user', new TestCaseBinding('Test Cases/Add a new user/Edit new user', [:]), FailureHandling.STOP_ON_FAILURE ) + +} catch (Exception e) { + TestCaseMain.logError(e, 'Test Cases/Add a new user/Edit new user') +} diff --git a/automation/Libs/TempTestCase1521150022384.groovy b/automation/Libs/TempTestCase1521150022384.groovy new file mode 100644 index 000000000..f55eb1752 --- /dev/null +++ b/automation/Libs/TempTestCase1521150022384.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 a new user/Edit new user/20180315_234022/execution.properties') + +TestCaseMain.beforeStart() +try { + + TestCaseMain.runTestCase('Test Cases/Add a new user/Edit new user', new TestCaseBinding('Test Cases/Add a new user/Edit new user', [:]), FailureHandling.STOP_ON_FAILURE ) + +} catch (Exception e) { + TestCaseMain.logError(e, 'Test Cases/Add a new user/Edit new user') +} diff --git a/automation/Object Repository/NewUser/Dr.rs b/automation/Object Repository/NewUser/Dr.rs new file mode 100644 index 000000000..eff2346d3 --- /dev/null +++ b/automation/Object Repository/NewUser/Dr.rs @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>Dr</name> + <tag></tag> + <elementGuidId>8bdc9a24-0f0a-4806-9187-24d32796e957</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[contains(text(), 'Dr')]</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>true</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-cMljjf dpAtdf</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Dr</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-eNQAEJ jgsVpS"]/div[@class="sc-cvbbAY cDfiQI"]/div[@class="sc-jWBwVP dVZxvi"]/div[@class="sc-brqgnP bTwMpG"]/div[@class="sc-cMljjf dpAtdf"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/EditUser/.meta b/automation/Object Repository/NewUser/EditUser/.meta new file mode 100644 index 000000000..19883ad9e --- /dev/null +++ b/automation/Object Repository/NewUser/EditUser/.meta @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<FolderEntity> + <description>folder</description> + <name>EditUser</name> + <tag></tag> + <folderType>WEBELEMENT</folderType> +</FolderEntity> diff --git a/automation/Object Repository/NewUser/a_Edit.rs b/automation/Object Repository/NewUser/a_Edit.rs new file mode 100644 index 000000000..e17c1daea --- /dev/null +++ b/automation/Object Repository/NewUser/a_Edit.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>a_Edit</name> + <tag></tag> + <elementGuidId>1ab696f2-d3f9-4d16-a6d1-c6e1e9274fa7</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>#root > div > div > div.sc-drKuOJ.fmUpkt > div > table > tbody > tr:nth-child(1) > td:nth-child(7) > a</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>a</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-bEjcJn hzylbl</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>href</name> + <type>Main</type> + <value>/admin/users/edit/cfcaebdf-82b0-4d06-94d6-687d126165e7</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Edit</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[1]/table[@class="sc-hzDEsm cniXiH"]/tbody[1]/tr[@class="sc-jeCdPy kCgSUu"]/td[7]/a[@class="sc-bEjcJn hzylbl"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/addUser.rs b/automation/Object Repository/NewUser/addUser.rs new file mode 100644 index 000000000..11ddfded4 --- /dev/null +++ b/automation/Object Repository/NewUser/addUser.rs @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>addUser</name> + <tag></tag> + <elementGuidId>603be35e-a2f1-4b42-9155-c50663f2f154</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value></value> + </entry> + <entry> + <key>CSS</key> + <value>button[class="sc-hgHYgh ljXRif"]</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>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-hgHYgh ljXRif</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Â Add User</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[1]/div[@class="sc-eInJlc bZxNvb"]/button[@class="sc-hgHYgh ljXRif"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/admin.rs b/automation/Object Repository/NewUser/admin.rs new file mode 100644 index 000000000..6f4db1db2 --- /dev/null +++ b/automation/Object Repository/NewUser/admin.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>admin</name> + <tag></tag> + <elementGuidId>9be9ae36-fc08-41ea-9e5e-66e6b3424324</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[@class="sc-iQKALj gyquxk"]/div/span[contains(text(),'admin')]</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>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>admin</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-ibxdXY kLiOmR"]/div[@class="sc-iQKALj gyquxk"]/div[1]/span[2]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/adminDashboard.rs b/automation/Object Repository/NewUser/adminDashboard.rs new file mode 100644 index 000000000..05527f1db --- /dev/null +++ b/automation/Object Repository/NewUser/adminDashboard.rs @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>adminDashboard</name> + <tag></tag> + <elementGuidId>e89c9572-6cfd-4b02-a8a3-861c8932498f</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[contains(text(),'Admin dashboard')]</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>class</name> + <type>Main</type> + <value>sc-hrWEMg eeRLUW</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Admin dashboard</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-ibxdXY kLiOmR"]/div[@class="sc-iQKALj gyquxk"]/div[@class="sc-bwCtUz eJpifv"]/div[@class="sc-hrWEMg eeRLUW"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/affiliation.rs b/automation/Object Repository/NewUser/affiliation.rs new file mode 100644 index 000000000..da9a81f56 --- /dev/null +++ b/automation/Object Repository/NewUser/affiliation.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>affiliation</name> + <tag></tag> + <elementGuidId>470c59a2-5fa0-4f30-ac66-e95cbf70d88d</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-bRBYWo cBIccu</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-csuQGl cQCuEk"]/input[@class="sc-bRBYWo cBIccu"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/author.rs b/automation/Object Repository/NewUser/author.rs new file mode 100644 index 000000000..8abb4b6cc --- /dev/null +++ b/automation/Object Repository/NewUser/author.rs @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>author</name> + <tag></tag> + <elementGuidId>75e282fc-78d2-4a0d-aaaf-03af3c9ec268</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//div[contains(text(), 'Author')]</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-cMljjf gYrREv</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Author</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-eNQAEJ jgsVpS"]/div[@class="sc-cvbbAY cDfiQI"]/div[@class="sc-jWBwVP dVZxvi"]/div[@class="sc-brqgnP bTwMpG"]/div[@class="sc-cMljjf gYrREv"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/back.rs b/automation/Object Repository/NewUser/back.rs new file mode 100644 index 000000000..8f46e5514 --- /dev/null +++ b/automation/Object Repository/NewUser/back.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>back</name> + <tag></tag> + <elementGuidId>31117721-59ff-4d5f-ac9c-98912b39b191</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//button[contains(text(),'Back')]</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-VigVT eawDXx</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[@class="sc-eTpRJs juzepW"]/button[@class="sc-VigVT eawDXx"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/editorInChied.rs b/automation/Object Repository/NewUser/editorInChied.rs new file mode 100644 index 000000000..5dcfb48b2 --- /dev/null +++ b/automation/Object Repository/NewUser/editorInChied.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>editorInChied</name> + <tag></tag> + <elementGuidId>34eca5ab-ac60-4162-b582-26cf8ae1d055</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//label[@class="sc-kAzzGY dnReMb"]/input[@name="editorInChief"]</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>span</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Editor in Chief</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-iybRtq cyLdLK"]/div[@class="sc-iQtOjA FBgTe"]/div[3]/label[@class="sc-kAzzGY dnReMb"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/email.rs b/automation/Object Repository/NewUser/email.rs new file mode 100644 index 000000000..ec8cb5187 --- /dev/null +++ b/automation/Object Repository/NewUser/email.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>email</name> + <tag></tag> + <elementGuidId>1858a722-d885-4a1e-b442-cf4f5e56dc49</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-bRBYWo cBIccu</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-csuQGl cQCuEk"]/input[@class="sc-bRBYWo cBIccu"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/firstName.rs b/automation/Object Repository/NewUser/firstName.rs new file mode 100644 index 000000000..1c911543b --- /dev/null +++ b/automation/Object Repository/NewUser/firstName.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>firstName</name> + <tag></tag> + <elementGuidId>1acf4240-f00b-4f93-8833-625af953cbc7</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-bRBYWo cBIccu</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-csuQGl cQCuEk"]/input[@class="sc-bRBYWo cBIccu"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/lastName.rs b/automation/Object Repository/NewUser/lastName.rs new file mode 100644 index 000000000..04f64121c --- /dev/null +++ b/automation/Object Repository/NewUser/lastName.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>lastName</name> + <tag></tag> + <elementGuidId>76427985-e357-418e-bd3c-7c9f6e5821bb</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-bRBYWo cBIccu</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-csuQGl cQCuEk"]/input[@class="sc-bRBYWo cBIccu"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/login.rs b/automation/Object Repository/NewUser/login.rs new file mode 100644 index 000000000..43a596efe --- /dev/null +++ b/automation/Object Repository/NewUser/login.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>login</name> + <tag></tag> + <elementGuidId>13c40cbc-2634-4147-b93b-717f7ea9cc2b</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-jTzLTM jwsELq</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-TOsTZ beQaWr"]/form[1]/button[@class="sc-jTzLTM jwsELq"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/password.rs b/automation/Object Repository/NewUser/password.rs new file mode 100644 index 000000000..fcbea6dfa --- /dev/null +++ b/automation/Object Repository/NewUser/password.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>password</name> + <tag></tag> + <elementGuidId>7f5f3c44-335f-4a8e-9e97-46646ad1755b</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-bRBYWo cBIccu</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-TOsTZ beQaWr"]/form[1]/div[@class="sc-csuQGl cQCuEk"]/input[@class="sc-bRBYWo cBIccu"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/roleAdmin.rs b/automation/Object Repository/NewUser/roleAdmin.rs new file mode 100644 index 000000000..be4985bd6 --- /dev/null +++ b/automation/Object Repository/NewUser/roleAdmin.rs @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>roleAdmin</name> + <tag></tag> + <elementGuidId>e32a2bfe-254a-42d6-b533-255570389045</elementGuidId> + <selectorCollection> + <entry> + <key>XPATH</key> + <value>//label[@class="sc-kAzzGY dnReMb"]/input[@name="admin"]</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>Admin</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-iybRtq cyLdLK"]/div[@class="sc-iQtOjA FBgTe"]/div[4]/label[@class="sc-kAzzGY dnReMb"]/span[1]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/roleDropDown.rs b/automation/Object Repository/NewUser/roleDropDown.rs new file mode 100644 index 000000000..b450ce1c8 --- /dev/null +++ b/automation/Object Repository/NewUser/roleDropDown.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>roleDropDown</name> + <tag></tag> + <elementGuidId>7e0c179c-c8a8-4c69-96b1-d5eed9615c3e</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="role-selector"] button</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-kEYyzF eQSWqQ</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-eNQAEJ jgsVpS"]/div[@class="sc-cvbbAY cDfiQI"]/button[@class="sc-kEYyzF eQSWqQ"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/save.rs b/automation/Object Repository/NewUser/save.rs new file mode 100644 index 000000000..4999eff76 --- /dev/null +++ b/automation/Object Repository/NewUser/save.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>save</name> + <tag></tag> + <elementGuidId>e889f3f3-ff55-4aa4-bbda-6cbab91338b1</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-jTzLTM jwsELq</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Save user</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[@class="sc-eTpRJs juzepW"]/button[@class="sc-jTzLTM jwsELq"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/signUp.rs b/automation/Object Repository/NewUser/signUp.rs new file mode 100644 index 000000000..e54272f1a --- /dev/null +++ b/automation/Object Repository/NewUser/signUp.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>signUp</name> + <tag></tag> + <elementGuidId>19400002-75ea-4914-8827-72d5fa40aaf3</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>a[href="/signup"]</value> + </entry> + </selectorCollection> + <selectorMethod>CSS</selectorMethod> + <useRalativeImagePath>false</useRalativeImagePath> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>tag</name> + <type>Main</type> + <value>a</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>class</name> + <type>Main</type> + <value>sc-gisBJw eWHBkB</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>href</name> + <type>Main</type> + <value>/signup</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Sign up</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-TOsTZ beQaWr"]/div[@class="sc-eerKOB eFhTIp"]/a[@class="sc-gisBJw eWHBkB"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/td_vlad.stegarunewuserthinslic.rs b/automation/Object Repository/NewUser/td_vlad.stegarunewuserthinslic.rs new file mode 100644 index 000000000..f4ef7825b --- /dev/null +++ b/automation/Object Repository/NewUser/td_vlad.stegarunewuserthinslic.rs @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>td_vlad.stegarunewuserthinslic</name> + <tag></tag> + <elementGuidId>1ee7b131-9b37-44ca-a75a-e710f5aa3d91</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>#root > div > div > div.sc-drKuOJ.fmUpkt > div > table > tbody > tr:nth-child(1)</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>td</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>vlad.stegaru+newuser@thinslices.com</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[1]/table[@class="sc-hzDEsm cniXiH"]/tbody[1]/tr[@class="sc-jeCdPy kCgSUu"]/td[2]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/titleDropDown.rs b/automation/Object Repository/NewUser/titleDropDown.rs new file mode 100644 index 000000000..32cc7ea26 --- /dev/null +++ b/automation/Object Repository/NewUser/titleDropDown.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>titleDropDown</name> + <tag></tag> + <elementGuidId>fb697c85-1d88-41ce-b084-64f1bf1ba28f</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>div[data-test="title-selector"] button</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-kEYyzF eQSWqQ</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-ugnQR keFDzo"]/form[@class="sc-eIHaNI bdGTel"]/div[1]/div[@class="sc-cpmKsF huoLCL"]/div[@class="sc-kQsIoO fuwMDp"]/div[2]/div[@class="sc-eNQAEJ jgsVpS"]/div[@class="sc-cvbbAY cDfiQI"]/button[@class="sc-kEYyzF eQSWqQ"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/username.rs b/automation/Object Repository/NewUser/username.rs new file mode 100644 index 000000000..1b371925b --- /dev/null +++ b/automation/Object Repository/NewUser/username.rs @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>username</name> + <tag></tag> + <elementGuidId>5478eb88-8fb8-483f-8f82-f56766b37933</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>input[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-bRBYWo cBIccu</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-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-TOsTZ beQaWr"]/form[1]/div[@class="sc-csuQGl cQCuEk"]/input[@class="sc-bRBYWo cBIccu"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Object Repository/NewUser/users.rs b/automation/Object Repository/NewUser/users.rs new file mode 100644 index 000000000..699f97dd4 --- /dev/null +++ b/automation/Object Repository/NewUser/users.rs @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?> +<WebElementEntity> + <description></description> + <name>users</name> + <tag></tag> + <elementGuidId>fc06cfc7-c7e0-449f-b85c-d7c1f34f21c3</elementGuidId> + <selectorCollection> + <entry> + <key>CSS</key> + <value>#root > div > div > div.sc-drKuOJ.fmUpkt > div > div > div:nth-child(2)</value> + </entry> + <entry> + <key>XPATH</key> + <value>//div[@class="sc-eXNvrr hVBWZK"]/span[contains(text(),'Users')]</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>class</name> + <type>Main</type> + <value>sc-eXNvrr hVBWZK</value> + </webElementProperties> + <webElementProperties> + <isSelected>true</isSelected> + <matchCondition>equals</matchCondition> + <name>text</name> + <type>Main</type> + <value>Users</value> + </webElementProperties> + <webElementProperties> + <isSelected>false</isSelected> + <matchCondition>equals</matchCondition> + <name>xpath</name> + <type>Main</type> + <value>id("root")/div[@class="sc-cmTdod hZxvxw"]/div[@class="sc-dyGzUR bQYZEl"]/div[@class="sc-drKuOJ fmUpkt"]/div[@class="sc-hIVACf dydoGZ"]/div[@class="sc-gVyKpa knVGhf"]/div[@class="sc-eXNvrr hVBWZK"]</value> + </webElementProperties> +</WebElementEntity> diff --git a/automation/Scripts/Add a new user/Add a new user/Script1521123804636.groovy b/automation/Scripts/Add a new user/Add a new user/Script1521123804636.groovy new file mode 100644 index 000000000..dac24ae8c --- /dev/null +++ b/automation/Scripts/Add a new user/Add a new user/Script1521123804636.groovy @@ -0,0 +1,78 @@ +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 + +WebUI.openBrowser(null) +WebUI.navigateToUrl('https://xpub-faraday.now.sh') + +username = findTestObject("NewUser/username") +WebUI.click(username) +WebUI.setText(username, 'admin') + +password = findTestObject("NewUser/password") +WebUI.click(password) +WebUI.setText(password, 'admin123') + +login = findTestObject("NewUser/login") +WebUI.click(login) + +admin = findTestObject("NewUser/admin") +WebUI.click(admin) + +adminDashboard = findTestObject("NewUser/adminDashboard") +WebUI.click(adminDashboard) + +users = findTestObject("NewUser/users") +WebUI.waitForElementVisible(users, 2) +WebUI.click(users) + +addUser = findTestObject("NewUser/addUser") +WebUI.click(addUser) + +email = findTestObject("NewUser/email") +WebUI.click(email) +WebUI.setText(email, 'vlad.stegaru+newuser@thinslices.com') + +roleDropDown = findTestObject("NewUser/roleDropDown") +WebUI.click(roleDropDown) + +author = findTestObject("NewUser/author") +WebUI.click(author) + +firstName = findTestObject("NewUser/firstName") +WebUI.click(firstName) +WebUI.setText(firstName, 'Vlad') + +lastName = findTestObject("NewUser/lastName") +WebUI.click(lastName) +WebUI.setText(lastName, 'Stegaru') + +affiliation = findTestObject("NewUser/affiliation") +WebUI.click(affiliation) +WebUI.setText(affiliation, 'College') + +title = findTestObject("NewUser/titleDropDown") +WebUI.click(title) + +dr = findTestObject("NewUser/Dr") +WebUI.click(dr) + +save = findTestObject("NewUser/save") +WebUI.click(save) \ No newline at end of file diff --git a/automation/Scripts/Add a new user/Edit new user/Script1521147575383.groovy b/automation/Scripts/Add a new user/Edit new user/Script1521147575383.groovy new file mode 100644 index 000000000..fc39b005f --- /dev/null +++ b/automation/Scripts/Add a new user/Edit new user/Script1521147575383.groovy @@ -0,0 +1,85 @@ +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 + +WebUI.openBrowser(null) +WebUI.navigateToUrl('https://xpub-faraday.now.sh') + +username = findTestObject("NewUser/username") +WebUI.click(username) +WebUI.setText(username, 'admin') + +password = findTestObject("NewUser/password") +WebUI.click(password) +WebUI.setText(password, 'admin123') + +login = findTestObject("NewUser/login") +WebUI.click(login) + +admin = findTestObject("NewUser/admin") +WebUI.click(admin) + +adminDashboard = findTestObject("NewUser/adminDashboard") +WebUI.click(adminDashboard) + +users = findTestObject("NewUser/users") +WebUI.waitForElementVisible(users, 2) +WebUI.click(users) + +editUserVlad = findTestObject("NuewUser/td_vlad.stegarunewuserthinslic") +WebUI.mouseOver(editUserVlad) +WebUI.waitForElementVisible(edit, 2) + +edit = findTestObject("NewUSer/a_Edit") +WebUI.click(edit) + +firstName = findTestObject("NewUser/firstName") +WebUI.click(firstName) +WebUI.setText(firstName, 'John') + +lastName = findTestObject("NewUser/lastName") +WebUI.click(lastName) +WebUI.setText(lastName, 'Smith') + +affiliation = findTestObject("NewUser/affiliation") +WebUI.click(affiliation) +WebUI.setText(affiliation, 'University') + +title = findTestObject("NewUser/titleDropDown") +WebUI.click(title) + +dr = findTestObject("NewUser/dr") +WebUI.click(dr) + +editorInChief = findTestObject("NewUser/editorInChief") +WebUI.click(editorInChief) + +save = findTestObject("NewUser/save") +WebUI.click(save) + + + + + + + + + + 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 index f40227d1c..6eaec5e0c 100644 --- a/automation/Scripts/Add new manuscript/Add a new manuscript/Script1520433593112.groovy +++ b/automation/Scripts/Add new manuscript/Add a new manuscript/Script1520433593112.groovy @@ -24,19 +24,19 @@ import org.openqa.selenium.Keys as Keys WebUI.openBrowser(null) -WebUI.navigateToUrl('http://localhost:3000') +WebUI.navigateToUrl('https://xpub-faraday.now.sh') username = findTestObject('SignIn/usernameField') WebUI.click(username) -WebUI.setText(username, 'vlad') +WebUI.setText(username, 'admin') password = findTestObject('SignIn/passwordField') WebUI.click(password) -WebUI.setText(password, '123123123') +WebUI.setText(password, 'admin123') loginButton = findTestObject('SignIn/LoginButton') @@ -56,7 +56,6 @@ hindawiFaraday = findTestObject('NewManuscript/journalfFieldSelection/HindawiFar WebUI.waitForElementVisible(newButton, 2) -WebUI.click(hindawiFaraday) WebUI.click(hindawiFaraday) issue = findTestObject('NewManuscript/journalfFieldSelection/Issue') diff --git a/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy b/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy index 4c915e92d..1f5ad7619 100644 --- a/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy +++ b/automation/Scripts/Resume submission Redirect/Script1520866853834.groovy @@ -36,8 +36,11 @@ WebUI.setText(password, '123123123') loginButton = findTestObject('SignIn/LoginButton') WebUI.click(loginButton) +New = findTestObject("NewManuscript/journalFieldSelection/New") +WebUI.click(New) + resumeSubmission = findTestObject('Resume/resumeSubmission') WebUI.click(resumeSubmission) -Cancel = findTestObject('Object Repository/NewManuscript/journalfFieldSelection/Cancel') -WebUI.click(Cancel) \ No newline at end of file +cancel = findTestObject("NewManuscript/journalFieldSelection/Cancel") +WebUI.click(cancel) diff --git a/automation/Test Cases/Add a new user/Add a new user.tc b/automation/Test Cases/Add a new user/Add a new user.tc new file mode 100644 index 000000000..90ffcdbf6 --- /dev/null +++ b/automation/Test Cases/Add a new user/Add a new user.tc @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TestCaseEntity> + <description></description> + <name>Add a new user</name> + <tag></tag> + <comment></comment> + <testCaseGuid>4fb461a2-86c3-481b-bdab-82f1038de954</testCaseGuid> +</TestCaseEntity> diff --git a/automation/Test Cases/Add a new user/Edit new user.tc b/automation/Test Cases/Add a new user/Edit new user.tc new file mode 100644 index 000000000..ff1df9a36 --- /dev/null +++ b/automation/Test Cases/Add a new user/Edit new user.tc @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<TestCaseEntity> + <description></description> + <name>Edit new user</name> + <tag></tag> + <comment></comment> + <testCaseGuid>8834effa-adeb-4c54-829d-0f79db5f7d4f</testCaseGuid> +</TestCaseEntity> -- GitLab