232 lines
7.7 KiB
Plaintext
232 lines
7.7 KiB
Plaintext
{
|
|
"id": "d0495807-7022-4c44-8815-8383b6b595b8",
|
|
"version": "2.0",
|
|
"name": "Testing web E-surat Desa",
|
|
"url": "http://127.0.0.1:8000",
|
|
"tests": [{
|
|
"id": "9fc2011c-bf3b-4405-9fc2-daba6c7f5ec1",
|
|
"name": "register R1",
|
|
"commands": [{
|
|
"id": "5e5550f3-e6a6-4469-95e8-d4862d21c7f0",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "462f6bdc-87b7-4508-abc3-48cc4b369ac0",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1936x1048",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "b125deae-d32d-48f5-b618-2ab925269619",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Masuk",
|
|
"targets": [
|
|
["linkText=Masuk", "linkText"],
|
|
["css=.btn-getstarted", "css:finder"],
|
|
["xpath=//a[contains(text(),'Masuk')]", "xpath:link"],
|
|
["xpath=//header[@id='header']/div/a[2]", "xpath:idRelative"],
|
|
["xpath=//a[@href='http://127.0.0.1:8000/login']", "xpath:href"],
|
|
["xpath=//a[2]", "xpath:position"],
|
|
["xpath=//a[contains(.,'Masuk')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "2021e76f-9940-47bb-a462-6fe489884218",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Daftar Akun",
|
|
"targets": [
|
|
["linkText=Daftar Akun", "linkText"],
|
|
["css=.font-weight-bold:nth-child(1)", "css:finder"],
|
|
["xpath=//a[contains(text(),'Daftar Akun')]", "xpath:link"],
|
|
["xpath=//a[@href='http://127.0.0.1:8000/daftar']", "xpath:href"],
|
|
["xpath=//p[2]/a", "xpath:position"],
|
|
["xpath=//a[contains(.,'Daftar Akun')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "17a8a741-b78d-4b0b-b60a-122260d6fc25",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=username",
|
|
"targets": [
|
|
["name=username", "name"],
|
|
["css=.form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='username']", "xpath:attributes"],
|
|
["xpath=//div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "2eca6b5f-8243-435d-a038-e80181aa2ae1",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=username",
|
|
"targets": [
|
|
["name=username", "name"],
|
|
["css=.form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='username']", "xpath:attributes"],
|
|
["xpath=//div/input", "xpath:position"]
|
|
],
|
|
"value": "david"
|
|
}, {
|
|
"id": "9fb184fa-4dcc-4180-bbd9-71df304323ff",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=nama_lengkap",
|
|
"targets": [
|
|
["name=nama_lengkap", "name"],
|
|
["css=.form-group:nth-child(3) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='nama_lengkap']", "xpath:attributes"],
|
|
["xpath=//div[2]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "6159858d-e557-4597-9cb1-f66971d9f4e3",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=nama_lengkap",
|
|
"targets": [
|
|
["name=nama_lengkap", "name"],
|
|
["css=.form-group:nth-child(3) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='nama_lengkap']", "xpath:attributes"],
|
|
["xpath=//div[2]/input", "xpath:position"]
|
|
],
|
|
"value": "david nila"
|
|
}, {
|
|
"id": "a2b95e75-c315-4df7-91e2-8d26a4b34097",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=password",
|
|
"targets": [
|
|
["name=password", "name"],
|
|
["css=.form-group:nth-child(4) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='password']", "xpath:attributes"],
|
|
["xpath=//div[3]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "1e2a7b52-7ea7-4da4-87fc-5d3135753050",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=password",
|
|
"targets": [
|
|
["name=password", "name"],
|
|
["css=.form-group:nth-child(4) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='password']", "xpath:attributes"],
|
|
["xpath=//div[3]/input", "xpath:position"]
|
|
],
|
|
"value": "david123456"
|
|
}, {
|
|
"id": "8d92e562-6637-45fb-adec-0a0de5f5725f",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=password_confirmation",
|
|
"targets": [
|
|
["name=password_confirmation", "name"],
|
|
["css=.form-group:nth-child(5) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='password_confirmation']", "xpath:attributes"],
|
|
["xpath=//div[4]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "7a892f82-302d-4a6d-8b9b-5ffd49cacc2f",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=password_confirmation",
|
|
"targets": [
|
|
["name=password_confirmation", "name"],
|
|
["css=.form-group:nth-child(5) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='password_confirmation']", "xpath:attributes"],
|
|
["xpath=//div[4]/input", "xpath:position"]
|
|
],
|
|
"value": "david123456"
|
|
}, {
|
|
"id": "60efd474-bca4-4001-9bec-a88e6d32bcfe",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.btn",
|
|
"targets": [
|
|
["css=.btn", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Daftar Sekarang')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "14904517-5d26-4711-9dec-a70dd3e9fe99",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=username",
|
|
"targets": [
|
|
["name=username", "name"],
|
|
["css=.form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='username']", "xpath:attributes"],
|
|
["xpath=//div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "162a04e2-19b4-4f78-a0da-799734f5b963",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=username",
|
|
"targets": [
|
|
["name=username", "name"],
|
|
["css=.form-group:nth-child(2) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='username']", "xpath:attributes"],
|
|
["xpath=//div/input", "xpath:position"]
|
|
],
|
|
"value": "david"
|
|
}, {
|
|
"id": "16857770-3a82-4604-92dc-feee90abdde0",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "name=password",
|
|
"targets": [
|
|
["name=password", "name"],
|
|
["css=.form-group:nth-child(3) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='password']", "xpath:attributes"],
|
|
["xpath=//div[2]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "e11698d8-f49d-4458-91a1-d8f7420903c3",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "name=password",
|
|
"targets": [
|
|
["name=password", "name"],
|
|
["css=.form-group:nth-child(3) > .form-control", "css:finder"],
|
|
["xpath=//input[@name='password']", "xpath:attributes"],
|
|
["xpath=//div[2]/input", "xpath:position"]
|
|
],
|
|
"value": "david123456"
|
|
}, {
|
|
"id": "2a53ad95-ff1e-462f-8880-6151034bedeb",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.btn",
|
|
"targets": [
|
|
["css=.btn", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Masuk')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "8ac42e0a-d17a-409b-be79-28f44d3950a1",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["9fc2011c-bf3b-4405-9fc2-daba6c7f5ec1"]
|
|
}],
|
|
"urls": [],
|
|
"plugins": []
|
|
} |