463 lines
16 KiB
Plaintext
463 lines
16 KiB
Plaintext
{
|
|
"id": "7dd3bd2d-c493-4c20-a0be-e9cbc2206744",
|
|
"version": "2.0",
|
|
"name": "validasi penduduk",
|
|
"url": "http://127.0.0.1:8000",
|
|
"tests": [{
|
|
"id": "7b0bb95e-53b4-4740-b3cc-1c4e6f542825",
|
|
"name": "Validasi Data Penduduk data benar semua R1",
|
|
"commands": [{
|
|
"id": "8dd858f7-5bf1-4785-b4b8-965f16058c04",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/user/validasi",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "4f0b7d49-5d64-4594-ab0f-6230f85b0ab6",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "1920x1032",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "e86266b1-974f-41f0-a602-4c27a664d7cd",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=btnTambah",
|
|
"targets": [
|
|
["id=btnTambah", "id"],
|
|
["css=#btnTambah", "css:finder"],
|
|
["xpath=//button[@id='btnTambah']", "xpath:attributes"],
|
|
["xpath=//div[@id='content']/div/div/button", "xpath:idRelative"],
|
|
["xpath=//button", "xpath:position"],
|
|
["xpath=//button[contains(.,' Tambah Data Penduduk')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "56e20f48-70fb-4cc6-80fe-8ce6f3576e92",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_nik",
|
|
"targets": [
|
|
["id=m_nik", "id"],
|
|
["name=nik", "name"],
|
|
["css=.col-md-6 > #m_nik", "css:finder"],
|
|
["xpath=//input[@id='m_nik']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div/input", "xpath:idRelative"],
|
|
["xpath=//div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "33be13f7-9e78-4925-8f46-7cf1aef9690e",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": " document.getElementById('m_nik').value='1234567891678901';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "b45803a9-bf50-4641-82f3-afcc7df1e1cc",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_nama",
|
|
"targets": [
|
|
["id=m_nama", "id"],
|
|
["name=nama_lengkap", "name"],
|
|
["xpath=//input[@id='m_nama']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[2]/div/input", "xpath:idRelative"],
|
|
["xpath=//div[2]/div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "0b5bf8dd-7aa2-4f4d-81ea-35c0f71eba09",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": " document.getElementById('m_nama').value='david nila';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "87dfcf58-17a6-4ae4-b4fd-c16fa02e2446",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_tempat_lahir",
|
|
"targets": [
|
|
["id=m_tempat_lahir", "id"],
|
|
["name=tempat_lahir", "name"],
|
|
["css=.col-md-6 > #m_tempat_lahir", "css:finder"],
|
|
["xpath=//input[@id='m_tempat_lahir']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[3]/input", "xpath:idRelative"],
|
|
["xpath=//div[3]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "01a90bbe-3d8b-4e93-bf5e-47724f75bcc9",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_tempat_lahir').value='madiun';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "40a408c2-d9a8-483d-bd86-f324f21db4e1",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_tanggal_lahir",
|
|
"targets": [
|
|
["id=m_tanggal_lahir", "id"],
|
|
["name=tanggal_lahir", "name"],
|
|
["css=.col-md-6 > #m_tanggal_lahir", "css:finder"],
|
|
["xpath=//input[@id='m_tanggal_lahir']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[4]/input", "xpath:idRelative"],
|
|
["xpath=//div[4]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "912d8603-8784-4927-81f0-9e42ebe1660e",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_tanggal_lahir').value='2003-01-24';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "bcb6f5c7-df12-4393-89e9-3d58864be296",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_jk",
|
|
"targets": [
|
|
["id=m_jk", "id"],
|
|
["name=jenis_kelamin", "name"],
|
|
["css=.col-md-4 > #m_jk", "css:finder"],
|
|
["xpath=//select[@id='m_jk']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[5]/select", "xpath:idRelative"],
|
|
["xpath=//select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "87733424-95a9-4bf7-9ecb-afb36fcc409c",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "id=m_jk",
|
|
"targets": [],
|
|
"value": "label=LAKI-LAKI"
|
|
}, {
|
|
"id": "bf79dd0d-cf41-475f-8cb6-5c4543c4afa3",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.col-md-4 > #m_jk > option:nth-child(2)",
|
|
"targets": [
|
|
["css=.col-md-4 > #m_jk > option:nth-child(2)", "css:finder"],
|
|
["xpath=//option[@value='LAKI-LAKI']", "xpath:attributes"],
|
|
["xpath=//select[@id='m_jk']/option[2]", "xpath:idRelative"],
|
|
["xpath=//option[2]", "xpath:position"],
|
|
["xpath=//option[contains(.,'LAKI-LAKI')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "2e356342-17f5-4a86-b43c-a86c3604e2d9",
|
|
"comment": "",
|
|
"command": "mouseDownAt",
|
|
"target": "id=m_agama",
|
|
"targets": [
|
|
["id=m_agama", "id"],
|
|
["name=agama", "name"],
|
|
["css=.col-md-4 > #m_agama", "css:finder"],
|
|
["xpath=//select[@id='m_agama']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[6]/select", "xpath:idRelative"],
|
|
["xpath=//div[6]/select", "xpath:position"]
|
|
],
|
|
"value": "-831.9833374023438,-311"
|
|
}, {
|
|
"id": "f02813b7-1777-44b2-a8fa-8503974727c5",
|
|
"comment": "",
|
|
"command": "mouseMoveAt",
|
|
"target": "id=m_agama",
|
|
"targets": [
|
|
["id=m_agama", "id"],
|
|
["name=agama", "name"],
|
|
["css=.col-md-4 > #m_agama", "css:finder"],
|
|
["xpath=//select[@id='m_agama']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[6]/select", "xpath:idRelative"],
|
|
["xpath=//div[6]/select", "xpath:position"]
|
|
],
|
|
"value": "-831.9833374023438,-311"
|
|
}, {
|
|
"id": "09d7dd43-bc3d-4290-8192-a719cb89cfa2",
|
|
"comment": "",
|
|
"command": "mouseUpAt",
|
|
"target": "id=m_agama",
|
|
"targets": [
|
|
["id=m_agama", "id"],
|
|
["name=agama", "name"],
|
|
["css=.col-md-4 > #m_agama", "css:finder"],
|
|
["xpath=//select[@id='m_agama']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[6]/select", "xpath:idRelative"],
|
|
["xpath=//div[6]/select", "xpath:position"]
|
|
],
|
|
"value": "-831.9833374023438,-311"
|
|
}, {
|
|
"id": "866e5c81-a681-41a4-ad1a-9b06bd2b8086",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_agama",
|
|
"targets": [
|
|
["id=m_agama", "id"],
|
|
["name=agama", "name"],
|
|
["css=.col-md-4 > #m_agama", "css:finder"],
|
|
["xpath=//select[@id='m_agama']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[6]/select", "xpath:idRelative"],
|
|
["xpath=//div[6]/select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "6590273c-0adb-4500-a332-f3f07363f26f",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "id=m_agama",
|
|
"targets": [],
|
|
"value": "label=ISLAM"
|
|
}, {
|
|
"id": "c4f6bfd9-3114-48ae-bfd3-6edbe7b31f39",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.col-md-4 > #m_agama > option:nth-child(2)",
|
|
"targets": [
|
|
["css=.col-md-4 > #m_agama > option:nth-child(2)", "css:finder"],
|
|
["xpath=//option[@value='ISLAM']", "xpath:attributes"],
|
|
["xpath=//select[@id='m_agama']/option[2]", "xpath:idRelative"],
|
|
["xpath=//div[6]/select/option[2]", "xpath:position"],
|
|
["xpath=//option[contains(.,'ISLAM')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "3f14cb85-1ce3-42bb-bde7-270cec37b614",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_pekerjaan",
|
|
"targets": [
|
|
["id=m_pekerjaan", "id"],
|
|
["name=pekerjaan", "name"],
|
|
["css=.col-md-4 > #m_pekerjaan", "css:finder"],
|
|
["xpath=//input[@id='m_pekerjaan']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[7]/input", "xpath:idRelative"],
|
|
["xpath=//div[7]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "9b343337-b6df-4a5c-9d54-2baf210810e2",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_pekerjaan').value='mahasiswa';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "ce86035f-35e8-4dda-9978-d8a61d2c0509",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_alamat",
|
|
"targets": [
|
|
["id=m_alamat", "id"],
|
|
["name=alamat", "name"],
|
|
["css=.col-md-8 > #m_alamat", "css:finder"],
|
|
["xpath=//input[@id='m_alamat']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[8]/input", "xpath:idRelative"],
|
|
["xpath=//div[8]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "db7b33d6-e3ee-4aad-8d01-0725ea1dde4d",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_alamat').value='jl apel';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "443c0235-7272-479b-b5b6-301a724bc3a8",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_rt_rw",
|
|
"targets": [
|
|
["id=m_rt_rw", "id"],
|
|
["name=rt_rw", "name"],
|
|
["css=.col-md-4 > #m_rt_rw", "css:finder"],
|
|
["xpath=//input[@id='m_rt_rw']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[9]/input", "xpath:idRelative"],
|
|
["xpath=//div[9]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "547ae597-0a00-4bd4-a654-a7d7d94427f3",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_rt_rw').value='072/013';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "8ab3f4c0-021e-465d-8c23-4a77a3bf3c3c",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_desa",
|
|
"targets": [
|
|
["id=m_desa", "id"],
|
|
["name=desa_kelurahan", "name"],
|
|
["css=.col-md-4 > #m_desa", "css:finder"],
|
|
["xpath=//input[@id='m_desa']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[10]/input", "xpath:idRelative"],
|
|
["xpath=//div[10]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "15cb208d-a025-48e4-ad6f-3691229043b1",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_desa').value='kincang wetan';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "04fb7e30-02ae-4af0-92ef-14750424496a",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_kecamatan",
|
|
"targets": [
|
|
["id=m_kecamatan", "id"],
|
|
["name=kecamatan", "name"],
|
|
["css=.col-md-4 > #m_kecamatan", "css:finder"],
|
|
["xpath=//input[@id='m_kecamatan']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[11]/input", "xpath:idRelative"],
|
|
["xpath=//div[11]/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "0c8f6aab-f7a7-4a5b-b650-8792f1195fcd",
|
|
"comment": "",
|
|
"command": "executeScript",
|
|
"target": "document.getElementById('m_kecamatan').value='jiwan';",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "f7711b42-7d17-4d3a-9a1b-fea51580bd83",
|
|
"comment": "",
|
|
"command": "mouseDownAt",
|
|
"target": "id=m_status_kawin",
|
|
"targets": [
|
|
["id=m_status_kawin", "id"],
|
|
["name=status_perkawinan", "name"],
|
|
["css=.col-md-4 > #m_status_kawin", "css:finder"],
|
|
["xpath=//select[@id='m_status_kawin']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[12]/select", "xpath:idRelative"],
|
|
["xpath=//div[12]/select", "xpath:position"]
|
|
],
|
|
"value": "-1095.9666748046875,-483"
|
|
}, {
|
|
"id": "d5294f86-6d7a-45d6-a137-1237af437870",
|
|
"comment": "",
|
|
"command": "mouseMoveAt",
|
|
"target": "id=m_status_kawin",
|
|
"targets": [
|
|
["id=m_status_kawin", "id"],
|
|
["name=status_perkawinan", "name"],
|
|
["css=.col-md-4 > #m_status_kawin", "css:finder"],
|
|
["xpath=//select[@id='m_status_kawin']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[12]/select", "xpath:idRelative"],
|
|
["xpath=//div[12]/select", "xpath:position"]
|
|
],
|
|
"value": "-1095.9666748046875,-483"
|
|
}, {
|
|
"id": "fb66c940-e348-40b8-a465-b6e28c37b9cc",
|
|
"comment": "",
|
|
"command": "mouseUpAt",
|
|
"target": "id=m_status_kawin",
|
|
"targets": [
|
|
["id=m_status_kawin", "id"],
|
|
["name=status_perkawinan", "name"],
|
|
["css=.col-md-4 > #m_status_kawin", "css:finder"],
|
|
["xpath=//select[@id='m_status_kawin']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[12]/select", "xpath:idRelative"],
|
|
["xpath=//div[12]/select", "xpath:position"]
|
|
],
|
|
"value": "-1095.9666748046875,-483"
|
|
}, {
|
|
"id": "eb595680-7268-41c6-8867-cf65b0f54a7d",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_status_kawin",
|
|
"targets": [
|
|
["id=m_status_kawin", "id"],
|
|
["name=status_perkawinan", "name"],
|
|
["css=.col-md-4 > #m_status_kawin", "css:finder"],
|
|
["xpath=//select[@id='m_status_kawin']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[12]/select", "xpath:idRelative"],
|
|
["xpath=//div[12]/select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "23f11326-82da-440d-93b4-6c16488d89e4",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "id=m_status_kawin",
|
|
"targets": [],
|
|
"value": "label=BELUM KAWIN"
|
|
}, {
|
|
"id": "6e346c1a-ded0-4332-9d41-886a9b6b80d9",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.col-md-4 > #m_status_kawin > option:nth-child(2)",
|
|
"targets": [
|
|
["css=.col-md-4 > #m_status_kawin > option:nth-child(2)", "css:finder"],
|
|
["xpath=//option[@value='BELUM KAWIN']", "xpath:attributes"],
|
|
["xpath=//select[@id='m_status_kawin']/option[2]", "xpath:idRelative"],
|
|
["xpath=//div[12]/select/option[2]", "xpath:position"],
|
|
["xpath=//option[contains(.,'BELUM KAWIN')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "18410f9e-a26f-43dd-8490-c4c8db40ec1a",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=m_foto_ktp",
|
|
"targets": [
|
|
["id=m_foto_ktp", "id"],
|
|
["name=foto_ktp", "name"],
|
|
["css=#m_foto_ktp", "css:finder"],
|
|
["xpath=//input[@id='m_foto_ktp']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[2]/div/div[14]/div/input", "xpath:idRelative"],
|
|
["xpath=//div[14]/div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "a0e5851c-12fe-4c7e-bcac-048b79f87824",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "id=m_foto_ktp",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "926027b6-9faf-4683-bb28-139d670efc1e",
|
|
"comment": "",
|
|
"command": "pause",
|
|
"target": "5000",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "9278ff0d-b1fc-4fec-88e8-f7c975d53a66",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "xpath=//button[@type='submit']",
|
|
"targets": [
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//form[@id='validasiForm']/div[3]/button[2]", "xpath:idRelative"],
|
|
["xpath=//button[2]", "xpath:position"],
|
|
["xpath=//button[contains(.,'Simpan Data')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "f6dab389-3bb3-424e-97f6-13f8441cf46e",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": ["7b0bb95e-53b4-4740-b3cc-1c4e6f542825"]
|
|
}],
|
|
"urls": ["http://127.0.0.1:8000/"],
|
|
"plugins": []
|
|
} |