image always fails to find

my sut is mac10.5

I have this in one of my handler

Click “JIV/bt_select”, when I call this in my main script, it always fails to find the image. But if I only run selection this script, it works fine.
I use image doctor to change many image type to fix it, but it still fails.
I add more wait 5, it does not work.
What else can I do for this?

Try using a WaitFor instead of a wait.

example:


WaitFor 30 seconds, "JIV/bt_select"
Click foundImageLocation()