Fork me on GitHub

How To Silkuli Test Ui Without Programming

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/20160819-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/

Hi, I'm Damien

Software Developer

LinkedIn GitHub Twitter

Founder of this blog, love Java and Open Source stuff. Follow him on Twitter.