GithubHelp home page GithubHelp logo

jeysonm82 / kibot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 144 KB

Kibot is a basic GUI test automation tool for kivy. You can automate touch and keyboard events with it and use it in your tests.

Python 100.00%

kibot's Introduction

(pre-alpha stage)

Kibot

Kibot is a basic GUI test automation tool for kivy. You can automate touch and keyboard events with it and use it in your tests. (Tested in Linux and Windows 7).

Current features:

  • Finding widgets filtering by property values.
  • Clicking/pressing down a widget (using a mouse event provider)
  • Sending keystrokes (using current keyboard)
  • Creating testcases that can use kibot.
  • Recording input events (touches, keyboard input) from a running app to be able to reproduce them later in a test.

Usage

Check example_testing.py for a TestCase example and example_record.py for a recording example

Requirements

  • Python 2.7.
  • kivy 1.8. (It should work with kivy 1.9 as well).

More info

What doesn't work/is not implemented yet:

  • Double tap, triple tap. The touch provider is a mouseprovider than only sends left button events. Complex things like simulating rotations with two touches don't work.
  • Keystrokes modifiers (Shift+, Ctrl+, etc.)

What I plan to add/do in the near future:

  • Documentation. Lots of it.
  • Improve input providers (touch and keyboard). They're already implemented in kivy.
  • Running kibot in an android device.
  • Some kind of BDD test specification to generate tests using natural language.

What needs to be improved but I don't have an answer yet:

  • Improve Test maintainability. GUI tests are very sensitive to small changes in the code. For instance, if I record some touch events using Kibot.record any future change in the position and/or size of widgets could break the test.

License

MIT license

kibot's People

Contributors

jasoncol avatar

Watchers

James Cloos avatar JM avatar

kibot's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.