Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test is failing with error BufferedImage: type not supported: 0 --- please report this problem #137

Open
tuanhoang24i opened this issue Oct 15, 2020 · 0 comments

Comments

@tuanhoang24i
Copy link

tuanhoang24i commented Oct 15, 2020

playbuttonmid
Hello,
I am using RobotFramework in our virtual environment. We have installed SikuliLibrary 2.0.0 and running the tests in Pycharm CE.

We want to run a test where want to click on the play button in the web-player.
When we run the test case it fails on this error message:

Selecting a program:: Quick smoke test | FAIL |
org.sikuli.script.SikuliXception: Finder::isValid: image to search is empty
------------------------------------------------------------------------------
play episode-FirstDates:: This is some basic information about the... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==================================

In the log I can see this specific error:

Params: [/Users/tuanminhhoang/Documents/development/robot-scripts/ui-test-automation/img/playbuttonUI.jpg]
[error] Finder2: makeMat: BufferedImage: type not supported: 0 --- please report this problem
[error] Finder: /Users/tuanminhhoang/Documents/development/robot-scripts/ui-test-automation/img/playbuttonUI.jpg: (88x72): conversion error --- find will fail

I attached the images that I want to click on in the web-player. Both are failing.

Does anyone have any tips?

playbuttonmid

playbuttonUI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant