/
t9
/
test
Обзор
Документация
Войти
/
t9
/
test
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test.side
424 строки
15 KB
t9
Upload file of class work 19.03
19 мар 2025, 16:25
19 мар 2025, 16:25
3693b3e
Код
Авторство
О чём код?
{ "id": "800df4b7-7d80-4327-a7a1-8f17ef5ea5be", "version": "2.0", "name": "testform", "url": "http://localhost/testform/", "tests": [{ "id": "4bb19f35-0899-4eb6-adde-dc1dcdf93e94", "name": "Untitled", "commands": [{ "id": "2bfe782b-0cd6-4f8f-838c-8252fa049b32", "comment": "", "command": "open", "target": "http://localhost/testform/", "targets": [], "value": "" }, { "id": "440eb807-b027-48e5-aa7a-f226303244c1", "comment": "", "command": "setWindowSize", "target": "1920x1036", "targets": [], "value": "" }, { "id": "9c4b439d-7bc8-45c4-8bac-c95e63176e04", "comment": "", "command": "click", "target": "name=orgINN", "targets": [ ["name=orgINN", "name"], ["css=.error", "css:finder"], ["xpath=//input[@name='orgINN']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr/td/input", "xpath:idRelative"], ["xpath=//td/input", "xpath:position"] ], "value": "" }, { "id": "bb4f82dd-56d4-4f5c-80dc-f7bd1764934e", "comment": "", "command": "type", "target": "name=orgINN", "targets": [ ["name=orgINN", "name"], ["css=tr:nth-child(1) > td:nth-child(1) > .editable", "css:finder"], ["xpath=//input[@name='orgINN']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr/td/input", "xpath:idRelative"], ["xpath=//td/input", "xpath:position"] ], "value": "6672495641" }, { "id": "83877da7-00e0-417b-aa65-91400d54a8dc", "comment": "", "command": "click", "target": "css=body", "targets": [ ["css=body", "css:finder"], ["xpath=//body", "xpath:position"] ], "value": "" }, { "id": "864f56d8-9fb5-47eb-886a-9effd26df2a5", "comment": "", "command": "type", "target": "name=orgINN", "targets": [ ["name=orgINN", "name"], ["css=tr:nth-child(1) > td:nth-child(1) > .editable", "css:finder"], ["xpath=//input[@name='orgINN']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr/td/input", "xpath:idRelative"], ["xpath=//td/input", "xpath:position"] ], "value": "1234567890" }, { "id": "adf89bb9-eed8-4914-bb68-cd996b6d0b2f", "comment": "", "command": "verifyElementPresent", "target": "name=orgINN", "targets": [], "value": "regex:/^\\d{10}$/" }, { "id": "2b4075dd-fb36-4840-ab5f-024f39d5cffb", "comment": "", "command": "click", "target": "css=table:nth-child(3) tr:nth-child(1)", "targets": [ ["css=table:nth-child(3) tr:nth-child(1)", "css:finder"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr", "xpath:idRelative"], ["xpath=//tr", "xpath:position"] ], "value": "" }, { "id": "1b635ab4-8169-409e-a310-7b5887b3a6a5", "comment": "", "command": "type", "target": "name=orgKPP", "targets": [ ["name=orgKPP", "name"], ["css=tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > .editable", "css:finder"], ["xpath=//input[@name='orgKPP']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr/td[2]/input", "xpath:idRelative"], ["xpath=//td[2]/input", "xpath:position"] ], "value": "123456789012" }, { "id": "fa3ccfca-a8e0-44d9-b9f5-ff9fbec427ee", "comment": "", "command": "verifyElementPresent", "target": "name=orgKPP", "targets": [], "value": "regex:/^\\d{12}$/" }, { "id": "c62255ce-c0c3-4112-a74d-9b3bbf847879", "comment": "", "command": "click", "target": "css=tr:nth-child(3)", "targets": [ ["css=tr:nth-child(3)", "css:finder"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[3]", "xpath:idRelative"], ["xpath=//tr[3]", "xpath:position"] ], "value": "" }, { "id": "4d67d5cd-8987-4e75-8543-35a9494c44ff", "comment": "", "command": "type", "target": "name=bankBIK", "targets": [ ["name=bankBIK", "name"], ["css=tr:nth-child(3) > td:nth-child(2) > .editable", "css:finder"], ["xpath=//input[@name='bankBIK']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[3]/td[2]/input", "xpath:idRelative"], ["xpath=//tr[3]/td[2]/input", "xpath:position"] ], "value": "123456789" }, { "id": "0ca7c09b-80e9-4d42-8e05-c9f429e68965", "comment": "", "command": "verifyElementPresent", "target": "name=bankBIK", "targets": [], "value": "regex:/^\\d{9}$/" }, { "id": "5aacb76f-3db0-4d4d-8ae2-c447ae3a4168", "comment": "", "command": "click", "target": "css=body", "targets": [ ["css=body", "css:finder"], ["xpath=//body", "xpath:position"] ], "value": "" }, { "id": "d0b7452c-3812-4f3f-81d3-335598803d92", "comment": "", "command": "type", "target": "name=bankAccount", "targets": [ ["name=bankAccount", "name"], ["css=tr:nth-child(4) > td:nth-child(1) > .editable", "css:finder"], ["xpath=//input[@name='bankAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]/td/input", "xpath:idRelative"], ["xpath=//tr[4]/td/input", "xpath:position"] ], "value": "12345678901234567890" }, { "id": "34ff9705-b9f9-46ff-b597-200122c91453", "comment": "", "command": "verifyElementPresent", "target": "name=bankAccount", "targets": [], "value": "regex:/^\\d{20}$/" }, { "id": "e226bf0e-bdf8-4a43-b9fb-4d7018461bc6", "comment": "", "command": "mouseDownAt", "target": "name=bankAccount", "targets": [ ["name=bankAccount", "name"], ["css=tr:nth-child(4) > td:nth-child(1) > .editable", "css:finder"], ["xpath=//input[@name='bankAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]/td/input", "xpath:idRelative"], ["xpath=//tr[4]/td/input", "xpath:position"] ], "value": "359.5,33.015625" }, { "id": "189eb39a-b07b-4f21-aa80-45b91c225f74", "comment": "", "command": "mouseMoveAt", "target": "name=bankAccount", "targets": [ ["name=bankAccount", "name"], ["css=tr:nth-child(4) > td:nth-child(1) > .editable", "css:finder"], ["xpath=//input[@name='bankAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]/td/input", "xpath:idRelative"], ["xpath=//tr[4]/td/input", "xpath:position"] ], "value": "359.5,33.015625" }, { "id": "c81ee54c-9fc6-4271-b508-2409cf4a6347", "comment": "", "command": "mouseUpAt", "target": "name=bankAccount", "targets": [ ["name=bankAccount", "name"], ["css=tr:nth-child(4) > td:nth-child(1) > .editable", "css:finder"], ["xpath=//input[@name='bankAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]/td/input", "xpath:idRelative"], ["xpath=//tr[4]/td/input", "xpath:position"] ], "value": "359.5,33.015625" }, { "id": "63859605-89c9-4554-9492-92778203ebfa", "comment": "", "command": "click", "target": "css=tr:nth-child(4)", "targets": [ ["css=tr:nth-child(4)", "css:finder"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]", "xpath:idRelative"], ["xpath=//tr[4]", "xpath:position"] ], "value": "" }, { "id": "dd3b500a-5280-45cb-829c-c08336ece3a1", "comment": "", "command": "click", "target": "css=tr:nth-child(4)", "targets": [ ["css=tr:nth-child(4)", "css:finder"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]", "xpath:idRelative"], ["xpath=//tr[4]", "xpath:position"] ], "value": "" }, { "id": "10d2f85d-688e-4c4e-927b-cadff146f3e2", "comment": "", "command": "type", "target": "name=bankCorrAccount", "targets": [ ["name=bankCorrAccount", "name"], ["css=tr:nth-child(4) > td:nth-child(2) > .editable", "css:finder"], ["xpath=//input[@name='bankCorrAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/table/tbody/tr[4]/td[2]/input", "xpath:idRelative"], ["xpath=//tr[4]/td[2]/input", "xpath:position"] ], "value": "12345678901234567890" }, { "id": "bba7342a-a4b4-4065-befa-33cf9e003bcd", "comment": "", "command": "verifyElementPresent", "target": "name=bankCorrAccount", "targets": [], "value": "regex:/^\\d{20}$/" }, { "id": "00c6a46a-2ad3-4014-ab6f-846c52f6dc7b", "comment": "", "command": "click", "target": "name=invoice_number", "targets": [ ["name=invoice_number", "name"], ["css=h3 > .editable:nth-child(1)", "css:finder"], ["xpath=//input[@name='invoice_number']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/h3[2]/input", "xpath:idRelative"], ["xpath=//h3[2]/input", "xpath:position"] ], "value": "" }, { "id": "f6eb58bd-e39b-4886-addd-e839d4b38c29", "comment": "", "command": "click", "target": "css=body", "targets": [ ["css=body", "css:finder"], ["xpath=//body", "xpath:position"] ], "value": "" }, { "id": "50a21cca-9aaa-49ed-852e-60ca38ba6e81", "comment": "", "command": "type", "target": "name=itemName[]", "targets": [ ["name=itemName[]", "name"], ["css=.item-row > td:nth-child(2) > .editable", "css:finder"], ["xpath=//input[@name='itemName[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[2]/input", "xpath:idRelative"], ["xpath=//table[2]/tbody/tr/td[2]/input", "xpath:position"] ], "value": "231" }, { "id": "943e28e2-817d-4de0-ab77-1afa124395ec", "comment": "", "command": "click", "target": "css=.item-row", "targets": [ ["css=.item-row", "css:finder"], ["xpath=//table[@id='itemsTable']/tbody/tr", "xpath:idRelative"], ["xpath=//table[2]/tbody/tr", "xpath:position"] ], "value": "" }, { "id": "115b5ca0-552d-4fef-ae5a-19f38a6a713f", "comment": "", "command": "type", "target": "name=unit[]", "targets": [ ["name=unit[]", "name"], ["css=.item-row > td:nth-child(3) > .editable", "css:finder"], ["xpath=//input[@name='unit[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[3]/input", "xpath:idRelative"], ["xpath=//td[3]/input", "xpath:position"] ], "value": "231" }, { "id": "4b5a9805-7d6e-4415-8a29-07914b0d42ca", "comment": "", "command": "click", "target": "css=.item-row", "targets": [ ["css=.item-row", "css:finder"], ["xpath=//table[@id='itemsTable']/tbody/tr", "xpath:idRelative"], ["xpath=//table[2]/tbody/tr", "xpath:position"] ], "value": "" }, { "id": "7b129fa3-ad99-4e72-a1b7-f98c281015b7", "comment": "", "command": "type", "target": "name=itemQuantity[]", "targets": [ ["name=itemQuantity[]", "name"], ["css=td:nth-child(4) > .editable", "css:finder"], ["xpath=//input[@name='itemQuantity[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[4]/input", "xpath:idRelative"], ["xpath=//td[4]/input", "xpath:position"] ], "value": "231" }, { "id": "b7d9af3e-37fd-4886-8208-0a521b55ca18", "comment": "", "command": "mouseDownAt", "target": "name=itemQuantity[]", "targets": [ ["name=itemQuantity[]", "name"], ["css=td:nth-child(4) > .editable", "css:finder"], ["xpath=//input[@name='itemQuantity[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[4]/input", "xpath:idRelative"], ["xpath=//td[4]/input", "xpath:position"] ], "value": "118.890625,22.640625" }, { "id": "0fceb511-1bc6-48aa-9a62-b0d1ad96f8cd", "comment": "", "command": "mouseMoveAt", "target": "name=itemQuantity[]", "targets": [ ["name=itemQuantity[]", "name"], ["css=td:nth-child(4) > .editable", "css:finder"], ["xpath=//input[@name='itemQuantity[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[4]/input", "xpath:idRelative"], ["xpath=//td[4]/input", "xpath:position"] ], "value": "118.890625,22.640625" }, { "id": "e31b4259-210e-40f5-8830-fd751b02ac01", "comment": "", "command": "mouseUpAt", "target": "name=itemQuantity[]", "targets": [ ["name=itemQuantity[]", "name"], ["css=td:nth-child(4) > .editable", "css:finder"], ["xpath=//input[@name='itemQuantity[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[4]/input", "xpath:idRelative"], ["xpath=//td[4]/input", "xpath:position"] ], "value": "118.890625,22.640625" }, { "id": "4879d031-e912-46b4-9ae7-df9dca5f080e", "comment": "", "command": "click", "target": "css=.item-row", "targets": [ ["css=.item-row", "css:finder"], ["xpath=//table[@id='itemsTable']/tbody/tr", "xpath:idRelative"], ["xpath=//table[2]/tbody/tr", "xpath:position"] ], "value": "" }, { "id": "ff216380-ea85-47c8-92f5-64eff6c1f2d4", "comment": "", "command": "type", "target": "name=itemPrice[]", "targets": [ ["name=itemPrice[]", "name"], ["css=td:nth-child(5) > .editable", "css:finder"], ["xpath=//input[@name='itemPrice[]']", "xpath:attributes"], ["xpath=//table[@id='itemsTable']/tbody/tr/td[5]/input", "xpath:idRelative"], ["xpath=//td[5]/input", "xpath:position"] ], "value": "123123" }, { "id": "eb02e20c-96fa-488d-9f06-eed2efd8e027", "comment": "", "command": "click", "target": "css=button:nth-child(13)", "targets": [ ["css=button:nth-child(13)", "css:finder"], ["xpath=//button[@type='submit']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/button[2]", "xpath:idRelative"], ["xpath=//button[2]", "xpath:position"], ["xpath=//button[contains(.,'Сохранить и просмотреть')]", "xpath:orgINNerText"] ], "value": "" }] }], "suites": [{ "id": "2439e803-f9b5-49cd-ac06-f6c2cf39d99e", "name": "Default Suite", "persistSession": false, "parallel": false, "timeout": 300, "tests": ["4bb19f35-0899-4eb6-adde-dc1dcdf93e94"] }], "urls": ["http://localhost/", "http://localhost/test/"], "plugins": [] }