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”: “”
}
]
}