Hey there,
I have below line of code to check for an image in SUT and waiting for the image using waitFor:2
If ImageFound(imageName:“My Image Here”, waitFor:2)
LogSuccess “Success”
else
LogError “Error”
End If
But it appears that, Eggplant becomes busy to identify the image on the SUT for more than 2 seconds mentioned. Due to this, its waiting unnecessarily for about 5 - 10 seconds extra.
In order to confirm this, I have actually used timer to validate that, its waiting for the image for more than 2 seconds.
If waitFor:2 is given then it ahould ideally wait for the image for only 2 seconds and not more than that.