503 lines
No EOL
17 KiB
Text
503 lines
No EOL
17 KiB
Text
{
|
|
"id": "ada3772a-db47-406f-a282-f82bdfcebeb3",
|
|
"version": "2.0",
|
|
"name": "CXC_ATESA_Pruebas_Bancos",
|
|
"url": "https://localhost:5134",
|
|
"tests": [{
|
|
"id": "140c937c-dbf8-4955-84f6-4f4b6d9c5f8e",
|
|
"name": "Agregar_Rol_Correcto",
|
|
"commands": [{
|
|
"id": "b1109d0f-94c1-4a0a-b991-ab575c904230",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "b76576c6-97bb-4574-9b65-fa64bd8432c1",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "715x735",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "35251fd0-0dec-42a8-9b50-e1ae8d3d1bb0",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.main-header > .navbar-nav > .nav-item:nth-child(1) > .nav-link",
|
|
"targets": [
|
|
["css=.main-header > .navbar-nav > .nav-item:nth-child(1) > .nav-link", "css:finder"],
|
|
["xpath=//a[contains(@href, '#')]", "xpath:href"],
|
|
["xpath=//a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "b2f69faa-3132-4e0d-b143-3bcecf7522ea",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Seguridad",
|
|
"targets": [
|
|
["linkText=Seguridad", "linkText"],
|
|
["css=.nav-pills > .nav-item:nth-child(2) > .nav-link", "css:finder"],
|
|
["xpath=(//a[contains(@href, '#')])[5]", "xpath:href"],
|
|
["xpath=//aside/div/nav/ul/li[2]/a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "3aa3c1b5-2ab6-4e40-baf8-bc275c25a8c6",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Roles",
|
|
"targets": [
|
|
["linkText=Roles", "linkText"],
|
|
["css=.menu-is-opening .nav-item:nth-child(1) > .nav-link", "css:finder"],
|
|
["xpath=//a[contains(@href, '/Rol')]", "xpath:href"],
|
|
["xpath=//li[2]/ul/li/a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "076823e7-d653-49fa-87e5-a61ecc927dc8",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.fa-plus",
|
|
"targets": [
|
|
["css=.fa-plus", "css:finder"],
|
|
["xpath=//div/a/i", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "779b0afd-cc4b-48f9-8eda-370df8265833",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=Descripcion",
|
|
"targets": [
|
|
["id=Descripcion", "id"],
|
|
["name=Descripcion", "name"],
|
|
["css=#Descripcion", "css:finder"],
|
|
["xpath=//input[@id='Descripcion']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]/div/div/input", "xpath:idRelative"],
|
|
["xpath=//td[2]/div/div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "32af3878-fcc5-4668-bdaf-35cf728be257",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "id=Descripcion",
|
|
"targets": [
|
|
["id=Descripcion", "id"],
|
|
["name=Descripcion", "name"],
|
|
["css=#Descripcion", "css:finder"],
|
|
["xpath=//input[@id='Descripcion']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]/div/div/input", "xpath:idRelative"],
|
|
["xpath=//td[2]/div/div/input", "xpath:position"]
|
|
],
|
|
"value": "AAA rol Agregar"
|
|
}, {
|
|
"id": "20a4e86b-ada6-43a6-898e-c9327c82bc5c",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.d-flex > .btn-success",
|
|
"targets": [
|
|
["css=.d-flex > .btn-success", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[4]/div/button", "xpath:idRelative"],
|
|
["xpath=//td[4]/div/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "456af4ab-a224-4bb7-88c2-4f6bf9c72804",
|
|
"comment": "",
|
|
"command": "assertText",
|
|
"target": "css=tr:nth-child(1) > td:nth-child(2)",
|
|
"targets": [
|
|
["css=tr:nth-child(1) > td:nth-child(2)", "css:finder"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]", "xpath:idRelative"],
|
|
["xpath=//td[2]", "xpath:position"],
|
|
["xpath=//td[contains(.,'ADMINISTRADOR')]", "xpath:innerText"]
|
|
],
|
|
"value": "AAA rol Agregar"
|
|
}, {
|
|
"id": "b8c96541-16e0-43fb-a602-4b0841fcefc1",
|
|
"comment": "",
|
|
"command": "close",
|
|
"target": "",
|
|
"targets": [],
|
|
"value": ""
|
|
}]
|
|
}, {
|
|
"id": "3e1d3f47-b658-4697-91a7-2d0e3e1a04d7",
|
|
"name": "Agregar_Rol_Incorrecto_Req",
|
|
"commands": [{
|
|
"id": "881b374a-8db6-41c4-9fb2-ca50d6d7464f",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "b2c55e22-6e63-4935-83b2-1a4accd04d76",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "772x735",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "6d71e97f-968e-4acf-9872-7d0e86bb2ff3",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.main-header > .navbar-nav > .nav-item:nth-child(1) > .nav-link",
|
|
"targets": [
|
|
["css=.main-header > .navbar-nav > .nav-item:nth-child(1) > .nav-link", "css:finder"],
|
|
["xpath=//a[contains(@href, '#')]", "xpath:href"],
|
|
["xpath=//a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "265900eb-0f38-49a4-a4fe-8291d3bf603e",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.nav-pills > .nav-item:nth-child(2) > .nav-link > p",
|
|
"targets": [
|
|
["css=.nav-pills > .nav-item:nth-child(2) > .nav-link > p", "css:finder"],
|
|
["xpath=//nav/ul/li[2]/a/p", "xpath:position"],
|
|
["xpath=//p[contains(.,'Seguridad')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "66a4c585-f513-4fef-8846-dbf061dda080",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.menu-is-opening .nav-item:nth-child(1) p",
|
|
"targets": [
|
|
["css=.menu-is-opening .nav-item:nth-child(1) p", "css:finder"],
|
|
["xpath=//li[2]/ul/li/a/p", "xpath:position"],
|
|
["xpath=//p[contains(.,'Roles')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "813e9c81-fb26-46e8-995b-56151229652a",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Agregar",
|
|
"targets": [
|
|
["linkText=Agregar", "linkText"],
|
|
["css=.btn-success", "css:finder"],
|
|
["xpath=//a[contains(@href, '/Rol/Agregar')]", "xpath:href"],
|
|
["xpath=//div/div/div/div/div/a", "xpath:position"],
|
|
["xpath=//a[contains(.,' Agregar')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "5827055e-7a39-4934-9dc8-d221e22f697e",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.d-flex > .btn-success",
|
|
"targets": [
|
|
["css=.d-flex > .btn-success", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[4]/div/button", "xpath:idRelative"],
|
|
["xpath=//td[4]/div/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "8fa6dbf1-f515-468a-9828-76cf49984e6c",
|
|
"comment": "",
|
|
"command": "assertText",
|
|
"target": "id=Descripcion-error",
|
|
"targets": [
|
|
["id=Descripcion-error", "id"],
|
|
["css=#Descripcion-error", "css:finder"],
|
|
["xpath=//span[@id='Descripcion-error']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]/div/div/div/span/span", "xpath:idRelative"],
|
|
["xpath=//span/span", "xpath:position"]
|
|
],
|
|
"value": "Este campo es requerido."
|
|
}, {
|
|
"id": "a1f20da5-be09-4ca8-9db9-9a6dbbe5f6a6",
|
|
"comment": "",
|
|
"command": "close",
|
|
"target": "",
|
|
"targets": [],
|
|
"value": ""
|
|
}]
|
|
}, {
|
|
"id": "28c0ef57-31f3-4273-abdf-a2d038a42dc7",
|
|
"name": "Agregar_Rol_Incorrecto_Texto",
|
|
"commands": [{
|
|
"id": "566cc3f6-d622-429f-ab3a-07ffbed4da1a",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "5ff8ba9a-b3de-4848-8826-ecd2c410232f",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "723x735",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "1eaf5ec1-5fae-4007-848c-6463a2c9e8e9",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.fa-bars",
|
|
"targets": [
|
|
["css=.fa-bars", "css:finder"],
|
|
["xpath=//i", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "28830d58-0d84-48b7-8b13-d482066ea637",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.nav-pills > .nav-item:nth-child(2) > .nav-link > p",
|
|
"targets": [
|
|
["css=.nav-pills > .nav-item:nth-child(2) > .nav-link > p", "css:finder"],
|
|
["xpath=//nav/ul/li[2]/a/p", "xpath:position"],
|
|
["xpath=//p[contains(.,'Seguridad')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "8241a52a-711b-465c-b98e-7ace1cb5917f",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Roles",
|
|
"targets": [
|
|
["linkText=Roles", "linkText"],
|
|
["css=.menu-is-opening .nav-item:nth-child(1) > .nav-link", "css:finder"],
|
|
["xpath=//a[contains(@href, '/Rol')]", "xpath:href"],
|
|
["xpath=//li[2]/ul/li/a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "6a46d5e5-2def-4b6c-8095-8877ffe1c56e",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Agregar",
|
|
"targets": [
|
|
["linkText=Agregar", "linkText"],
|
|
["css=.btn-success", "css:finder"],
|
|
["xpath=//a[contains(@href, '/Rol/Agregar')]", "xpath:href"],
|
|
["xpath=//div/div/div/div/div/a", "xpath:position"],
|
|
["xpath=//a[contains(.,' Agregar')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "5fac1467-c4bc-45d9-b26a-8645d5fc4029",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=Descripcion",
|
|
"targets": [
|
|
["id=Descripcion", "id"],
|
|
["name=Descripcion", "name"],
|
|
["css=#Descripcion", "css:finder"],
|
|
["xpath=//input[@id='Descripcion']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]/div/div/input", "xpath:idRelative"],
|
|
["xpath=//td[2]/div/div/input", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "a716055a-7383-45c5-852e-411395b9948f",
|
|
"comment": "",
|
|
"command": "type",
|
|
"target": "id=Descripcion",
|
|
"targets": [
|
|
["id=Descripcion", "id"],
|
|
["name=Descripcion", "name"],
|
|
["css=#Descripcion", "css:finder"],
|
|
["xpath=//input[@id='Descripcion']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]/div/div/input", "xpath:idRelative"],
|
|
["xpath=//td[2]/div/div/input", "xpath:position"]
|
|
],
|
|
"value": "rol8888"
|
|
}, {
|
|
"id": "f916b161-6f45-42bf-888d-21a0dce3032b",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.d-flex > .btn-success",
|
|
"targets": [
|
|
["css=.d-flex > .btn-success", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[4]/div/button", "xpath:idRelative"],
|
|
["xpath=//td[4]/div/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "befdabe6-1051-4a7f-ab06-7ec7f6684c22",
|
|
"comment": "",
|
|
"command": "assertText",
|
|
"target": "id=Descripcion-error",
|
|
"targets": [
|
|
["id=Descripcion-error", "id"],
|
|
["css=#Descripcion-error", "css:finder"],
|
|
["xpath=//span[@id='Descripcion-error']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[2]/div/div/div/span/span", "xpath:idRelative"],
|
|
["xpath=//span/span", "xpath:position"]
|
|
],
|
|
"value": "Este campo solo admite texto."
|
|
}, {
|
|
"id": "8c249f5e-11dd-4537-807f-c0adb5db414c",
|
|
"comment": "",
|
|
"command": "close",
|
|
"target": "",
|
|
"targets": [],
|
|
"value": ""
|
|
}]
|
|
}, {
|
|
"id": "710b1403-d03f-4871-8ad0-042401e15ecf",
|
|
"name": "Editar_Rol_Correcto",
|
|
"commands": [{
|
|
"id": "5a7315bb-3d28-4cbb-b54f-1dbebae3b505",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/Rol",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "6e2f8b29-2652-43b0-8327-14588af9543d",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "823x735",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "fc451fd9-1b80-4921-9895-2575c4a8da73",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=tr:nth-child(1) .fa",
|
|
"targets": [
|
|
["css=tr:nth-child(1) .fa", "css:finder"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[4]/a/i", "xpath:idRelative"],
|
|
["xpath=//td[4]/a/i", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "6253a9e9-8729-4123-8914-5ae13de09c21",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "id=Habilitado",
|
|
"targets": [
|
|
["id=Habilitado", "id"],
|
|
["name=Habilitado", "name"],
|
|
["css=#Habilitado", "css:finder"],
|
|
["xpath=//select[@id='Habilitado']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[3]/select", "xpath:idRelative"],
|
|
["xpath=//select", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "04e8ea56-bc5a-4fc7-a838-864ee779b6a6",
|
|
"comment": "",
|
|
"command": "select",
|
|
"target": "id=Habilitado",
|
|
"targets": [],
|
|
"value": "label=Inactivo"
|
|
}, {
|
|
"id": "16585bab-18c2-48d5-b001-19d991f2d1db",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.d-flex > .btn-success",
|
|
"targets": [
|
|
["css=.d-flex > .btn-success", "css:finder"],
|
|
["xpath=//button[@type='submit']", "xpath:attributes"],
|
|
["xpath=//table[@id='tblEmpleados']/tbody/tr/td[4]/div/button", "xpath:idRelative"],
|
|
["xpath=//td[4]/div/button", "xpath:position"],
|
|
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "f2f88cca-960d-429a-9557-8da7e23fc0cb",
|
|
"comment": "",
|
|
"command": "close",
|
|
"target": "",
|
|
"targets": [],
|
|
"value": ""
|
|
}]
|
|
}, {
|
|
"id": "cd28493a-591b-46b2-9faf-0373301798b3",
|
|
"name": "Consultar_Rol",
|
|
"commands": [{
|
|
"id": "7c3ca686-4e57-41d0-a9fc-4d8ced85f297",
|
|
"comment": "",
|
|
"command": "open",
|
|
"target": "/",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "acc9a7d9-3e99-4f38-a1cc-f712778262d8",
|
|
"comment": "",
|
|
"command": "setWindowSize",
|
|
"target": "740x735",
|
|
"targets": [],
|
|
"value": ""
|
|
}, {
|
|
"id": "99fe0363-c772-4dc9-9e5b-efe4d2cd9d08",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "css=.main-header > .navbar-nav > .nav-item:nth-child(1) > .nav-link",
|
|
"targets": [
|
|
["css=.main-header > .navbar-nav > .nav-item:nth-child(1) > .nav-link", "css:finder"],
|
|
["xpath=//a[contains(@href, '#')]", "xpath:href"],
|
|
["xpath=//a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "2c781eca-a16a-4b22-9816-53e23c7f9039",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Seguridad",
|
|
"targets": [
|
|
["linkText=Seguridad", "linkText"],
|
|
["css=.nav-pills > .nav-item:nth-child(2) > .nav-link", "css:finder"],
|
|
["xpath=(//a[contains(@href, '#')])[5]", "xpath:href"],
|
|
["xpath=//aside/div/nav/ul/li[2]/a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "fabfe816-fdb7-4200-a5ec-3a8dd5fa0d97",
|
|
"comment": "",
|
|
"command": "click",
|
|
"target": "linkText=Roles",
|
|
"targets": [
|
|
["linkText=Roles", "linkText"],
|
|
["css=.menu-is-opening .nav-item:nth-child(1) > .nav-link", "css:finder"],
|
|
["xpath=//a[contains(@href, '/Rol')]", "xpath:href"],
|
|
["xpath=//li[2]/ul/li/a", "xpath:position"]
|
|
],
|
|
"value": ""
|
|
}, {
|
|
"id": "9bfa8243-f24a-491d-a7bb-c76cbfbcb2b5",
|
|
"comment": "",
|
|
"command": "assertText",
|
|
"target": "css=.m-0",
|
|
"targets": [
|
|
["css=.m-0", "css:finder"],
|
|
["xpath=//h1", "xpath:position"],
|
|
["xpath=//h1[contains(.,'Roles')]", "xpath:innerText"]
|
|
],
|
|
"value": "Roles"
|
|
}, {
|
|
"id": "c6f411f6-f963-4d14-8e93-c797f7f3c965",
|
|
"comment": "",
|
|
"command": "close",
|
|
"target": "",
|
|
"targets": [],
|
|
"value": ""
|
|
}]
|
|
}],
|
|
"suites": [{
|
|
"id": "84b5a135-d635-42d7-90b4-290f8f69e2af",
|
|
"name": "Default Suite",
|
|
"persistSession": false,
|
|
"parallel": false,
|
|
"timeout": 300,
|
|
"tests": []
|
|
}],
|
|
"urls": ["https://localhost:5134/"],
|
|
"plugins": []
|
|
} |