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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s