551 lines
18 KiB
Plaintext
551 lines
18 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 data lengkap 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": "runScript",
|
|
"target": "document.getElementsByName('username')[0].value='david'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"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": "runScript",
|
|
"target": "document.getElementsByName('nama_lengkap')[0].value='david nila'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"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": "runScript",
|
|
"target": "document.getElementsByName('password')[0].value='david123456'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"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": "runScript",
|
|
"target": "document.getElementsByName('password_confirmation')[0].value='david123456'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"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": "runScript",
|
|
"target": "document.getElementsByName('username')[0].value='david'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"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": "runScript",
|
|
"target": "document.getElementsByName('password')[0].value='david123456'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"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": ""
|
|
}]
|
|
}, {
|
|
"id": "31fa9411-a7ca-4036-aef9-e3ec0d2eb163",
|
|
"name": "register data kosong R1",
|
|
"commands": [{
|
|
"id": "e95591ac-68ab-4dd1-871c-3369cc096280",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "ae0552d2-57bc-4262-8bf9-377a6b70a759",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1936x1048",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "e8c8beb8-e3f3-41c7-b110-61070b7a8ba0",
|
|
"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": "692f8bfa-516a-40f2-bba2-afb020a63ef6",
|
|
"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": "ae669179-720d-4eb8-b909-627662fac7eb",
|
|
"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": "ff8b9f6b-9dbb-4cf6-a725-9f103edddd9b",
|
|
"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": "c0f93fb9-96d9-4144-905c-eefaaf9f5bb4",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.mb-4",
|
|
"targets": [
|
|
["css=.mb-4", "css:finder"],
|
|
["xpath=//p", "xpath:position"],
|
|
["xpath=//p[contains(.,'Silakan isi data untuk membuat akun')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "c017aad8-94cb-4438-94cb-923ead3fcf08",
|
|
"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": "c9dd23cf-1b15-442d-bbad-780438f95f32",
|
|
"name": "login data benar R1",
|
|
"commands": [{
|
|
"id": "39086ecc-1037-411c-aaba-b07ae3a2fe18",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "61f10c18-de11-48b2-8307-665768c48c5a",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1936x1048",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "888ddfc7-939d-4213-9d58-bdfc957feef5",
|
|
"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": "65b7bb0e-2335-4258-ac50-36b88b86f517",
|
|
"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": "c7493d88-a912-4390-98e0-c85b0c9e4904",
|
|
"comment": "",
|
|
"command": "runScript",
|
|
"target": "document.getElementsByName('username')[0].value='david'",
|
|
"targets": [],
|
|
"value": "david"
|
|
}, {
|
|
"id": "d7d89c88-aea7-40e7-961f-895a80565f6c",
|
|
"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": "34ec4412-2d3d-495e-bcc1-c229b2271c0f",
|
|
"comment": "",
|
|
"command": "runScript",
|
|
"target": "document.getElementsByName('password')[0].value='david123456'",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "083d36bb-8345-4629-809b-482adfe3dffe",
|
|
"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": ""
|
|
}]
|
|
}, {
|
|
"id": "0e2ee579-d17c-48c5-9d69-f2195fdd6862",
|
|
"name": "login data kosong R1",
|
|
"commands": [{
|
|
"id": "8842f987-fca0-4d98-90a8-9e459b02c9b1",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "ec11685c-b94a-4a19-9dd3-1647987643c3",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1936x1048",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "28a06f3c-b735-4526-8c59-38160a08a6f5",
|
|
"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": "02d463c3-0871-4435-8afb-50f764d05ad7",
|
|
"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": ""
|
|
}, {
|
|
"id": "971a4553-1aa3-4154-bf93-745735ea88ee",
|
|
"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": ""
|
|
}, {
|
|
"id": "77fb9625-e72f-4295-9df0-e83bcd7aeeb1",
|
|
"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": ""
|
|
}, {
|
|
"id": "81f459e4-ada8-4448-8fb9-8cfe305222e7",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.row",
|
|
"targets": [
|
|
["css=.row", "css:finder"],
|
|
["xpath=//div/div", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}, {
|
|
"id": "9cb969e2-5849-4319-bf8e-95c05ca6fc1e",
|
|
"name": "login pw salah R1",
|
|
"commands": [{
|
|
"id": "07f39bc9-8b0c-4f0d-ad0f-b0ef3ad8e6cf",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "f7a7e1c5-29c8-4906-9d16-e3da6aeef03f",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1316x1015",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "498c6aa5-8148-4f82-89b1-8ccc7b08be85",
|
|
"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": "a738cae8-cd16-4884-915d-32bb96a165fd",
|
|
"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": "8afdf2de-24dc-442a-98b2-c66c8f211b74",
|
|
"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": "6ec4e44f-fcfe-4343-9ee2-9828fea9c7ce",
|
|
"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": "984ba35d-dae1-425b-a7d3-a4a760f0c493",
|
|
"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": "123456"
|
|
}, {
|
|
"id": "262860df-5138-415b-809d-3730fb409011",
|
|
"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": ["http://127.0.0.1:8000/"],
|
|
"plugins": []
|
|
} |