MarketSquare / MarketSquare/robotframework-SikuliLibrary
Test is failing with error BufferedImage: type not supported: 0 --- please report this problem
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 163
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description

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?


Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the RobotFramework test in PyCharm with SikuliLibrary 2.0.0 and the attached playbuttonUI.jpg or playbuttonmid image. Inspect the SikuliX log around Finder2 and the reported image paths. Done means the supplied image is accepted and the test can locate and click the web-player play button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100