Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Calculator - Do a substraction.sikuli
Calculator - Do an addition.sikuli
Calculator - common
screenshots
README.md

README.md

How to Silkuli - Test UI without programming - Advanced

alt text

This tutorial show how to organize UI tests and reuse most of your existing usecases elements, like comments and screenshots.

Note: see the previous post 'How to Silkuli - Test UI without programming' for a quick start.

https://damienfremont.com/2016/08/19/how-to-silkuli-test-ui-without-programming/

Demo

alt text

Steps

We will create a two usecase project

  1. Define usecases
  2. Create projects
  3. Create usecase A test
  4. Reuse elements for usecase B
  5. Create usecase B test
  6. Run tests

1. Define usecases

alt text

alt text

alt text

alt text

alt text

2. Create projects

alt text

alt text

alt text

alt text

alt text

alt text

3. Create usecase A test

alt text

alt text

4. Reuse elements for usecase B

alt text

alt text

alt text

alt text

alt text

alt text

5. Create usecase B test

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

6. Run tests

alt text

alt text

alt text

alt text

Final Word

The element reuse is not a direct reference to the original screenshot. If you change a button, you'll need to update all the usecases.

alt text

Next step will be automation with scripts. Like running all tests at once, using properties and

Project

https://github.com/DamienFremont/blog/tree/master/20160820-test-silkuli-ide-advanced

References

http://doc.sikuli.org/keys.html

Origin

https://damienfremont.com/2016/08/20/how-to-silkuli-test-ui-without-programming-advanced/

You can’t perform that action at this time.