{ "id": "1b60f3b4-cf35-46d4-93b3-9013a8056a38", "version": "2.0", "name": "profil", "url": "http://127.0.0.1:8000", "tests": [{ "id": "86c64ff7-2c37-4f3e-860b-254bf6b31fb1", "name": "tambah user", "commands": [{ "id": "c33e0d20-26d5-466c-a8e6-c2eb7121fba2", "comment": "", "command": "open", "target": "/dashboard", "targets": [], "value": "" }, { "id": "5b5139f1-61dd-4803-9db2-c6ef54de692f", "comment": "", "command": "setWindowSize", "target": "1918x1032", "targets": [], "value": "" }, { "id": "d9b0828c-55e3-4bae-bfdc-e696bc28b221", "comment": "", "command": "click", "target": "linkText=anan", "targets": [ ["linkText=anan", "linkText"], ["css=.d-flex > .d-flex", "css:finder"], ["xpath=//div[@id='content']/nav/ul/li[3]/a", "xpath:idRelative"], ["xpath=//a[@href='http://127.0.0.1:8000/profil']", "xpath:href"], ["xpath=//nav/ul/li[3]/a", "xpath:position"], ["xpath=//a[contains(.,'anan')]", "xpath:innerText"] ], "value": "" }, { "id": "9d9ae03a-a5c9-444f-8a49-d892d69db452", "comment": "", "command": "click", "target": "css=.btn-tambah", "targets": [ ["css=.btn-tambah", "css:finder"], ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], ["xpath=//body[@id='page-top']/div/div[2]/div/div/div[3]/div/div/div/button", "xpath:idRelative"], ["xpath=//div[3]/div/div/div/button", "xpath:position"], ["xpath=//button[contains(.,' Tambah User')]", "xpath:innerText"] ], "value": "" }, { "id": "1f7bd763-6bab-4f97-b55d-e823ca6637ed", "comment": "", "command": "click", "target": "id=username", "targets": [ ["id=username", "id"], ["css=#username", "css:finder"], ["xpath=//input[@id='username']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div/input", "xpath:idRelative"], ["xpath=//form/div[2]/div/input", "xpath:position"] ], "value": "" }, { "id": "9008239e-0dfe-448c-8451-55186811b592", "comment": "", "command": "executeScript", "target": "document.getElementById('username').value='putra';", "targets": [], "value": "" }, { "id": "3efc722f-4c7c-4c48-82d2-4704d622eb19", "comment": "", "command": "click", "target": "id=nama_lengkap", "targets": [ ["id=nama_lengkap", "id"], ["css=#nama_lengkap", "css:finder"], ["xpath=//input[@id='nama_lengkap']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div[2]/input", "xpath:idRelative"], ["xpath=//form/div[2]/div[2]/input", "xpath:position"] ], "value": "" }, { "id": "5e79bf46-2491-4b9d-9346-322947b40f1c", "comment": "", "command": "click", "target": "id=nama_lengkap", "targets": [ ["id=nama_lengkap", "id"], ["css=#nama_lengkap", "css:finder"], ["xpath=//input[@id='nama_lengkap']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div[2]/input", "xpath:idRelative"], ["xpath=//form/div[2]/div[2]/input", "xpath:position"] ], "value": "" }, { "id": "c665f535-8aef-4b14-b173-9823b9ec7660", "comment": "", "command": "executeScript", "target": " document.getElementById('nama_lengkap').value='putra saputra';", "targets": [], "value": "" }, { "id": "1c061c5e-f336-4bdb-9df3-99a4212f118f", "comment": "", "command": "click", "target": "id=password", "targets": [ ["id=password", "id"], ["css=#password", "css:finder"], ["xpath=//input[@id='password']", "xpath:attributes"], ["xpath=//div[@id='passwordGroup']/input", "xpath:idRelative"], ["xpath=//div[3]/input", "xpath:position"] ], "value": "" }, { "id": "06611eb5-d843-4420-8eae-aa49da20ac9d", "comment": "", "command": "executeScript", "target": "document.getElementById('password').value='putra123456';", "targets": [], "value": "" }, { "id": "6030089a-6f6d-41a4-b79a-ebdfa8f38e90", "comment": "", "command": "mouseDownAt", "target": "id=role", "targets": [ ["id=role", "id"], ["name=role", "name"], ["css=#role", "css:finder"], ["xpath=//select[@id='role']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div[4]/select", "xpath:idRelative"], ["xpath=//select", "xpath:position"] ], "value": "-718,-398" }, { "id": "464a3bf2-8162-40dd-8afb-57218a69c0e0", "comment": "", "command": "mouseMoveAt", "target": "id=role", "targets": [ ["id=role", "id"], ["name=role", "name"], ["css=#role", "css:finder"], ["xpath=//select[@id='role']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div[4]/select", "xpath:idRelative"], ["xpath=//select", "xpath:position"] ], "value": "-718,-398" }, { "id": "ae2260ea-a9ab-48a0-8855-c0073991ad06", "comment": "", "command": "mouseUpAt", "target": "id=role", "targets": [ ["id=role", "id"], ["name=role", "name"], ["css=#role", "css:finder"], ["xpath=//select[@id='role']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div[4]/select", "xpath:idRelative"], ["xpath=//select", "xpath:position"] ], "value": "-718,-398" }, { "id": "38efa093-43aa-473e-8758-677da145b3c9", "comment": "", "command": "click", "target": "id=role", "targets": [ ["id=role", "id"], ["name=role", "name"], ["css=#role", "css:finder"], ["xpath=//select[@id='role']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[2]/div[4]/select", "xpath:idRelative"], ["xpath=//select", "xpath:position"] ], "value": "" }, { "id": "3db92205-2e30-4a32-8909-30c37b4bcab0", "comment": "", "command": "select", "target": "id=role", "targets": [], "value": "label=ADMIN" }, { "id": "3b01a517-2588-4b3c-9095-3180e1918eb3", "comment": "", "command": "click", "target": "css=#role > option:nth-child(2)", "targets": [ ["css=#role > option:nth-child(2)", "css:finder"], ["xpath=//option[@value='admin']", "xpath:attributes"], ["xpath=//select[@id='role']/option[2]", "xpath:idRelative"], ["xpath=//option[2]", "xpath:position"], ["xpath=//option[contains(.,'ADMIN')]", "xpath:innerText"] ], "value": "" }, { "id": "726f6c5c-275d-491c-8492-c4215d5343cd", "comment": "", "command": "click", "target": "id=btnSubmit", "targets": [ ["id=btnSubmit", "id"], ["css=#btnSubmit", "css:finder"], ["xpath=//button[@id='btnSubmit']", "xpath:attributes"], ["xpath=//form[@id='userForm']/div[3]/button[2]", "xpath:idRelative"], ["xpath=//button[2]", "xpath:position"], ["xpath=//button[contains(.,'Tambah Pengguna')]", "xpath:innerText"] ], "value": "" }] }], "suites": [{ "id": "cb5ac49e-f99f-4d8d-aa3b-cb26aadd7908", "name": "Default Suite", "persistSession": false, "parallel": false, "timeout": 300, "tests": ["86c64ff7-2c37-4f3e-860b-254bf6b31fb1"] }], "urls": ["http://127.0.0.1:8000/"], "plugins": [] }