I can reproduce the disconnecting from SUT every time when I do following 2 steps:
• The first step: start firefox browse and open new tab and input the site address:
Click " firefox"
wait 3
typeText controlKey, “t” (* Open new tab )
Wait 2
typeText controlKey, “l” ( Open location *)
typeText “address……” & return
Wait 5
• The Second step:
if Imagefound (“image”)
LogError (“Failed. The site is blocked”)
Else
Log (" Pass. The site is not blocked")
End if
If I put these two steps together to run using eggplant, it will disconnect the SUT when it tries to run second step.
If I select first step to run using eggplant, then I select second step to run using eggplant, it will disconnect the SUT when it run second step.
If I manually did the first step (Not using eggplant), then I select second step to run using eggplant, it will not disconnect the SUT
Why???
CEQA