[error] Promised response from onMessage listener went out of scope

Great, fixed!
Many thanks

1 Like

it seams to be solved, but running testing is taking a lot or it just freezes sometimes

but running testing is taking a lot or it just freezes sometimes

Can you please make a new post describing this issue in more detail? Ideally please add a test macro and/or a screencast.

Sure. I’ve been all morning running my test. The ipcPromise Error does not appears anymore but test that just took a few seconds takes a lot more now. It seems to be after a pause command

because it is locked after the pause command, after resuming control, some commands are skipped causing the macro to generate errors or take too much time


Same macro in previous version (5.0.5) took me 16.50s
approximately

Here is the macro
{
“Name”: “extenderVig”,
“CreationDate”: “2019-7-3”,
“Commands”: [
{
“Command”: “csvRead”,
“Target”: “pruebabusquedaId.csv”,
“Value”: “”
},
{
“Command”: “open”,
“Target”: “http://webappsti.net/ICC/Instrument/Edit/${!COL1}”,
“Value”: “”
},
{
“Command”: “click”,
“Target”: “id=AddWaiver_2_Button”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=2Days”,
“Value”: “${!COL2}”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id="2WaiverWorkplaceToName_chosen"]/a",
“Value”: “”
},
{
“Command”: “type”,
“Target”: "xpath=//
[@id="2WaiverWorkplaceToName_chosen"]/div/div/input”,
“Value”: “${!COL3}”
},
{
“Command”: “pause”,
“Target”: “2000”,
“Value”: “val”
},
{
“Command”: “XType”,
“Target”: “${KEY_ENTER}”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=2Comment”,
“Value”: “${!COL4}”
},
{
“Command”: “click”,
“Target”: “xpath=/html/body/div[13]/div[11]/div/button[1]/span”,
“Value”: “”
},
{
“Command”: “pause”,
“Target”: “3000”,
“Value”: “”
},
{
“Command”: “clickAndWait”,
“Target”: “xpath=//*[@id="Content"]/div/form/div/p/input”,
“Value”: “”
}
]
}