Open andreabisello opened 7 years ago
You are welcome:). Yes, you could use "/", or variable ${/} http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#operating-system-variables
Yes, in the library, i did not check whether image is existed. Image file finder is implemented by sikuli. I am not sure whether there is api that could be used. http://nightly.sikuli.de/docs/index.html
But sorry, i haven't enough time to develop this library recently. If you could find the api, or you have solution, could raise PR to me.
Is there solution for this issue, image not found? My sample code the Exists keyword passed but when I Click the image, it can't find the image.
due i'm moving from window to linux the same tests , i make a mistake with the use of the \ or // so, in windows, this path works
${IMAGE_DIR} ${CURDIR}\img
but in linux, it should to be
${IMAGE_DIR} ${CURDIR}//img
so, when i try
Screen Should Contain image.png
the keyword fails, but the reason is that image.png is not found in ${CURDIR}\img path , and no that screen doesn't contains image.png
i think the keyword should return a special message if the image is not found.
tips : to make the path operative system indipendent, we can use /
@rainmanwy what do you think? i'm your worst nightmare? :)