Lost background heart beat when running command + 2more


#1

while running scripts got message “lost background heart beat when running command” and scripts stops
While copying the text from the log is also taking time.

image

  1. Some time scripts clicks twicely on the links.

  2. Test suites is not stopping itself if any error occurs in mid, it stops that scripts and move on next.

guide me how to resolve it.


#2

Do you have a test macro for these issues?


#3

i wanted to be but i can not.
It can happen at any time, in any script, no specific scenario other then this error.

One day it is working fine but other day it is not.


#4

apart from work, i got it today while i was exploring the csv read functionality.

i can share it now. its a testing file,
pic is-


source view is
{
“Name”: “url o 5march",
“CreationDate”: “2019-3-5”,
“Commands”: [
{
“Command”: “store”,
“Target”: “180”,
“Value”: “!timeout_macro”
},
{
“Command”: “store”,
“Target”: “fast”,
“Value”: “!replayspeed”
},
{
“Command”: “csvRead”,
“Target”: “url.csv”,
“Value”: “”
},
{
“Command”: “echo”,
“Target”: “Status = {!csvReadStatus}, line = {!csvReadLineNumber}”,
“Value”: “”
},
{
“Command”: “while”,
“Target”: “”{!csvReadStatus}\" == \"OK\"", "Value": "" }, { "Command": "echo", "Target": "Status = {!csvReadStatus}, line = {!csvReadLineNumber}", "Value": "" }, { "Command": "echo", "Target": "{!COL1}{!csvReadLineNumber}", "Value": "" }, { "Command": "open", "Target": "{!COL1}{!csvReadLineNumber}", "Value": "" }, { "Command": "storeEval", "Target": "{!csvReadLineNumber}+1",
“Value”: “!csvReadLineNumber”
},
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!errorIgnore”
},
{
“Command”: “csvRead”,
“Target”: “url.csv”,
“Value”: “”
},
{
“Command”: “store”,
“Target”: “false”,
“Value”: “!errorIgnore”
},
{
“Command”: “endWhile”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “csvRead”,
“Target”: “url.csv”,
“Value”: “”
},
{
“Command”: “store”,
“Target”: “3\t”,
“Value”: “!csvReadLineNumber”
},
{
“Command”: “csvRead”,
“Target”: “url.csv”,
“Value”: “”
},
{
“Command”: “open”,
“Target”: “{!col1}", "Value": "" }, { "Command": "open", "Target": "{!col2}”,
“Value”: “”
},
{
“Command”: “open”,
“Target”: “{!col3}", "Value": "" }, { "Command": "comment", "Target": "Remove non alphanumeric chars from URL, so we can use it as screenshot file name", "Value": "" }, { "Command": "", "Target": "", "Value": "" }, { "Command": "storeEval", "Target": "var string = \"{!col1}”; var stripped = string.replace(/[^A-Za-z0-9]/g, ‘’); stripped;",
“Value”: “alphanumericonly”
},
{
“Command”: “captureScreenshot”,
“Target”: "screenshot_for
${alphanumericonly}”,
“Value”: “”
}
]
}


#5

again getting error while running other suites.

image

I hope you team are still working on it.


#6

Any Update Team.

image


#7

Hi @sachin.gupta

This bug “lost background heart beat when running command” is caused when use the command open a site and connection lost or site is unreachable kantu remain stucked to wait the load of the site and don’t continue to work.

have a nice day


#8

so what is the solution?

May I request you Admin pl. guide on it.
Thanks.
sg

Any ETA on it, so that we can not disturb you. its been a two month and dint get any solution on it.
I guess you people are working on it, but till the solution available, replying is the good way to keep things alive.
Thoughts?


#9

This is a tricky issue to fix, but we plan to get it done this month (April).


#10

wow,
Thats the things which will rock and Kantu on top.

Thanks Team,

sg


#11

Is this fix already? cause I’m getting the same error


#12

@acdeleon It is partly fixed (for some situations). If you still get the error in the latest version, can you please describe what you do when it happens?