/
ecease
/
schet
Обзор
Документация
Войти
/
ecease
/
schet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test.side
287 строк
10 KB
ecease
test file
19 мар 2025, 15:49
19 мар 2025, 15:49
32f8383
Код
Авторство
О чём код?
{ "id": "78793949-de10-4c7e-97e4-337f0a02b11f", "version": "2.0", "name": "test", "url": "http://localhost/%d1%81%d1%87%d0%b5%d1%82%d1%82/", "tests": [{ "id": "ba2713dc-fc56-47f6-bef6-3eb818822547", "name": "Untitled", "commands": [{ "id": "75525039-fd96-463c-8327-09e966ec87f8", "comment": "", "command": "open", "target": "http://localhost/%d1%81%d1%87%d0%b5%d1%82%d1%82/", "targets": [], "value": "" }, { "id": "33f7d8b4-ef33-4322-994c-b618cc235d14", "comment": "", "command": "sendKeys", "target": "id=inn", "targets": [], "value": "1234567890" }, { "id": "e779b205-a2ab-48b0-9af3-0dbd215cd1cb", "comment": "", "command": "verifyElementPresent", "target": "id=inn", "targets": [], "value": "regex:^\\d{10}" }, { "id": "e577d45d-1a53-4b33-bab2-c8add367b8a2", "comment": "", "command": "sendKeys", "target": "id=kpp", "targets": [ ["id=kpp", "id"], ["css=#kpp", "css:finder"], ["xpath=//input[@id='kpp']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[2]/input", "xpath:idRelative"], ["xpath=//div[2]/input", "xpath:position"] ], "value": "123456123456" }, { "id": "3c26bbcd-12a3-419d-8b85-5b59713d80de", "comment": "", "command": "verifyElementPresent", "target": "id=kpp", "targets": [], "value": "regex:^\\d{12}" }, { "id": "0de5dd26-e528-4020-a329-22e692024657", "comment": "", "command": "sendKeys", "target": "id=bankAccount", "targets": [ ["id=bankAccount", "id"], ["css=#bankAccount", "css:finder"], ["xpath=//input[@id='bankAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[3]/input", "xpath:idRelative"], ["xpath=//div[3]/input", "xpath:position"] ], "value": "12345678901234567890" }, { "id": "8459e0fc-79b3-49d1-a159-c323b3a75f94", "comment": "", "command": "verifyElementPresent", "target": "id=bankAccount", "targets": [], "value": "regex:^\\d{20}" }, { "id": "826fad26-750c-4a9b-b914-a8a448bd9f07", "comment": "", "command": "sendKeys", "target": "id=recipient", "targets": [ ["id=recipient", "id"], ["css=#recipient", "css:finder"], ["xpath=//input[@id='recipient']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[4]/input", "xpath:idRelative"], ["xpath=//div[4]/input", "xpath:position"] ], "value": "aboba" }, { "id": "def856cb-4367-432a-9d9e-5480a5dcba41", "comment": "", "command": "verifyElementPresent", "target": "id=recipient", "targets": [ ["id=recipient", "id"], ["css=#recipient", "css:finder"], ["xpath=//input[@id='recipient']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[4]/input", "xpath:idRelative"], ["xpath=//div[4]/input", "xpath:position"] ], "value": "regex:(\\w*[a-zA-Z]\\w*)" }, { "id": "e9181f27-b5da-4e2a-9988-61736b440c41", "comment": "", "command": "sendKeys", "target": "id=bankName", "targets": [ ["id=bankName", "id"], ["css=#bankName", "css:finder"], ["xpath=//input[@id='bankName']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[5]/input", "xpath:idRelative"], ["xpath=//div[5]/input", "xpath:position"] ], "value": "aboba2" }, { "id": "9bbbcc50-e82d-43d4-a0b1-56a4b40b194c", "comment": "", "command": "verifyElementPresent", "target": "id=bankName", "targets": [], "value": "regex:(\\w*[a-zA-Z]\\w*)" }, { "id": "1a316a7d-9707-4ca5-ab57-b26681ed639a", "comment": "", "command": "sendKeys", "target": "id=bik", "targets": [ ["id=bik", "id"], ["css=#bik", "css:finder"], ["xpath=//input[@id='bik']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[6]/input", "xpath:idRelative"], ["xpath=//div[6]/input", "xpath:position"] ], "value": "123456789" }, { "id": "cb6d5d83-5d6a-44be-a92f-98ec60af6d48", "comment": "", "command": "verifyElementPresent", "target": "id=bik", "targets": [], "value": "regex:^\\d{9}" }, { "id": "197ae615-a7f2-4997-806c-6d4bef95cff5", "comment": "", "command": "sendKeys", "target": "id=secondAccount", "targets": [ ["id=secondAccount", "id"], ["css=#secondAccount", "css:finder"], ["xpath=//input[@id='secondAccount']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[7]/input", "xpath:idRelative"], ["xpath=//div[7]/input", "xpath:position"] ], "value": "12345678901234567890" }, { "id": "8ff6b1f0-7f49-41d6-ae7d-e2269a39b212", "comment": "", "command": "verifyElementPresent", "target": "id=secondAccount", "targets": [], "value": "regex:^\\d{20}" }, { "id": "484c9320-b76e-4d0b-8915-90df41d4ba18", "comment": "", "command": "sendKeys", "target": "id=director", "targets": [ ["id=director", "id"], ["css=#director", "css:finder"], ["xpath=//input[@id='director']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[9]/input", "xpath:idRelative"], ["xpath=//div[9]/input", "xpath:position"] ], "value": "aboba3" }, { "id": "67931a31-c8f1-4b2d-99be-b98fa4984b7e", "comment": "", "command": "verifyElementPresent", "target": "id=director", "targets": [ ["id=director", "id"], ["css=#director", "css:finder"], ["xpath=//input[@id='director']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[9]/input", "xpath:idRelative"], ["xpath=//div[9]/input", "xpath:position"] ], "value": "regex:(\\w*[a-zA-Z]\\w*)" }, { "id": "a7ac3df5-9df2-4aa7-8dcc-22ac615f7826", "comment": "", "command": "sendKeys", "target": "id=accountant", "targets": [ ["id=accountant", "id"], ["css=#accountant", "css:finder"], ["xpath=//input[@id='accountant']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[10]/input", "xpath:idRelative"], ["xpath=//div[10]/input", "xpath:position"] ], "value": "aboba4" }, { "id": "e901d6a1-3ee5-44f2-9fee-82bf8e505eed", "comment": "", "command": "verifyElementPresent", "target": "id=accountant", "targets": [ ["id=accountant", "id"], ["css=#accountant", "css:finder"], ["xpath=//input[@id='accountant']", "xpath:attributes"], ["xpath=//form[@id='invoiceForm']/div[10]/input", "xpath:idRelative"], ["xpath=//div[10]/input", "xpath:position"] ], "value": "regex:(\\w*[a-zA-Z]\\w*)" }, { "id": "279e684d-238d-43c5-8581-8c2b63a11896", "comment": "", "command": "type", "target": "id=invoiceDate", "targets": [], "value": "2025-03-19" }, { "id": "8f48b613-6e1a-4f07-a8db-7a6bd1449bca", "comment": "", "command": "sendKeys", "target": "css=td:nth-child(1) > .form-control", "targets": [ ["css=td:nth-child(1) > .form-control", "css:finder"], ["xpath=(//input[@type='text'])[10]", "xpath:attributes"], ["xpath=//table[@id='productTable']/tbody/tr[2]/td/input", "xpath:idRelative"], ["xpath=//td/input", "xpath:position"] ], "value": "aboba5" }, { "id": "779ce39c-7eab-42bc-8e50-b17ae33d58e7", "comment": "", "command": "verifyElementPresent", "target": "css=td:nth-child(1) > .form-control", "targets": [ ["css=td:nth-child(1) > .form-control", "css:finder"], ["xpath=(//input[@type='text'])[10]", "xpath:attributes"], ["xpath=//table[@id='productTable']/tbody/tr[2]/td/input", "xpath:idRelative"], ["xpath=//td/input", "xpath:position"] ], "value": "regex:(\\w*[a-zA-Z]\\w*)" }, { "id": "98b8931f-625c-4705-9f36-32025cc000f1", "comment": "", "command": "sendKeys", "target": "css=td:nth-child(4) > .form-control", "targets": [ ["css=td:nth-child(4) > .form-control", "css:finder"], ["xpath=(//input[@type='number'])[2]", "xpath:attributes"], ["xpath=//table[@id='productTable']/tbody/tr[2]/td[4]/input", "xpath:idRelative"], ["xpath=//td[4]/input", "xpath:position"] ], "value": "100" }, { "id": "3455469b-24e4-4b06-8f15-4bec42e40987", "comment": "", "command": "click", "target": "css=.btn-success", "targets": [ ["css=.btn-success", "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:innerText"] ], "value": "" }, { "id": "9a055f01-dfc9-4cdb-850c-e6c11bde3ca2", "comment": "", "command": "verifyElementPresent", "target": "css=h3", "targets": [ ["css=h3", "css:finder"], ["xpath=//h3", "xpath:position"], ["xpath=//h3[contains(.,'Образец заполнения платежного поручения')]", "xpath:innerText"] ], "value": "Образец заполнения платежного поручения" }] }], "suites": [{ "id": "0206c113-bae5-4b26-9e60-be44f657e368", "name": "Default Suite", "persistSession": false, "parallel": false, "timeout": 300, "tests": ["ba2713dc-fc56-47f6-bef6-3eb818822547"] }], "urls": ["http://localhost/%d1%81%d1%87%d0%b5%d1%82%d1%82/"], "plugins": [] }