Skip to content
Snippets Groups Projects
Commit 95125582 authored by Vlad's avatar Vlad
Browse files

test:automation test cases fixes

parent 01c20404
No related branches found
No related tags found
No related merge requests found
Showing
with 368 additions and 11 deletions
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/20180326_165829/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')
}
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/20180326_170051/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')
}
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/20180326_170213/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')
}
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/20180326_170424/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')
}
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/20180326_171612/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')
}
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/20180326_172345/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')
}
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>Professor</name>
<tag></tag>
<elementGuidId>eba9b5bd-3de2-4ba0-87a2-6de8cb955713</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value>//div[contains(text(),&quot;Professor&quot;)]</value>
</entry>
</selectorCollection>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
......@@ -7,10 +7,14 @@
<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>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value>//a[contains(text(),&quot;Edit&quot;)]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
<webElementProperties>
<isSelected>true</isSelected>
......
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>admin</name>
<tag></tag>
<elementGuidId>f8d9253b-e777-4c8e-a9f9-c9853441ccf3</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value>//span[contains(text(),&quot;Admin&quot;)]</value>
</entry>
<entry>
<key>CSS</key>
<value></value>
</entry>
</selectorCollection>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>affiliation</name>
<tag></tag>
<elementGuidId>4291041c-0bce-4713-af17-89c652ba2531</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>CSS</key>
<value>input[name=&quot;affiliation&quot;]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>author</name>
<tag></tag>
<elementGuidId>201e73e0-b947-4620-bf6d-2596ed72498c</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>CSS</key>
<value>input[name=&quot;author&quot;]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>back</name>
<tag></tag>
<elementGuidId>67040fc1-b9eb-4a70-8d63-2ef93cdf0b28</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value>//button[contains(text(),&quot;Back&quot;)]</value>
</entry>
</selectorCollection>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>editorInChief</name>
<tag></tag>
<elementGuidId>d868d422-04b5-4c62-b4a8-901287c62d0d</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value>//span[contains(text(),&quot;Editor&quot;)]</value>
</entry>
<entry>
<key>CSS</key>
<value></value>
</entry>
</selectorCollection>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>firstName</name>
<tag></tag>
<elementGuidId>6a96a983-234f-41e9-ae31-2049b21d0559</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>CSS</key>
<value>input[name=&quot;firstName&quot;]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>lastName</name>
<tag></tag>
<elementGuidId>9fdd634e-efe0-41a9-bd7e-e3dabdab2c42</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>CSS</key>
<value>input[name=&quot;lastName&quot;]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>save</name>
<tag></tag>
<elementGuidId>5459e992-448c-44a0-9afc-90c27303e61d</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>CSS</key>
<value>button[type=&quot;submit&quot;]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>td_vlad.stegarunewuserthinslic</name>
<name>td_admin</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>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value></value>
<value>//td[contains(text(),&quot;admin@mailinator.com&quot;)]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
<webElementProperties>
<isSelected>true</isSelected>
......
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>titleDropDown</name>
<tag></tag>
<elementGuidId>81a68a81-b445-4092-96fe-b97761eb9fda</elementGuidId>
<selectorCollection>
<entry>
<key>BASIC</key>
<value></value>
</entry>
<entry>
<key>CSS</key>
<value>div[role=&quot;listbox&quot;] button</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
</WebElementEntity>
<?xml version="1.0" encoding="UTF-8"?>
<WebElementEntity>
<description></description>
<name>review</name>
<name>Research</name>
<tag></tag>
<elementGuidId>073d58c9-eab0-4bda-b090-aa974ebc3bd3</elementGuidId>
<selectorCollection>
<entry>
<key>CSS</key>
<value>div[data-test=&quot;metadata.type&quot;] div[role=&quot;listbox&quot;] div div:nth-child(2)</value>
<value></value>
</entry>
<entry>
<key>XPATH</key>
<value>//div[contains(text(),&quot;Research&quot;)]</value>
</entry>
</selectorCollection>
<selectorMethod>CSS</selectorMethod>
<selectorMethod>XPATH</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
<webElementProperties>
<isSelected>true</isSelected>
......
......@@ -5,12 +5,16 @@
<tag></tag>
<elementGuidId>e12e5c46-5ca1-4e4f-96cb-467b1aa9be59</elementGuidId>
<selectorCollection>
<entry>
<key>CSS</key>
<value>button[data-test=&quot;button-add-author&quot;]</value>
</entry>
<entry>
<key>XPATH</key>
<value>//div[@data-test=&quot;authors&quot;]/div/div/button</value>
<value></value>
</entry>
</selectorCollection>
<selectorMethod>XPATH</selectorMethod>
<selectorMethod>CSS</selectorMethod>
<useRalativeImagePath>false</useRalativeImagePath>
<webElementProperties>
<isSelected>true</isSelected>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment