Hello everyone
Don’t know if this is a bug or what i’m doing wrong
so i have this simple test to verify links, the thing is it seems to work ok when running on the extention through json file
But when gets exported as html seems to start to throw a bunch of errors
this is an example, the full json got several links to test, and seems that the test runs ok for a few steps and then starts to fail
note that this happens only when using html exported and not the json itself, it seems to run at a more much faster speed which seems to give a lot of troubles to commands to work ok.
{
“Command”: “open”,
“Target”: “URL EXAMPLE (www)”,
“Value”: “”
},
{
“Command”: “echo”,
“Target”: “----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------####TEST START------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------”,
“Value”: “orange”
},
{
“Command”: “pause”,
“Target”: “5000”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//*[@id="siteheader"]/div[1]/div[2]/div[1]/span[1]”,
“Value”: “”
},
{
“Command”: “clickAndWait”,
“Target”: “linkText=EXAMPLECLICKLINK”,
“Value”: “”
},
{
“Command”: “executeScript”,
“Target”: “return window.location.href”,
“Value”: “myURL”
},
{
“Command”: “if_v2”,
“Target”: “${myURL} !="//www.exampleclicklink.com"”,
“Value”: “”
},
{
“Command”: “echo”,
“Target”: “—###1 ERROR LINK "https://www.exampleclicklink.com" NOT WORKING”,
“Value”: “red”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”
},
the initial idea was to set a batch file to run through a windowtask scheduler to open chrome and the exported html json but it seems doing this will broke test speed and eventually random errors occurs like
macro failed
“could not establish connection. receiving end does not exist”
please if someone know what’s wrong here would be great.