Audit Scenario fail with every site

Hi, I’am Andrea
I’m trying to run some scenario but every scenario exported fail.
One of the test built are on asqatasun documentation, navigate from a page to another.
Can you help me please?
Thanks

JSON produced by Selenium IDE

{
  "id": "6f170259-357e-434d-a091-a6a8f38bce9f",
  "version": "2.0",
  "name": "https://front-open2befe-dev.devel.demotestwip.it/",
  "url": "https://doc.asqatasun.org/",
  "tests": [{
    "id": "d962604c-c298-4811-9447-9adc3c5beb0c",
    "name": "https://front-open2befe-dev.devel.demotestwip.it/",
    "commands": [{
      "id": "44feedb1-b668-46b1-921a-83deea4e4a75",
      "comment": "",
      "command": "open",
      "target": "",
      "targets": [],
      "value": ""
    }, {
      "id": "891fbd3c-8f57-460e-a93a-7abec9732e92",
      "comment": "",
      "command": "setWindowSize",
      "target": "",
      "targets": [],
      "value": ""
    }, {
      "id": "d0bb71b5-a0c1-47aa-a262-cd7486540e76",
      "comment": "",
      "command": "close",
      "target": "",
      "targets": [],
      "value": ""
    }, {
      "id": "d0bbfb27-9d0e-4552-896b-c5569324f540",
      "comment": "",
      "command": "close",
      "target": "",
      "targets": [],
      "value": ""
    }, {
      "id": "abfde439-f90a-49b0-a800-43015ee717f5",
      "comment": "",
      "command": "click",
      "target": "css=.d-sm-block",
      "targets": [
        ["css=.d-sm-block", "css:finder"],
        ["xpath=//div[@id='headerContent']/div/div/div/div/div/div[2]/div/a/span[2]", "xpath:idRelative"],
        ["xpath=//div/a/span[2]", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "cb400a62-49e9-45ca-8e16-8d1ca1cc1cb0",
      "comment": "",
      "command": "click",
      "target": "css=.field-userloginform-username > label",
      "targets": [
        ["css=.field-userloginform-username > label", "css:finder"],
        ["xpath=//form[@id='w0']/div/label", "xpath:idRelative"],
        ["xpath=//label", "xpath:position"],
        ["xpath=//label[contains(.,'Indirizzo email*')]", "xpath:innerText"]
      ],
      "value": ""
    }, {
      "id": "54e2e22e-58ef-4ec7-9ccf-6118caeb276d",
      "comment": "",
      "command": "mouseOver",
      "target": "linkText=My OPEN",
      "targets": [
        ["linkText=My OPEN", "linkText"],
        ["css=.footer-list > .nav-item:nth-child(1) > .menu-link-locked", "css:finder"],
        ["xpath=(//a[contains(text(),'My OPEN')])[2]", "xpath:link"],
        ["xpath=//footer[@id='footerContent']/div/div/div/div/div[2]/div/div/div/ul/li/a", "xpath:idRelative"],
        ["xpath=(//a[contains(@href, '/site/login')])[6]", "xpath:href"],
        ["xpath=//div/div[2]/div/div/div/ul/li/a", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "018a19f6-33fc-4ef9-9180-91b95b4a2a81",
      "comment": "",
      "command": "mouseOut",
      "target": "linkText=My OPEN",
      "targets": [
        ["linkText=My OPEN", "linkText"],
        ["css=.footer-list > .nav-item:nth-child(1) > .menu-link-locked", "css:finder"],
        ["xpath=(//a[contains(text(),'My OPEN')])[2]", "xpath:link"],
        ["xpath=//footer[@id='footerContent']/div/div/div/div/div[2]/div/div/div/ul/li/a", "xpath:idRelative"],
        ["xpath=(//a[contains(@href, '/site/login')])[6]", "xpath:href"],
        ["xpath=//div/div[2]/div/div/div/ul/li/a", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "23957513-54f1-461f-aa63-cf32e7571331",
      "comment": "",
      "command": "mouseOver",
      "target": "css=.footer-list > .nav-item:nth-child(6) .mdi",
      "targets": [
        ["css=.footer-list > .nav-item:nth-child(6) .mdi", "css:finder"],
        ["xpath=//footer[@id='footerContent']/div/div/div/div/div[2]/div/div/div/ul/li[6]/a/span[2]", "xpath:idRelative"],
        ["xpath=//div/div[2]/div/div/div/ul/li[6]/a/span[2]", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "58fbf9ee-24f5-413d-be33-6407588465b9",
      "comment": "",
      "command": "mouseOut",
      "target": "css=.footer-list > .nav-item:nth-child(6) .mdi",
      "targets": [
        ["css=.footer-list > .nav-item:nth-child(6) .mdi", "css:finder"],
        ["xpath=//footer[@id='footerContent']/div/div/div/div/div[2]/div/div/div/ul/li[6]/a/span[2]", "xpath:idRelative"],
        ["xpath=//div/div[2]/div/div/div/ul/li[6]/a/span[2]", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "e61c95eb-bf49-45db-93dd-a5695bf620dd",
      "comment": "",
      "command": "close",
      "target": "",
      "targets": [],
      "value": ""
    }]
  }, {
    "id": "52def800-02bb-4998-b313-abba1b51e28c",
    "name": "https://meet.google.com/hmx-nffc-ete",
    "commands": [{
      "id": "ce1962c9-8735-4f4f-b3cc-53c290ce2646",
      "comment": "",
      "command": "open",
      "target": "https://front-open2befe-dev.devel.demotestwip.it/",
      "targets": [],
      "value": ""
    }, {
      "id": "218d636c-b4a8-4ad7-bb2a-c7d49e703ab8",
      "comment": "",
      "command": "setWindowSize",
      "target": "1720x674",
      "targets": [],
      "value": ""
    }, {
      "id": "a7a60e8b-111f-49e6-91ed-3e1760bfa818",
      "comment": "",
      "command": "click",
      "target": "css=.d-sm-block",
      "targets": [
        ["css=.d-sm-block", "css:finder"],
        ["xpath=//div[@id='headerContent']/div/div/div/div/div/div[2]/div/a/span[2]", "xpath:idRelative"],
        ["xpath=//div/a/span[2]", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "2234f557-cc3e-46c2-8abf-31555f3d1a73",
      "comment": "",
      "command": "click",
      "target": "css=.field-userloginform-username > label",
      "targets": [
        ["css=.field-userloginform-username > label", "css:finder"],
        ["xpath=//form[@id='w0']/div/label", "xpath:idRelative"],
        ["xpath=//label", "xpath:position"],
        ["xpath=//label[contains(.,'Indirizzo email*')]", "xpath:innerText"]
      ],
      "value": ""
    }, {
      "id": "871ae5c7-6126-425d-a600-99ae9de0f3af",
      "comment": "",
      "command": "click",
      "target": "css=.ml-4",
      "targets": [
        ["css=.ml-4", "css:finder"],
        ["xpath=//div[5]/div/button", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "024bd4ce-6318-41b8-ad30-d4c5d770b62c",
      "comment": "",
      "command": "click",
      "target": "linkText=Registrati",
      "targets": [
        ["linkText=Registrati", "linkText"],
        ["css=.focus--mouse", "css:finder"],
        ["xpath=//a[contains(text(),'Registrati')]", "xpath:link"],
        ["xpath=//form[@id='w0']/p/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, '/it/userauthfrontend/default/register')]", "xpath:href"],
        ["xpath=//form/p/a", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "eb53bb2a-46d0-4291-adbb-0d040c7cc66e",
      "comment": "",
      "command": "click",
      "target": "id=registerform-nome",
      "targets": [
        ["id=registerform-nome", "id"],
        ["name=RegisterForm[nome]", "name"],
        ["css=#registerform-nome", "css:finder"],
        ["xpath=//input[@id='registerform-nome']", "xpath:attributes"],
        ["xpath=//form[@id='register-form']/div/div/div/div/input", "xpath:idRelative"],
        ["xpath=//div/input", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "463cd895-2b2e-4876-b500-ee5974177f90",
      "comment": "",
      "command": "type",
      "target": "id=registerform-nome",
      "targets": [
        ["id=registerform-nome", "id"],
        ["name=RegisterForm[nome]", "name"],
        ["css=#registerform-nome", "css:finder"],
        ["xpath=//input[@id='registerform-nome']", "xpath:attributes"],
        ["xpath=//form[@id='register-form']/div/div/div/div/input", "xpath:idRelative"],
        ["xpath=//div/input", "xpath:position"]
      ],
      "value": "andrea"
    }, {
      "id": "25bd38ea-c057-4f36-aa8a-5c1b6c830d73",
      "comment": "",
      "command": "type",
      "target": "id=registerform-cognome",
      "targets": [
        ["id=registerform-cognome", "id"],
        ["name=RegisterForm[cognome]", "name"],
        ["css=#registerform-cognome", "css:finder"],
        ["xpath=//input[@id='registerform-cognome']", "xpath:attributes"],
        ["xpath=//form[@id='register-form']/div/div/div/div[2]/input", "xpath:idRelative"],
        ["xpath=//div[2]/input", "xpath:position"]
      ],
      "value": "barile"
    }, {
      "id": "07a63860-9512-4069-8d64-a1142ff01acc",
      "comment": "",
      "command": "type",
      "target": "id=registerform-email",
      "targets": [
        ["id=registerform-email", "id"],
        ["name=RegisterForm[email]", "name"],
        ["css=#registerform-email", "css:finder"],
        ["xpath=//input[@id='registerform-email']", "xpath:attributes"],
        ["xpath=//form[@id='register-form']/div/div/div/div[3]/input", "xpath:idRelative"],
        ["xpath=//div[3]/input", "xpath:position"]
      ],
      "value": "abarile.dev@gmail.com"
    }, {
      "id": "864f8a01-8b04-4f1e-ab3f-5d732d6228da",
      "comment": "",
      "command": "click",
      "target": "css=.form-check-label",
      "targets": [
        ["css=.form-check-label", "css:finder"],
        ["xpath=//form[@id='register-form']/div/div/div/div[4]/div/div/label", "xpath:idRelative"],
        ["xpath=//div[4]/div/div/label", "xpath:position"],
        ["xpath=//label[contains(.,'Confermo presa visione*')]", "xpath:innerText"]
      ],
      "value": ""
    }, {
      "id": "559a67f0-04d1-4430-85d7-370e9a3eba8a",
      "comment": "",
      "command": "selectFrame",
      "target": "index=0",
      "targets": [
        ["index=0"]
      ],
      "value": ""
    }, {
      "id": "021c9526-06b4-41e8-84ad-7ac72707f0cb",
      "comment": "",
      "command": "click",
      "target": "css=.recaptcha-checkbox-border",
      "targets": [
        ["css=.recaptcha-checkbox-border", "css:finder"],
        ["xpath=//span[@id='recaptcha-anchor']/div", "xpath:idRelative"],
        ["xpath=//span/div", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "94192e80-2907-4aa6-8de6-ad32d807c465",
      "comment": "",
      "command": "selectFrame",
      "target": "relative=parent",
      "targets": [
        ["relative=parent"]
      ],
      "value": ""
    }, {
      "id": "a2cff656-73de-4690-8e64-6df11151566a",
      "comment": "",
      "command": "click",
      "target": "name=register-button",
      "targets": [
        ["name=register-button", "name"],
        ["css=.mx-2", "css:finder"],
        ["xpath=//button[@name='register-button']", "xpath:attributes"],
        ["xpath=//form[@id='register-form']/div/div[2]/button", "xpath:idRelative"],
        ["xpath=//form/div/div[2]/button", "xpath:position"]
      ],
      "value": ""
    }]
  }, {
    "id": "6a72b15b-e87f-44fd-a270-cf266e59b5ee",
    "name": "https://www.google.com/",
    "commands": [{
      "id": "4e102518-afca-40f6-8cdb-6b2137dc8c15",
      "comment": "",
      "command": "open",
      "target": "https://www.google.com/",
      "targets": [],
      "value": ""
    }, {
      "id": "7932c1d1-9115-4c1c-9509-87adaad2f7f1",
      "comment": "",
      "command": "setWindowSize",
      "target": "1720x1379",
      "targets": [],
      "value": ""
    }, {
      "id": "a5008635-8caa-4593-b859-563c6fb1eaf5",
      "comment": "",
      "command": "click",
      "target": "name=q",
      "targets": [
        ["name=q", "name"],
        ["css=.gLFyf", "css:finder"],
        ["xpath=//input[@name='q']", "xpath:attributes"],
        ["xpath=//input", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "b8880b68-b3f8-42d4-8b93-a4b2a4abc422",
      "comment": "",
      "command": "type",
      "target": "name=q",
      "targets": [
        ["name=q", "name"],
        ["css=.gLFyf", "css:finder"],
        ["xpath=//input[@name='q']", "xpath:attributes"],
        ["xpath=//input", "xpath:position"]
      ],
      "value": "asqatasun"
    }, {
      "id": "9de1fd1e-170d-48ec-8bfe-6d6f65fe56db",
      "comment": "",
      "command": "sendKeys",
      "target": "name=q",
      "targets": [
        ["name=q", "name"],
        ["css=.gLFyf", "css:finder"],
        ["xpath=//input[@name='q']", "xpath:attributes"],
        ["xpath=//input", "xpath:position"]
      ],
      "value": "${KEY_ENTER}"
    }, {
      "id": "a41bd4a6-1605-4568-8527-027c9a670687",
      "comment": "",
      "command": "click",
      "target": "css=.eKjLze .LC20lb",
      "targets": [
        ["css=.eKjLze .LC20lb", "css:finder"],
        ["xpath=//div[@id='rso']/div/div/div/div/div/div/div/a/h3", "xpath:idRelative"],
        ["xpath=//h3", "xpath:position"],
        ["xpath=//h3[contains(.,'Asqatasun, webpage analyser for SEO and Accessibility')]", "xpath:innerText"]
      ],
      "value": ""
    }]
  }, {
    "id": "a061c4e7-9d19-4b7e-934a-cb222255a3df",
    "name": "https://lanuovaferrara.gelocal.it/ferrara",
    "commands": [{
      "id": "c13f622f-9707-4605-a4e9-7b5f9bb75032",
      "comment": "",
      "command": "open",
      "target": "https://lanuovaferrara.gelocal.it/ferrara",
      "targets": [],
      "value": ""
    }, {
      "id": "5297b161-3a80-4a0e-bfb6-9b81184028e7",
      "comment": "",
      "command": "setWindowSize",
      "target": "1720x1379",
      "targets": [],
      "value": ""
    }, {
      "id": "87f372ab-f42f-4b32-9398-5c45350b4c42",
      "comment": "",
      "command": "mouseOver",
      "target": "linkText=Cento",
      "targets": [
        ["linkText=Cento", "linkText"],
        ["css=.gnn-header_page_nav .dropdown-trigger > li:nth-child(2) > a", "css:finder"],
        ["xpath=(//a[contains(text(),'Cento')])[2]", "xpath:link"],
        ["xpath=//div[@id='mainpage']/header/div[2]/div[2]/nav/ul/li[2]/a", "xpath:idRelative"],
        ["xpath=(//a[contains(@href, 'https://lanuovaferrara.gelocal.it/ferrara/ricerca?location=cento')])[2]", "xpath:href"],
        ["xpath=//div[2]/div[2]/nav/ul/li[2]/a", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "80487146-f9fd-406f-af27-816d4fee6aa7",
      "comment": "",
      "command": "click",
      "target": "css=li:nth-child(10) button",
      "targets": [
        ["css=li:nth-child(10) button", "css:finder"],
        ["xpath=(//button[@type='submit'])[2]", "xpath:attributes"],
        ["xpath=//div[@id='mainpage']/header/div[2]/div[2]/nav/ul/li[10]/form/button", "xpath:idRelative"],
        ["xpath=//li[10]/form/button", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "13640ae3-c3c7-4de3-9a2d-59def861ef22",
      "comment": "",
      "command": "click",
      "target": "linkText=Cona, i cittadini chiedono più servizi",
      "targets": [
        ["linkText=Cona, i cittadini chiedono più servizi", "linkText"],
        ["css=.block_item:nth-child(1) .entry_content a", "css:finder"],
        ["xpath=//a[contains(text(),'Cona, i cittadini chiedono più servizi')]", "xpath:link"],
        ["xpath=//div[@id='mainpage']/main/section/div/div/div/div[3]/div/article/div/h2/a", "xpath:idRelative"],
        ["xpath=(//a[contains(@href, 'https://video.lanuovaferrara.gelocal.it/locale/cona-i-cittadini-chiedono-piu-servizi/134790/135355')])[2]", "xpath:href"],
        ["xpath=//h2/a", "xpath:position"],
        ["xpath=//a[contains(.,'Cona, i cittadini chiedono più servizi')]", "xpath:innerText"]
      ],
      "value": ""
    }]
  }, {
    "id": "12216ac3-f9f1-4186-ab4d-0cff07986950",
    "name": "https://tfl.gov.uk/",
    "commands": [{
      "id": "aabffc0b-b482-408c-a455-c26cbf2cb284",
      "comment": "",
      "command": "open",
      "target": "https://tfl.gov.uk/",
      "targets": [],
      "value": ""
    }, {
      "id": "123e3af2-bfb2-4e06-9af3-691395297521",
      "comment": "",
      "command": "setWindowSize",
      "target": "1720x1379",
      "targets": [],
      "value": ""
    }, {
      "id": "07de6257-596c-48de-a748-d7432e08486c",
      "comment": "",
      "command": "click",
      "target": "linkText=Plan a journey",
      "targets": [
        ["linkText=Plan a journey", "linkText"],
        ["css=.collapsible-menu > .plan-journey > a", "css:finder"],
        ["xpath=//a[contains(text(),'Plan a journey')]", "xpath:link"],
        ["xpath=//header[@id='mainnav']/div/div/div[2]/ul/li/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, '/plan-a-journey/')]", "xpath:href"],
        ["xpath=//li/a", "xpath:position"],
        ["xpath=//a[contains(.,'Plan a journey')]", "xpath:innerText"]
      ],
      "value": ""
    }, {
      "id": "7af5c3a8-62cd-4c6e-8a33-9498b8501987",
      "comment": "",
      "command": "click",
      "target": "linkText=Status updates",
      "targets": [
        ["linkText=Status updates", "linkText"],
        ["css=.collapsible-menu > .status-update > a", "css:finder"],
        ["xpath=//a[contains(text(),'Status updates')]", "xpath:link"],
        ["xpath=//header[@id='mainnav']/div/div/div[2]/ul/li[2]/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, '/status-updates/')]", "xpath:href"],
        ["xpath=//li[2]/a", "xpath:position"],
        ["xpath=//a[contains(.,'Status updates')]", "xpath:innerText"]
      ],
      "value": ""
    }]
  }, {
    "id": "cad29928-7729-408d-a42e-5e1e4872041a",
    "name": "https://doc.asqatasun.org/",
    "commands": [{
      "id": "1c49d59a-75e0-4b04-a22c-dc2372da4a04",
      "comment": "",
      "command": "open",
      "target": "https://doc.asqatasun.org/",
      "targets": [],
      "value": ""
    }, {
      "id": "5efb8eca-5691-4740-b6ef-a4af3d19d5a4",
      "comment": "",
      "command": "setWindowSize",
      "target": "1720x1379",
      "targets": [],
      "value": ""
    }, {
      "id": "2cb02476-102d-443d-99bc-6c902e3d9df3",
      "comment": "",
      "command": "click",
      "target": "linkText=Doc Asqatasun v4.x",
      "targets": [
        ["linkText=Doc Asqatasun v4.x", "linkText"],
        ["css=li:nth-child(1) > a:nth-child(1)", "css:finder"],
        ["xpath=//a[contains(text(),'Doc Asqatasun v4.x')]", "xpath:link"],
        ["xpath=//main[@id='asqa-main']/ul/li/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, '/v4/en/')]", "xpath:href"],
        ["xpath=//a", "xpath:position"],
        ["xpath=//a[contains(.,'Doc Asqatasun v4.x')]", "xpath:innerText"]
      ],
      "value": ""
    }, {
      "id": "da4384e0-d3de-4e4e-a4e5-e2f9dd7fe2d3",
      "comment": "",
      "command": "click",
      "target": "linkText=Download",
      "targets": [
        ["linkText=Download", "linkText"],
        ["css=ul:nth-child(4) > li:nth-child(1) li li:nth-child(2) > a", "css:finder"],
        ["xpath=//a[contains(text(),'Download')]", "xpath:link"],
        ["xpath=//div[@id='main']/ul/li/ul/li/ul/li[2]/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, '10_Install_doc/Asqatasun/Download.html')]", "xpath:href"],
        ["xpath=//li/ul/li[2]/a", "xpath:position"],
        ["xpath=//a[contains(.,'Download')]", "xpath:innerText"]
      ],
      "value": ""
    }, {
      "id": "a3ddc578-0994-4baa-8923-51d5d380c170",
      "comment": "",
      "command": "click",
      "target": "linkText=Check pre-requisites",
      "targets": [
        ["linkText=Check pre-requisites", "linkText"],
        ["css=p:nth-child(9) > a", "css:finder"],
        ["xpath=//a[contains(text(),'Check pre-requisites')]", "xpath:link"],
        ["xpath=//div[@id='main']/p[3]/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, 'Pre-requisites.html')]", "xpath:href"],
        ["xpath=//p[3]/a", "xpath:position"],
        ["xpath=//a[contains(.,'Check pre-requisites')]", "xpath:innerText"]
      ],
      "value": ""
    }]
  }],
  "suites": [{
    "id": "e9cde2e8-8eba-4901-99cb-3e84ce37c622",
    "name": "Default Suite",
    "persistSession": false,
    "parallel": false,
    "timeout": 300,
    "tests": []
  }],
  "urls": ["https://tfl.gov.uk/", "https://www.google.com/", "https://lanuovaferrara.gelocal.it/ferrara"],
  "plugins": []
}

Hi Andrea,

I have an error running your JSON file with Selenium IDE. Maybe it’s related to your problem.


Could you please provide us with more information:

  • Version of Asqatasun used (indicated in the footer)
  • what kind of server do you use for asqatasun (vagrant, docker, VPS, …) or public instance of Asqatasun?
  • Does single page audit (out of scenario) work?

Maybe as a first step you should make smaller scenarios to test the functionality. For example with this scenario file on wikipedia : wikipedia.org.json (2.7 KB)