forked from ckh08045/AutoPercenty
227 lines
8.2 KiB
Plaintext
227 lines
8.2 KiB
Plaintext
{
|
|
"id": "30063f2a-106a-405f-91ab-b35d099d4e55",
|
|
"version": "2.0",
|
|
"name": "test1",
|
|
"url": "https://www.percenty.co.kr",
|
|
"tests": [{
|
|
"id": "767c39f9-96f2-45ab-ba8b-bd791d219e4e",
|
|
"name": "test1",
|
|
"commands": [{
|
|
"id": "2b3dcb84-c18d-4dbc-a30e-272e72ea958c",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "17193eeb-fe07-47d5-815e-ef5bbe0ebae1",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "974x1032",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "8a1a14e5-22ae-4a78-9a58-2c11282ee55c",
|
|
"comment": "",
|
|
"command": "mouseOver",
|
|
"target": "css=.signList > .ant-btn-default > span",
|
|
"targets": [
|
|
["css=.signList > .ant-btn-default > span", "css:finder"],
|
|
["xpath=//div[@id='root']/div/div/header/div/div/div/button[2]/span", "xpath:idRelative"],
|
|
["xpath=//button[2]/span", "xpath:position"],
|
|
["xpath=//span[contains(.,'로그인')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "73440b50-a5d0-4dc7-8592-a9636ed3f27d",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.signList > .ant-btn-default > span",
|
|
"targets": [
|
|
["css=.signList > .ant-btn-default > span", "css:finder"],
|
|
["xpath=//div[@id='root']/div/div/header/div/div/div/button[2]/span", "xpath:idRelative"],
|
|
["xpath=//button[2]/span", "xpath:position"],
|
|
["xpath=//span[contains(.,'로그인')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "2a6ae23a-82f9-4d62-9eed-50c3fafd78b1",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "css=.ant-input:nth-child(4)",
|
|
"targets": [
|
|
["css=.ant-input:nth-child(4)", "css:finder"],
|
|
["xpath=//input[@value='leensoo1nt@gmail.com']", "xpath:attributes"],
|
|
["xpath=//div[@id='root']/div/div/div/div[3]/input", "xpath:idRelative"],
|
|
["xpath=//input", "xpath:position"]
|
|
],
|
|
"value": "leensoo1nt@gmail.com"
|
|
}, {
|
|
"id": "a4b45e77-90f6-4517-a970-8f7005410129",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.ant-switch-handle",
|
|
"targets": [
|
|
["css=.ant-switch-handle", "css:finder"],
|
|
["xpath=//div[@id='root']/div/div/div/div[3]/div[3]/button/div", "xpath:idRelative"],
|
|
["xpath=//button/div", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "03e10ed9-293c-4be5-ba11-fe96ce64a8cb",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.ant-input:nth-child(2)",
|
|
"targets": [
|
|
["css=.ant-input:nth-child(2)", "css:finder"],
|
|
["xpath=//input[@value='']", "xpath:attributes"],
|
|
["xpath=//div[@id='root']/div/div/div/div[4]/input", "xpath:idRelative"],
|
|
["xpath=//div[4]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "ad155faa-e5e3-4e83-8304-3070697f8c5d",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "css=.ant-input:nth-child(2)",
|
|
"targets": [
|
|
["css=.ant-input:nth-child(2)", "css:finder"],
|
|
["xpath=//input[@value='송정윤']", "xpath:attributes"],
|
|
["xpath=//div[@id='root']/div/div/div/div[4]/input", "xpath:idRelative"],
|
|
["xpath=//div[4]/input", "xpath:position"]
|
|
],
|
|
"value": "송정윤"
|
|
}, {
|
|
"id": "32b19999-254f-4558-a52f-df9dd57489b7",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.ant-input:nth-child(1)",
|
|
"targets": [
|
|
["css=.ant-input:nth-child(1)", "css:finder"],
|
|
["xpath=//input[@type='password']", "xpath:attributes"],
|
|
["xpath=//div[@id='root']/div/div/div/div[5]/span[2]/input", "xpath:idRelative"],
|
|
["xpath=//span[2]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "d17b078a-fd39-4715-a592-23fb2816103a",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "css=.ant-input:nth-child(1)",
|
|
"targets": [
|
|
["css=.ant-input:nth-child(1)", "css:finder"],
|
|
["xpath=//input[@type='password']", "xpath:attributes"],
|
|
["xpath=//div[@id='root']/div/div/div/div[5]/span[2]/input", "xpath:idRelative"],
|
|
["xpath=//span[2]/input", "xpath:position"]
|
|
],
|
|
"value": "asdf1234"
|
|
}, {
|
|
"id": "e2a17d06-36b6-4754-a02e-9da15fbf3f56",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.ant-btn-primary",
|
|
"targets": [
|
|
["css=.ant-btn-primary", "css:finder"],
|
|
["xpath=(//button[@type='button'])[2]", "xpath:attributes"],
|
|
["xpath=//div[@id='root']/div/div/div/div[7]/div/button", "xpath:idRelative"],
|
|
["xpath=//div[7]/div/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'직원 로그인 하기')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "21578e9c-aed8-4d4e-a80e-dee3d5945986",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "xpath=//span[contains(.,'신규 상품 등록')]",
|
|
"targets": [
|
|
["css=.ant-menu-item-active > .ant-menu-title-content", "css:finder"],
|
|
["xpath=//ul[@id='rc-menu-uuid-97265-1-상품 관리-popup']/li[2]/span", "xpath:idRelative"],
|
|
["xpath=//li[3]/ul/li[2]/span", "xpath:position"],
|
|
["xpath=//span[contains(.,'신규 상품 등록')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "7df01c7a-7ac6-4b4a-9036-e3235cdd86ef",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "xpath=//div[2]/div/div/div[2]/div/div/button",
|
|
"targets": [
|
|
["css=#selected_background_id65a25a828e425f4b29ffdf53 .ant-col:nth-child(1) > .ant-btn", "css:finder"],
|
|
["xpath=(//button[@type='button'])[24]", "xpath:attributes"],
|
|
["xpath=//div[@id='selected_background_id65a25a828e425f4b29ffdf53']/div/div[2]/div/div/button", "xpath:idRelative"],
|
|
["xpath=//div[2]/div/div/div[2]/div/div/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'세부사항 수정 및 업로드')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "65a17317-76ca-4f4e-8018-dedcaa4146eb",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=rc-tabs-0-tab-5",
|
|
"targets": [
|
|
["id=rc-tabs-0-tab-5", "id"],
|
|
["css=#rc-tabs-0-tab-5", "css:finder"],
|
|
["xpath=//div[@id='rc-tabs-0-tab-5']", "xpath:attributes"],
|
|
["xpath=//div/div/div/div/div/div/div/div/div[6]/div", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "765a9fca-2e6e-4837-af48-64b8bdf7a2a2",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "xpath=//button[contains(.,'브라우저 번역하기')]",
|
|
"targets": [
|
|
["css=.ant-tooltip-open", "css:finder"],
|
|
["xpath=(//button[@type='button'])[61]", "xpath:attributes"],
|
|
["xpath=//div[@id='productMainContentContainerId']/div/div/div/div/div/div[3]/button", "xpath:idRelative"],
|
|
["xpath=//div[3]/div/div/div[2]/div/div/div/div/div/div/div[3]/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'브라우저 번역하기')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "7113f07f-9c8d-4e56-a14c-236ea18e69e4",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.sc-gRfXlQ:nth-child(3) svg",
|
|
"targets": [
|
|
["css=.sc-gRfXlQ:nth-child(3) svg", "css:finder"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "032daeaa-852d-4a2e-9a9b-9cf7d89072e8",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.sc-gRfXlQ:nth-child(2) svg",
|
|
"targets": [
|
|
["css=.sc-gRfXlQ:nth-child(2) svg", "css:finder"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "8f6edc6b-1dda-4710-b697-b086b189431e",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.sc-gRfXlQ:nth-child(1) path",
|
|
"targets": [
|
|
["css=.sc-gRfXlQ:nth-child(1) path", "css:finder"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "a6439e5b-6450-4b79-8192-e507b154f514",
|
|
"comment": "",
|
|
"command": "close",
|
|
"target": "",
|
|
"targets": [],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "7df6f58a-0212-4d65-93d2-2adbee34b1f5",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["767c39f9-96f2-45ab-ba8b-bd791d219e4e"]
|
|
}],
|
|
"urls": ["https://www.percenty.co.kr/"],
|
|
"plugins": []
|
|
} |