Hot answers tagged

10

I have actually used Sikuli and believe it is the future for QA automation. The fuzzy logic on image compare is pure genius. You can crank it up to be an exact match or turn it down to lesser. I have ran the same test on multiple browsers/OSes and resolutions without too many issues. It is way more robust than the old x,y testing of yesteryear. I created ...


8

I can come up with some ideas: You are testing for devs who don't know how to give their elements IDs or use other APIs, and won't go back and fix things in a timely fashion. This is accumulating technical debt - better to get the devs to do it right - but, e.g., on legacy apps designed without a thought toward testability, screenshot testing might be the ...


8

In my opinion, none! When you are using images to locate elements then you are in trouble when someone comes along and decides to change how the application looks or the position of an element on the screen. You will build a fragile test suite and will be forever updating the images that you have used. One concern would be that IE and firefox don't always ...


8

I am not sure it's as easy as saying Sikuli is a better technology for test automation than Selenium or Watir - it's just an alternative. On my current project, the front end test team were struggling to test an application using flexmonkium. They had the skills and experience to write tests in flexmonkium, but our application needed to be recompiled with ...


5

Sikuli can extract text with OCR (optical character recognition) as described on this page: http://doc.sikuli.org/region.html#Region.text Extracting Text from a Region class Region text() Extract the text contained in the region using OCR. Returns: the text as a string. Multiple lines of text are separated by intervening ā€˜nā€™. Note: Since this ...


4

I have used it for 1 day. I think it is easier to use and faster to learn. Also you have the benefits of image compare. (Selenium does not have this). This said, I think You could use it for Flash automation. (I never managed to do this in a good way with selenium). Furthermore you don't have to learn autoIt or another scripting for desktop automation. So ...


4

Sikuli is useful whenever you're automating something that's not web based. I really like Selenium and Watir, but they're restricted to web technologies, and even though these are probably the most common nowadays, there are still plenty of companies who use desktop apps. For these, I find Sikuli and its fuzzy matches to be quite useful. Bear in mind that ...


4

Actually it is possible to use Sikuli for mobile too. With Appium. Here is example of how to do it. in this project is described the process how to setup and how to use this framework. Examples are attached.


3

I've used Sikuli several times and my big win was for testing memory leaks on our mobile app (using the simulator) that i could not have found manually. Also running with Sikuli allows us to bypass budget restrictions :) Additionally we have customized apps, so i like that i can use Sikuli to make sure the right colour is applied in the right place - trust ...


3

Here some points about sikuli I have discovered: Sikuli can not select by 100% text match. So it is extremely difficult to use it in financial applications cause there are not too many different GUI elements, but lots of similar buttons, lists, tables... So how could you select specific string (by its contents) in table with 1000+ rows (only 25 are in a ...


2

My company has the standard-issue (at least these days) automation buzzword stack of Maven, Selenium, Jenkins, blah-blah and so on. I use Sikuli. What it takes them a week to automate I automate in a couple hours. Sikuli can automate things Selenium simply cannot, such as Flash or iPhone sims. Selenium can check if a video file is there, but Sikuli can play ...


2

moveTo() method accepts location object as parameter. This is a common mistake which happens while using Sikuli. Try correcting your code to : region_1 = Region(110,320,99,23) location_1 = Location(x,y) region_1.moveTo(location_1) Refer to below url for more information on Sikuli Region: http://doc.sikuli.org/region.html Hope this helps.


1

This going to be a bit cumbersome. The screenshot shows the list, just opened, with the scroll position indicator touching the top arrow up. There are 8 elements visible. Pseudo code: Until list scroll position indicator touches bottom arrow down: - Click list arrow down - Add one to list_scroll_count Endloop Scroll back up Select random_number between 0 ...


1

When the computer locks, the main screen is showing the login buttons, the Sikuli tests cannot see the application anymore. You need to disable the locking. Since you have to lock the physical machine I think your only option is to install a virtual machine on a physical machine. That way you can have the physical machine locked and the virtual-machine ...


1

I am using Selenium in my project for functional testing and because Selenium doesn't support GUI testing so for that I am using Sikuli to capture GUI defects so for me both are complimenting each other if used properly. Both sikuli and selenium has its pros n cons. It depends on which kind of web application you are testing and objective of testing. Sikuli ...


1

I have used Sikuli and found it to be a great help in testing WPF.NET GUI applications (which do not comprise standard window instances with window handles like other Window apps do) and are otherwise very hard to test. I think Watir and Selenium are primarily for testing browser based applications, whereas Sikuli can also be used to test non-browser GUI ...


1

I think putting all your money on image recognition only tests might get you into trouble as soon as the look/layout of a site changes and you didn't or couldn't make your screenshot collection smart enough to still work - in that case all your test cases would need to be repaired. I'd try a combination of both - Sikuli as well as Selenium are available as ...



Only top voted, non community-wiki answers of a minimum length are eligible