TFS_ANTIGUO/TPAtesa_CuentasCobrar/CXC_ATESA_Pruebas_Clientes.side

1317 lines
No EOL
45 KiB
Text

{
"id": "ada3772a-db47-406f-a282-f82bdfcebeb3",
"version": "2.0",
"name": "CXC_ATESA_Pruebas_Bancos",
"url": "https://localhost:5134",
"tests": [{
"id": "e1beff31-dfd2-4382-b809-acded17ffa89",
"name": "Agregar_Cliente_Correcto",
"commands": [{
"id": "531d94b1-43ce-4056-b5bd-eed89c7c9bbb",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "c2ccd59c-b57f-4456-954b-86ac5a5ed400",
"comment": "",
"command": "setWindowSize",
"target": "856x735",
"targets": [],
"value": ""
}, {
"id": "3f5e7ef5-5db1-4998-8c8a-b0dd42fef107",
"comment": "",
"command": "click",
"target": "css=.fa-bars",
"targets": [
["css=.fa-bars", "css:finder"],
["xpath=//i", "xpath:position"]
],
"value": ""
}, {
"id": "91dbf43d-c865-4ef4-81e9-2bcd48f39815",
"comment": "",
"command": "click",
"target": "css=.nav-pills > .nav-item:nth-child(3) > .nav-link > p",
"targets": [
["css=.nav-pills > .nav-item:nth-child(3) > .nav-link > p", "css:finder"],
["xpath=//nav/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Facturación')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "8c06f176-3f72-4e8d-960a-a2e2a4951f8d",
"comment": "",
"command": "click",
"target": "css=.menu-is-opening .nav-item:nth-child(3) p",
"targets": [
["css=.menu-is-opening .nav-item:nth-child(3) p", "css:finder"],
["xpath=//li[3]/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Clientes')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "f96362c2-3556-4976-9690-81fb97c7d582",
"comment": "",
"command": "click",
"target": "linkText=Agregar",
"targets": [
["linkText=Agregar", "linkText"],
["css=.btn-success", "css:finder"],
["xpath=//a[contains(@href, '/Cliente/Agregar?numeroDePagina=1&registrosPorPagina=5')]", "xpath:href"],
["xpath=//div/div/div/div/div/a", "xpath:position"],
["xpath=//a[contains(.,' Agregar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "5ad6359d-4330-4ca3-8af3-cdce8200920e",
"comment": "",
"command": "click",
"target": "id=NoIdentificacion",
"targets": [
["id=NoIdentificacion", "id"],
["name=NoIdentificacion", "name"],
["css=#NoIdentificacion", "css:finder"],
["xpath=//input[@id='NoIdentificacion']", "xpath:attributes"],
["xpath=//div[2]/div/div/input", "xpath:position"]
],
"value": ""
}, {
"id": "bd943b78-044c-4d18-ad37-ae4e0fd0336e",
"comment": "",
"command": "type",
"target": "id=NoIdentificacion",
"targets": [
["id=NoIdentificacion", "id"],
["name=NoIdentificacion", "name"],
["css=#NoIdentificacion", "css:finder"],
["xpath=//input[@id='NoIdentificacion']", "xpath:attributes"],
["xpath=//div[2]/div/div/input", "xpath:position"]
],
"value": "AAA11111111"
}, {
"id": "8e643630-cb51-4532-beb1-89bc3f9745c7",
"comment": "",
"command": "click",
"target": "id=IdTipoIdentificacion",
"targets": [
["id=IdTipoIdentificacion", "id"],
["name=IdTipoIdentificacion", "name"],
["css=#IdTipoIdentificacion", "css:finder"],
["xpath=//select[@id='IdTipoIdentificacion']", "xpath:attributes"],
["xpath=//select", "xpath:position"]
],
"value": ""
}, {
"id": "9912c128-170a-43f3-a581-c5187e77b8bf",
"comment": "",
"command": "select",
"target": "id=IdTipoIdentificacion",
"targets": [],
"value": "label=CEDULA FISICA"
}, {
"id": "835c89b1-9250-469c-98af-bd4e1a75a336",
"comment": "",
"command": "click",
"target": "id=Nombre",
"targets": [
["id=Nombre", "id"],
["name=Nombre", "name"],
["css=#Nombre", "css:finder"],
["xpath=//input[@id='Nombre']", "xpath:attributes"],
["xpath=//div[3]/input", "xpath:position"]
],
"value": ""
}, {
"id": "2b026130-cdce-493d-bdb6-89486d0e40de",
"comment": "",
"command": "type",
"target": "id=Nombre",
"targets": [
["id=Nombre", "id"],
["name=Nombre", "name"],
["css=#Nombre", "css:finder"],
["xpath=//input[@id='Nombre']", "xpath:attributes"],
["xpath=//div[3]/input", "xpath:position"]
],
"value": "AAA cliente"
}, {
"id": "89f13a11-bffa-4f23-898e-db5ec3e518fc",
"comment": "",
"command": "click",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": ""
}, {
"id": "863eaca9-db2b-49e0-82d0-29e0cadccf36",
"comment": "",
"command": "type",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": "prueba"
}, {
"id": "ee255751-cd37-41df-9eb1-074c2093667d",
"comment": "",
"command": "click",
"target": "id=Correo",
"targets": [
["id=Correo", "id"],
["name=Correo", "name"],
["css=#Correo", "css:finder"],
["xpath=//input[@id='Correo']", "xpath:attributes"],
["xpath=//div[6]/input", "xpath:position"]
],
"value": ""
}, {
"id": "6741d13a-bc09-435e-ba8c-6515c1177674",
"comment": "",
"command": "type",
"target": "id=Correo",
"targets": [
["id=Correo", "id"],
["name=Correo", "name"],
["css=#Correo", "css:finder"],
["xpath=//input[@id='Correo']", "xpath:attributes"],
["xpath=//div[6]/input", "xpath:position"]
],
"value": "prueba@atesacr.com"
}, {
"id": "299c7157-2cd2-4643-9ed8-c3d7757c006d",
"comment": "",
"command": "click",
"target": "id=Direccion",
"targets": [
["id=Direccion", "id"],
["name=Direccion", "name"],
["css=#Direccion", "css:finder"],
["xpath=//textarea[@id='Direccion']", "xpath:attributes"],
["xpath=//textarea", "xpath:position"]
],
"value": ""
}, {
"id": "b2420221-3fd3-425e-bc29-b66866e3a8c5",
"comment": "",
"command": "click",
"target": "css=.col-md-6:nth-child(2)",
"targets": [
["css=.col-md-6:nth-child(2)", "css:finder"],
["xpath=//form/div[2]/div[2]", "xpath:position"]
],
"value": ""
}, {
"id": "9cc5d234-a9dd-4f6a-b093-a5b7c5eaac67",
"comment": "",
"command": "click",
"target": "id=select-paises",
"targets": [
["id=select-paises", "id"],
["name=IdPaisNacionalidad", "name"],
["css=#select-paises", "css:finder"],
["xpath=//select[@id='select-paises']", "xpath:attributes"],
["xpath=//div[2]/div/select", "xpath:position"]
],
"value": ""
}, {
"id": "0ff2b03f-5cc2-48c8-a430-ed8bde7f6516",
"comment": "",
"command": "select",
"target": "id=select-paises",
"targets": [],
"value": "label=COSTA RICA"
}, {
"id": "a6f40e25-7081-4de5-99c0-3e4e72d6736b",
"comment": "",
"command": "click",
"target": "id=Telefonos_0__Numero",
"targets": [
["id=Telefonos_0__Numero", "id"],
["name=Telefonos[0].Numero", "name"],
["css=#Telefonos_0__Numero", "css:finder"],
["xpath=//input[@id='Telefonos_0__Numero']", "xpath:attributes"],
["xpath=//div[@id='inputRow']/div/input[4]", "xpath:idRelative"],
["xpath=//input[4]", "xpath:position"]
],
"value": ""
}, {
"id": "751d5d9f-d6e8-4cb3-8b33-d505d00e7752",
"comment": "",
"command": "type",
"target": "id=Telefonos_0__Numero",
"targets": [
["id=Telefonos_0__Numero", "id"],
["name=Telefonos[0].Numero", "name"],
["css=#Telefonos_0__Numero", "css:finder"],
["xpath=//input[@id='Telefonos_0__Numero']", "xpath:attributes"],
["xpath=//div[@id='inputRow']/div/input[4]", "xpath:idRelative"],
["xpath=//input[4]", "xpath:position"]
],
"value": "87963214"
}, {
"id": "ed8fad38-be66-44ec-87ed-b68eff0a98e4",
"comment": "",
"command": "click",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "ae290a0d-3a1f-42ec-947a-bf40b6eecfc0",
"comment": "",
"command": "click",
"target": "css=.swal2-container",
"targets": [
["css=.swal2-container", "css:finder"],
["xpath=//body/div[2]", "xpath:position"]
],
"value": ""
}, {
"id": "727b1771-c2ca-4180-aedd-f4045ff49347",
"comment": "",
"command": "assertText",
"target": "css=.odd:nth-child(1) > .dtr-control",
"targets": [
["css=.odd:nth-child(1) > .dtr-control", "css:finder"],
["xpath=//table[@id='tablasMT']/tbody/tr/td", "xpath:idRelative"],
["xpath=//td", "xpath:position"],
["xpath=//td[contains(.,'AAA11111111')]", "xpath:innerText"]
],
"value": "AAA11111111"
}, {
"id": "6d99fc65-3e65-4309-8619-2a5d7904145f",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}, {
"id": "cbf28174-f4c9-44ce-a90b-2aa3065ea902",
"name": "Agregar_Cliente_Incorrecto",
"commands": [{
"id": "0619f598-67cb-4d90-bec1-ed0e576e3fb9",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "53749254-3467-4c5c-8a0a-4ff32d295fab",
"comment": "",
"command": "setWindowSize",
"target": "709x735",
"targets": [],
"value": ""
}, {
"id": "dbb1158f-ef87-4a88-83ed-c7d2fe28d657",
"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": "eac9b875-2ab1-4c5f-8cb7-b3057248cdc1",
"comment": "",
"command": "click",
"target": "linkText=Facturación",
"targets": [
["linkText=Facturación", "linkText"],
["css=.nav-pills > .nav-item:nth-child(3) > .nav-link", "css:finder"],
["xpath=(//a[contains(@href, '#')])[6]", "xpath:href"],
["xpath=//nav/ul/li[3]/a", "xpath:position"]
],
"value": ""
}, {
"id": "9430797c-7cbe-43c7-bb5a-ac56c316ceb2",
"comment": "",
"command": "click",
"target": "linkText=Clientes",
"targets": [
["linkText=Clientes", "linkText"],
["css=.menu-is-opening .nav-item:nth-child(3) > .nav-link", "css:finder"],
["xpath=//a[contains(@href, '/Cliente')]", "xpath:href"],
["xpath=//li[3]/ul/li[3]/a", "xpath:position"]
],
"value": ""
}, {
"id": "26e4e21c-5669-4635-a023-959d2ca900a3",
"comment": "",
"command": "click",
"target": "linkText=Agregar",
"targets": [
["linkText=Agregar", "linkText"],
["css=.btn-success", "css:finder"],
["xpath=//a[contains(@href, '/Cliente/Agregar?numeroDePagina=1&registrosPorPagina=5')]", "xpath:href"],
["xpath=//div/div/div/div/div/a", "xpath:position"],
["xpath=//a[contains(.,' Agregar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "01e61645-0387-4303-80f2-09f119eef2a0",
"comment": "",
"command": "click",
"target": "id=Correo",
"targets": [
["id=Correo", "id"],
["name=Correo", "name"],
["css=#Correo", "css:finder"],
["xpath=//input[@id='Correo']", "xpath:attributes"],
["xpath=//div[6]/input", "xpath:position"]
],
"value": ""
}, {
"id": "47914687-6cf2-4f63-a53d-42a3ee330e54",
"comment": "",
"command": "type",
"target": "id=Correo",
"targets": [
["id=Correo", "id"],
["name=Correo", "name"],
["css=#Correo", "css:finder"],
["xpath=//input[@id='Correo']", "xpath:attributes"],
["xpath=//div[6]/input", "xpath:position"]
],
"value": "prueba@atesacr"
}, {
"id": "e9f2ee4a-d9f6-4af4-aef1-ee4722be8c0e",
"comment": "",
"command": "mouseOver",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "3942ed71-aada-4f56-85c2-65dabb27daf9",
"comment": "",
"command": "click",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "3991f2dd-bcff-4f92-a580-2086f69ce633",
"comment": "",
"command": "mouseOut",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "e9a02a9a-4c9e-4676-80e3-f51a641bcf57",
"comment": "",
"command": "assertText",
"target": "id=NoIdentificacion-error",
"targets": [
["id=NoIdentificacion-error", "id"],
["css=#NoIdentificacion-error", "css:finder"],
["xpath=//span[@id='NoIdentificacion-error']", "xpath:attributes"],
["xpath=//span/span", "xpath:position"]
],
"value": "Este campo es requerido."
}, {
"id": "60f43b49-25ce-4049-ae84-af5bba0deae0",
"comment": "",
"command": "assertText",
"target": "id=IdTipoIdentificacion-error",
"targets": [
["id=IdTipoIdentificacion-error", "id"],
["css=#IdTipoIdentificacion-error", "css:finder"],
["xpath=//span[@id='IdTipoIdentificacion-error']", "xpath:attributes"],
["xpath=//div[2]/div/span/span", "xpath:position"]
],
"value": "Este campo es requerido."
}, {
"id": "e3380287-8920-4508-aa7f-76438dedf814",
"comment": "",
"command": "assertText",
"target": "id=Nombre-error",
"targets": [
["id=Nombre-error", "id"],
["css=#Nombre-error", "css:finder"],
["xpath=//span[@id='Nombre-error']", "xpath:attributes"],
["xpath=//div[3]/div/span/span", "xpath:position"]
],
"value": "Este campo es requerido."
}, {
"id": "6beec413-7a1a-4cd0-8256-0cc78c802b7e",
"comment": "",
"command": "assertText",
"target": "id=select-paises-error",
"targets": [
["id=select-paises-error", "id"],
["css=#select-paises-error", "css:finder"],
["xpath=//span[@id='select-paises-error']", "xpath:attributes"],
["xpath=//div[2]/div/div/span/span", "xpath:position"]
],
"value": "Este campo es requerido."
}, {
"id": "901bea78-9902-4ff2-a5a1-91c45081cd88",
"comment": "",
"command": "assertText",
"target": "id=Telefonos_0__Numero-error",
"targets": [
["id=Telefonos_0__Numero-error", "id"],
["css=#Telefonos_0__Numero-error", "css:finder"],
["xpath=//span[@id='Telefonos_0__Numero-error']", "xpath:attributes"],
["xpath=//div[@id='inputRow']/span/span", "xpath:idRelative"],
["xpath=//div[4]/div/span/span", "xpath:position"]
],
"value": "Este campo es requerido"
}, {
"id": "78b3cf01-5b8d-4852-9d0f-261fd17c6de1",
"comment": "",
"command": "assertText",
"target": "id=Correo-error",
"targets": [
["id=Correo-error", "id"],
["css=#Correo-error", "css:finder"],
["xpath=//span[@id='Correo-error']", "xpath:attributes"],
["xpath=//div[6]/div/span/span", "xpath:position"]
],
"value": "Formato de correo invalido."
}, {
"id": "69e01a66-c3ea-4e8c-9a7d-41ed6c6ee2ff",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}, {
"id": "91356e4d-a23b-4fab-abb8-ca50d984df22",
"name": "Editar_Cliente_Correcto",
"commands": [{
"id": "2620763c-3393-4cd2-b33d-4bb1b306bbda",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "00539259-4422-48f8-8287-0f9f86d72d58",
"comment": "",
"command": "setWindowSize",
"target": "785x735",
"targets": [],
"value": ""
}, {
"id": "9b3fe15b-b50c-4e02-8df0-0185b6c9c3b1",
"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": "98b88e82-fb97-4bac-91a4-c9965c54258e",
"comment": "",
"command": "click",
"target": "css=.nav-pills > .nav-item:nth-child(3) > .nav-link > p",
"targets": [
["css=.nav-pills > .nav-item:nth-child(3) > .nav-link > p", "css:finder"],
["xpath=//nav/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Facturación')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "d0ede8ed-437c-45b6-87cd-dee810d35ba6",
"comment": "",
"command": "click",
"target": "css=.menu-is-opening .nav-item:nth-child(3) p",
"targets": [
["css=.menu-is-opening .nav-item:nth-child(3) p", "css:finder"],
["xpath=//li[3]/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Clientes')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "3b562cef-10f0-4d92-8b26-b5f47a25d6f7",
"comment": "",
"command": "click",
"target": "linkText=Ver más",
"targets": [
["linkText=Ver más", "linkText"],
["css=.odd:nth-child(1) .btn-primary", "css:finder"],
["xpath=//a[contains(text(),'Ver más')]", "xpath:link"],
["xpath=//table[@id='tablasMT']/tbody/tr/td[7]/a", "xpath:idRelative"],
["xpath=//a[contains(@href, '/Cliente/Detalles?noIdentificacion=AAA11111111&numeroDePagina=1&registrosPorPagina=5')]", "xpath:href"],
["xpath=//td[7]/a", "xpath:position"],
["xpath=//a[contains(.,'Ver más')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "384e9d17-1d82-4a69-b1ce-0a8666c8d033",
"comment": "",
"command": "click",
"target": "linkText=Editar",
"targets": [
["linkText=Editar", "linkText"],
["css=.btn-sm", "css:finder"],
["xpath=//a[contains(text(),'Editar')]", "xpath:link"],
["xpath=//a[contains(@href, '/Cliente/Editar?noIdentificacion=AAA11111111&numeroDePagina=1&registrosPorPagina=5')]", "xpath:href"],
["xpath=//a[2]", "xpath:position"],
["xpath=//a[contains(.,'Editar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "9fe64540-93c4-47ac-9f76-c8555e510e0b",
"comment": "",
"command": "click",
"target": "id=IdTipoIdentificacion",
"targets": [
["id=IdTipoIdentificacion", "id"],
["name=IdTipoIdentificacion", "name"],
["css=#IdTipoIdentificacion", "css:finder"],
["xpath=//select[@id='IdTipoIdentificacion']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[2]/select", "xpath:idRelative"],
["xpath=//select", "xpath:position"]
],
"value": ""
}, {
"id": "f005fc05-f39a-4e54-9005-2e8c1bb57bba",
"comment": "",
"command": "select",
"target": "id=IdTipoIdentificacion",
"targets": [],
"value": "label=CEDULA JURIDICA"
}, {
"id": "d11338d9-059a-4dbc-8835-0d1ce7ca2e32",
"comment": "",
"command": "click",
"target": "id=Nombre",
"targets": [
["id=Nombre", "id"],
["name=Nombre", "name"],
["css=#Nombre", "css:finder"],
["xpath=//input[@id='Nombre']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[3]/input", "xpath:idRelative"],
["xpath=//div[3]/input", "xpath:position"]
],
"value": ""
}, {
"id": "7bc91f02-b6d2-466f-ab1f-fc2b9c864fef",
"comment": "",
"command": "type",
"target": "id=Nombre",
"targets": [
["id=Nombre", "id"],
["name=Nombre", "name"],
["css=#Nombre", "css:finder"],
["xpath=//input[@id='Nombre']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[3]/input", "xpath:idRelative"],
["xpath=//div[3]/input", "xpath:position"]
],
"value": "AAA editar"
}, {
"id": "742eca40-8a38-4158-ab92-880eeb7a8f37",
"comment": "",
"command": "click",
"target": "css=.wrapper",
"targets": [
["css=.wrapper", "css:finder"],
["xpath=//div", "xpath:position"]
],
"value": ""
}, {
"id": "3b589942-0157-4ab9-beb5-a8919a50884c",
"comment": "",
"command": "click",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[4]/input", "xpath:idRelative"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": ""
}, {
"id": "9641a707-73e6-44d3-a471-db6f4a237261",
"comment": "",
"command": "click",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[4]/input", "xpath:idRelative"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": ""
}, {
"id": "68daa32b-8af2-4047-aaaf-2d52ca14688e",
"comment": "",
"command": "click",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[4]/input", "xpath:idRelative"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": ""
}, {
"id": "b2795046-f2df-40ad-9df3-502658745352",
"comment": "",
"command": "doubleClick",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[4]/input", "xpath:idRelative"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": ""
}, {
"id": "87098201-b1cb-43f5-ac1c-c8cd039cd80b",
"comment": "",
"command": "type",
"target": "id=Apellido1",
"targets": [
["id=Apellido1", "id"],
["name=Apellido1", "name"],
["css=#Apellido1", "css:finder"],
["xpath=//input[@id='Apellido1']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[4]/input", "xpath:idRelative"],
["xpath=//div[4]/input", "xpath:position"]
],
"value": ""
}, {
"id": "84ef8229-aaf3-41b7-a531-34e640c3228c",
"comment": "",
"command": "click",
"target": "css=.wrapper",
"targets": [
["css=.wrapper", "css:finder"],
["xpath=//div", "xpath:position"]
],
"value": ""
}, {
"id": "0282d6bb-f3f8-4014-b8b4-76477a322329",
"comment": "",
"command": "click",
"target": "id=Direccion",
"targets": [
["id=Direccion", "id"],
["name=Direccion", "name"],
["css=#Direccion", "css:finder"],
["xpath=//textarea[@id='Direccion']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[7]/textarea", "xpath:idRelative"],
["xpath=//textarea", "xpath:position"]
],
"value": ""
}, {
"id": "67b46345-6d8d-45cc-8974-27c0d663bc1d",
"comment": "",
"command": "type",
"target": "id=Direccion",
"targets": [
["id=Direccion", "id"],
["name=Direccion", "name"],
["css=#Direccion", "css:finder"],
["xpath=//textarea[@id='Direccion']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[7]/textarea", "xpath:idRelative"],
["xpath=//textarea", "xpath:position"]
],
"value": "prueba prueba prueba"
}, {
"id": "3d1b4a86-a2cf-42f6-876b-0f2a46311d31",
"comment": "",
"command": "click",
"target": "id=select-paises",
"targets": [
["id=select-paises", "id"],
["name=IdPaisNacionalidad", "name"],
["css=#select-paises", "css:finder"],
["xpath=//select[@id='select-paises']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div[2]/div/select", "xpath:idRelative"],
["xpath=//div[2]/div/select", "xpath:position"]
],
"value": ""
}, {
"id": "0dbe7c7c-e521-4d21-8455-183ef09b5c84",
"comment": "",
"command": "select",
"target": "id=select-paises",
"targets": [],
"value": "label=BELICE"
}, {
"id": "af7edfa6-7f0a-4764-96e4-1222ce9f3221",
"comment": "",
"command": "click",
"target": "id=addRow",
"targets": [
["id=addRow", "id"],
["css=#addRow", "css:finder"],
["xpath=//button[@id='addRow']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div[2]/div[3]/button", "xpath:idRelative"],
["xpath=//div[3]/button", "xpath:position"],
["xpath=//button[contains(.,'Agregar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "6b0fcb6b-5938-42b9-a5c5-094beda161d8",
"comment": "",
"command": "click",
"target": "id=Telefonos[1].IdTipoTelefono",
"targets": [
["id=Telefonos[1].IdTipoTelefono", "id"],
["name=Telefonos[1].IdTipoTelefono", "name"],
["css=#Telefonos\\[1\\]\\.IdTipoTelefono", "css:finder"],
["xpath=//select[@id='Telefonos[1].IdTipoTelefono']", "xpath:attributes"],
["xpath=//div[@id='inputRow']/div/select", "xpath:idRelative"],
["xpath=//div[4]/div/div/select", "xpath:position"]
],
"value": ""
}, {
"id": "44098584-f053-4215-9eb0-ede387842be5",
"comment": "",
"command": "select",
"target": "id=Telefonos[1].IdTipoTelefono",
"targets": [],
"value": "label=EMERGENCIA"
}, {
"id": "dff10159-19d4-45ef-82e7-4fb7862b48bb",
"comment": "",
"command": "click",
"target": "id=Telefonos[1].Numero",
"targets": [
["id=Telefonos[1].Numero", "id"],
["name=Telefonos[1].Numero", "name"],
["css=#Telefonos\\[1\\]\\.Numero", "css:finder"],
["xpath=//input[@id='Telefonos[1].Numero']", "xpath:attributes"],
["xpath=//div[@id='inputRow']/div/input[4]", "xpath:idRelative"],
["xpath=//div/input[4]", "xpath:position"]
],
"value": ""
}, {
"id": "06aa276e-9f75-471d-8c84-a6de9f6c6184",
"comment": "",
"command": "type",
"target": "id=Telefonos[1].Numero",
"targets": [
["id=Telefonos[1].Numero", "id"],
["name=Telefonos[1].Numero", "name"],
["css=#Telefonos\\[1\\]\\.Numero", "css:finder"],
["xpath=//input[@id='Telefonos[1].Numero']", "xpath:attributes"],
["xpath=//div[@id='inputRow']/div/input[4]", "xpath:idRelative"],
["xpath=//div/input[4]", "xpath:position"]
],
"value": "11111"
}, {
"id": "d36d1862-62fa-4793-8bff-21ba154d93bd",
"comment": "",
"command": "click",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div/div/button", "xpath:idRelative"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "ba5934ff-8b8b-4426-bb26-e80cd4d3ffa8",
"comment": "",
"command": "click",
"target": "css=.fa-arrow-left",
"targets": [
["css=.fa-arrow-left", "css:finder"],
["xpath=//div/a/i", "xpath:position"]
],
"value": ""
}, {
"id": "1c554961-b537-4d36-a7dd-19b53e9d7fed",
"comment": "",
"command": "assertText",
"target": "css=.odd:nth-child(1) > td:nth-child(3)",
"targets": [
["css=.odd:nth-child(1) > td:nth-child(3)", "css:finder"],
["xpath=//table[@id='tablasMT']/tbody/tr/td[3]", "xpath:idRelative"],
["xpath=//td[3]", "xpath:position"],
["xpath=//td[contains(.,'AAA cliente prueba')]", "xpath:innerText"]
],
"value": "AAA editar"
}, {
"id": "f226eee9-f38c-4590-96b8-a997d960be7d",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}, {
"id": "f82a4f74-1678-4422-82d9-a489589bef0d",
"name": "Editar_Cliente_Incorrecto",
"commands": [{
"id": "5e3934fd-d190-48a2-a661-d8b27ceee22d",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "5c52134a-8701-46a1-abef-ba50ccf8840e",
"comment": "",
"command": "setWindowSize",
"target": "846x735",
"targets": [],
"value": ""
}, {
"id": "de603996-5966-4fe5-a71a-017c321031dd",
"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": "2fb21d1a-27b2-4db2-a350-fdab37cd714b",
"comment": "",
"command": "click",
"target": "linkText=Facturación",
"targets": [
["linkText=Facturación", "linkText"],
["css=.nav-pills > .nav-item:nth-child(3) > .nav-link", "css:finder"],
["xpath=(//a[contains(@href, '#')])[6]", "xpath:href"],
["xpath=//nav/ul/li[3]/a", "xpath:position"]
],
"value": ""
}, {
"id": "d1ec1919-6d2a-4f52-a49e-62cfa6d4717e",
"comment": "",
"command": "click",
"target": "css=.menu-is-opening .nav-item:nth-child(3) p",
"targets": [
["css=.menu-is-opening .nav-item:nth-child(3) p", "css:finder"],
["xpath=//li[3]/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Clientes')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "2e903a72-add0-492b-80d6-d565140199c4",
"comment": "",
"command": "click",
"target": "linkText=Ver más",
"targets": [
["linkText=Ver más", "linkText"],
["css=.odd:nth-child(1) .btn-primary", "css:finder"],
["xpath=//a[contains(text(),'Ver más')]", "xpath:link"],
["xpath=//table[@id='tablasMT']/tbody/tr/td[7]/a", "xpath:idRelative"],
["xpath=//a[contains(@href, '/Cliente/Detalles?noIdentificacion=AAA11111111&numeroDePagina=1&registrosPorPagina=5')]", "xpath:href"],
["xpath=//td[7]/a", "xpath:position"],
["xpath=//a[contains(.,'Ver más')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "9e00cbf7-fa63-489e-828b-5fa76f48d5f9",
"comment": "",
"command": "click",
"target": "linkText=Editar",
"targets": [
["linkText=Editar", "linkText"],
["css=.btn-sm", "css:finder"],
["xpath=//a[contains(text(),'Editar')]", "xpath:link"],
["xpath=//a[contains(@href, '/Cliente/Editar?noIdentificacion=AAA11111111&numeroDePagina=1&registrosPorPagina=5')]", "xpath:href"],
["xpath=//a[2]", "xpath:position"],
["xpath=//a[contains(.,'Editar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "4103fa11-df6e-4c99-b7cd-a37de562f8a1",
"comment": "",
"command": "click",
"target": "id=IdTipoIdentificacion",
"targets": [
["id=IdTipoIdentificacion", "id"],
["name=IdTipoIdentificacion", "name"],
["css=#IdTipoIdentificacion", "css:finder"],
["xpath=//select[@id='IdTipoIdentificacion']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[2]/select", "xpath:idRelative"],
["xpath=//select", "xpath:position"]
],
"value": ""
}, {
"id": "ce2299ef-6542-4d92-8207-9967eb08d003",
"comment": "",
"command": "click",
"target": "css=.wrapper",
"targets": [
["css=.wrapper", "css:finder"],
["xpath=//div", "xpath:position"]
],
"value": ""
}, {
"id": "a4cec823-18aa-45bc-97d8-6dfb93cf72fe",
"comment": "",
"command": "type",
"target": "id=Nombre",
"targets": [
["id=Nombre", "id"],
["name=Nombre", "name"],
["css=#Nombre", "css:finder"],
["xpath=//input[@id='Nombre']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[3]/input", "xpath:idRelative"],
["xpath=//div[3]/input", "xpath:position"]
],
"value": ""
}, {
"id": "af2c976a-fbcb-4e64-8e3e-712ec8b129a7",
"comment": "",
"command": "click",
"target": "id=Correo",
"targets": [
["id=Correo", "id"],
["name=Correo", "name"],
["css=#Correo", "css:finder"],
["xpath=//input[@id='Correo']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[6]/input", "xpath:idRelative"],
["xpath=//div[6]/input", "xpath:position"]
],
"value": ""
}, {
"id": "bdc8ca1e-ef6b-44df-a0ee-b2a7f504b54b",
"comment": "",
"command": "type",
"target": "id=Correo",
"targets": [
["id=Correo", "id"],
["name=Correo", "name"],
["css=#Correo", "css:finder"],
["xpath=//input[@id='Correo']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div/div[6]/input", "xpath:idRelative"],
["xpath=//div[6]/input", "xpath:position"]
],
"value": "prueba@atesacr"
}, {
"id": "5a29fba9-82b3-41a4-b877-12f6f9cf5565",
"comment": "",
"command": "click",
"target": "id=select-paises",
"targets": [
["id=select-paises", "id"],
["name=IdPaisNacionalidad", "name"],
["css=#select-paises", "css:finder"],
["xpath=//select[@id='select-paises']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div[2]/div/select", "xpath:idRelative"],
["xpath=//div[2]/div/select", "xpath:position"]
],
"value": ""
}, {
"id": "993356b5-735c-4e62-8c56-a1789f82f484",
"comment": "",
"command": "click",
"target": "id=select-paises",
"targets": [
["id=select-paises", "id"],
["name=IdPaisNacionalidad", "name"],
["css=#select-paises", "css:finder"],
["xpath=//select[@id='select-paises']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div[2]/div[2]/div/select", "xpath:idRelative"],
["xpath=//div[2]/div/select", "xpath:position"]
],
"value": ""
}, {
"id": "c5ce89e0-9f36-4088-b313-a1cce9dddb29",
"comment": "",
"command": "type",
"target": "id=Telefonos_0__Numero",
"targets": [
["id=Telefonos_0__Numero", "id"],
["name=Telefonos[0].Numero", "name"],
["css=#Telefonos_0__Numero", "css:finder"],
["xpath=//input[@id='Telefonos_0__Numero']", "xpath:attributes"],
["xpath=(//div[@id='inputRow']/div/input[4])[2]", "xpath:idRelative"],
["xpath=//div[2]/div/input[4]", "xpath:position"]
],
"value": ""
}, {
"id": "a3ab3406-d97a-49ff-a829-1aaa07fc82dd",
"comment": "",
"command": "click",
"target": "css=.wrapper",
"targets": [
["css=.wrapper", "css:finder"],
["xpath=//div", "xpath:position"]
],
"value": ""
}, {
"id": "90197695-f1ac-4666-8b2a-93b976e38c0b",
"comment": "",
"command": "click",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div/div/button", "xpath:idRelative"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "30d59e7a-4039-40b7-81cd-1e00bea81406",
"comment": "",
"command": "mouseOver",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div/div/button", "xpath:idRelative"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "a918efe1-5c6b-448a-b94b-6c41d2a21627",
"comment": "",
"command": "mouseOut",
"target": "css=.btn-sm:nth-child(1)",
"targets": [
["css=.btn-sm:nth-child(1)", "css:finder"],
["xpath=//button[@type='submit']", "xpath:attributes"],
["xpath=//form[@id='cliente-form']/div/div/button", "xpath:idRelative"],
["xpath=//form/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Guardar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "fc3f8489-d9fc-42d7-81ee-af9526d98518",
"comment": "",
"command": "assertText",
"target": "id=Nombre-error",
"targets": [
["id=Nombre-error", "id"],
["css=#Nombre-error", "css:finder"],
["xpath=//span[@id='Nombre-error']", "xpath:attributes"],
["xpath=//div[3]/div/span/span", "xpath:position"]
],
"value": "Este campo es requerido."
}, {
"id": "9ed8fed0-2756-4c90-b500-765c48ee44ab",
"comment": "",
"command": "assertText",
"target": "id=Correo-error",
"targets": [
["id=Correo-error", "id"],
["css=#Correo-error", "css:finder"],
["xpath=//span[@id='Correo-error']", "xpath:attributes"],
["xpath=//div[6]/div/span/span", "xpath:position"]
],
"value": "Formato de correo invalido."
}, {
"id": "c97f5272-db68-45e6-8d5b-1efa3b74ccee",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}, {
"id": "8e5bf003-5a8a-46b6-99e8-e6721e0d5c97",
"name": "Eliminar_Cliente",
"commands": [{
"id": "4bf05023-73ec-4b0e-88cc-e7a9699a73ae",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "ba4874f6-8e48-40b2-97e8-47d6b594813d",
"comment": "",
"command": "setWindowSize",
"target": "657x735",
"targets": [],
"value": ""
}, {
"id": "e5d81777-39b7-4547-b2c0-d470df5df260",
"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": "2599420c-8579-440f-99c3-065c49b81a66",
"comment": "",
"command": "click",
"target": "css=.nav-pills > .nav-item:nth-child(3) > .nav-link > p",
"targets": [
["css=.nav-pills > .nav-item:nth-child(3) > .nav-link > p", "css:finder"],
["xpath=//nav/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Facturación')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "3053064f-54f6-4061-b717-b902843ffb48",
"comment": "",
"command": "click",
"target": "linkText=Clientes",
"targets": [
["linkText=Clientes", "linkText"],
["css=.menu-is-opening .nav-item:nth-child(3) > .nav-link", "css:finder"],
["xpath=//a[contains(@href, '/Cliente')]", "xpath:href"],
["xpath=//li[3]/ul/li[3]/a", "xpath:position"]
],
"value": ""
}, {
"id": "ca55caf8-d6b2-4fc9-9b80-228a2e50e397",
"comment": "",
"command": "click",
"target": "css=.odd:nth-child(1) .fa",
"targets": [
["css=.odd:nth-child(1) .fa", "css:finder"],
["xpath=//table[@id='tablasMT']/tbody/tr/td[7]/a[2]/i", "xpath:idRelative"],
["xpath=//a[2]/i", "xpath:position"]
],
"value": ""
}, {
"id": "5e0e24e2-64c6-44b3-bb60-db7184cc5311",
"comment": "",
"command": "click",
"target": "css=.swal2-confirm",
"targets": [
["css=.swal2-confirm", "css:finder"],
["xpath=(//button[@type='button'])[2]", "xpath:attributes"],
["xpath=//div[6]/button", "xpath:position"],
["xpath=//button[contains(.,'Eliminar')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "3500aecd-40ff-4d20-af95-3eb650bd2e67",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}, {
"id": "303e58c5-eb0d-4dca-b6fa-2abf6f923c88",
"name": "Consultar_Cliente",
"commands": [{
"id": "56308f4e-b280-4898-b326-72f6854177ef",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "307d67b7-f430-4dcc-99dd-bd1cb253dc66",
"comment": "",
"command": "setWindowSize",
"target": "871x735",
"targets": [],
"value": ""
}, {
"id": "5f817982-5ebf-495a-bafc-35b4f153c541",
"comment": "",
"command": "click",
"target": "css=.fa-bars",
"targets": [
["css=.fa-bars", "css:finder"],
["xpath=//i", "xpath:position"]
],
"value": ""
}, {
"id": "f76c047a-64c0-465b-a383-61ebf014ed07",
"comment": "",
"command": "click",
"target": "linkText=Facturación",
"targets": [
["linkText=Facturación", "linkText"],
["css=.nav-pills > .nav-item:nth-child(3) > .nav-link", "css:finder"],
["xpath=(//a[contains(@href, '#')])[6]", "xpath:href"],
["xpath=//nav/ul/li[3]/a", "xpath:position"]
],
"value": ""
}, {
"id": "c1677fd8-8f6d-472b-8c30-f7a2c59d87b9",
"comment": "",
"command": "click",
"target": "css=.menu-is-opening .nav-item:nth-child(3) p",
"targets": [
["css=.menu-is-opening .nav-item:nth-child(3) p", "css:finder"],
["xpath=//li[3]/ul/li[3]/a/p", "xpath:position"],
["xpath=//p[contains(.,'Clientes')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "4861ddb2-da0e-4558-bfe3-fb4a9738259b",
"comment": "",
"command": "assertText",
"target": "css=.m-0",
"targets": [
["css=.m-0", "css:finder"],
["xpath=//h1", "xpath:position"],
["xpath=//h1[contains(.,'Clientes')]", "xpath:innerText"]
],
"value": "Clientes"
}, {
"id": "b019923e-0a34-4f65-a6aa-1f1968c3d3b5",
"comment": "",
"command": "close",
"target": "",
"targets": [],
"value": ""
}]
}],
"suites": [{
"id": "84b5a135-d635-42d7-90b4-290f8f69e2af",
"name": "Default Suite",
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["e1beff31-dfd2-4382-b809-acded17ffa89"]
}],
"urls": ["https://localhost:5134/"],
"plugins": []
}