Freeze at end of loop


#1

This error doesn’t happen every time, so I cannot tell you how to reproduce it.

Sometimes when it gets to the end of a loop, it just stops and doesn’t go back to the beginning of the loop until the whole thing times out. If I click on pause and then resume before the final timeout, it resumes.

[info]
Executing: | store | true | !errorignore |
[info]
Executing: | while | 2>1 | |
[info]
Executing: | label | WaitForButton | |
[info]
Executing: | verifyElementPresent | link=ENTER ANYWAY | |
[error][ignored]
‘link=ENTER ANYWAY’ element not present
[info]
Executing: | gotoIf | ${!LastCommandOK} | EnterAnyway |
[info]
Executing: | verifyTitle | classroom | |
[error][ignored]
title not matched,
expected: “classroom”,
actual: “EVC15 - Tech Analysis”
[info]
Executing: | gotoIf | ${!LastCommandOK} | EnterClassroom |
[info]
Executing: | click | link=Re-check | WaitForButton |
[info]
Executing: | endWhile | | |
[info]
Executing: | while | 2>1 | |
[info]
Executing: | label | WaitForButton | |
[info]
Executing: | verifyElementPresent | link=ENTER ANYWAY | |
[error][ignored]
timeout reached when looking for element ‘link=ENTER ANYWAY’
[info]
Executing: | gotoIf | ${!LastCommandOK} | EnterAnyway |
[info]
Executing: | verifyTitle | classroom | |
[error][ignored]
title not matched,
expected: “classroom”,
actual: “EVC15 - Tech Analysis”
[info]
Executing: | gotoIf | ${!LastCommandOK} | EnterClassroom |
[info]
Executing: | click | link=Re-check | WaitForButton |
[info]
Executing: | endWhile | | |
[info]
Executing: | while | 2>1 | | <<<<<gets stuck here!

The loop is the same one I have trouble with “Verify” not working. (Note, I bodged it by setting !errorIgnore to get around this error). Here it is again:

{
“CreationDate”: “2018-7-9”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://a9t9.com/”,
“Value”: “”
},
{
“Command”: “while”,
“Target”: “2>1”,
“Value”: “”
},
{
“Command”: “verifyElementPresent”,
“Target”: “//*[@id=“xxxxxxxxxlogo”]/img”,
“Value”: “”
},
{
“Command”: “gotoIf”,
“Target”: “${!LastCommandOK}”,
“Value”: “EnterAnyway”
},
{
“Command”: “click”,
“Target”: “link=Web Testing”,
“Value”: “”
},
{
“Command”: “endWhile”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “label”,
“Target”: “EnterAnyway”,
“Value”: “”
}
]
}


#2

Hello there Mate

I have a similar problem but it freezes at the beginning of the While, on an OPEN command. I tried the pause/resume fix and it worked.

I also notice that this happens when I use the browser (opening other tabs) at the same time as Kantu is doing its execution. So maybe is memory related? O CPU related issue?

It can be when the log tab gets full as well, When I clear the log it works fine until it gets full again.

Cheers


#3

Jackknifer, you say if clear log, work fine. Then, if you put option ‘NO LOG’ work fine also?

Personally I will also try to touch the log.

Well, I also have the same problem, I explain it in this thread, and it is true that opening new tabs accelerates the failure. However, without opening any new tab it also fails, although it takes longer to do so.