AutoBot 1.0.6

AutoBot 1.0.6

Maintained by Michael Henry Pantaleonx.



AutoBot 1.0.6

  • By
  • michaelhenry

Screenshot

Tests Deployment status Version License Platform codebeat badge

AUTOBOT

A Tool for QA Testers and Developers.

Testers could create test cases from an admin page while Developers could fetch and execute it inside the XCode's UITesting target via API automatically using CI.

Sample IOS Test Cases

In the screenshot above, the code was executed like this, so imagine, this is Codable, we can just fetch this from any server and/or any file!

func testLogin() {
  let loginCommands:[Command] = [
    .action(.tap, for: .text("emailField")),
    .action(.typeText("[email protected]"), for: .text("emailField")),
    .assert(.isEnabled(true), for: .text("emailField")),
    .assert(.isExists(true), for: .text("emailField")),
    .assert(.textValue("[email protected]"), for: .text("emailField")),
    .action(.tap, for: .securedText("passwordField")),
    .action(.typeText("supersecret"), for: .securedText("passwordField")),
    .assert(.textValue("•••••••••••"), for: .securedText("passwordField")),
    .action(.tap, for: .button("loginButton")),
  ]
  autobot.execute(commands: loginCommands)
}

Since Android has its own UITesting, this can be also implemented in Android SOON! So one test case for multiple platform!

Documentations

  • TODO

Installation

AutoBot is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AutoBot'

Author

michaelhenry, [email protected]

License

AutoBot is available under the MIT license. See the LICENSE file for more info.

Other tools that might help you too.

  • Localizr, Automates your localization files for iOS and Android
  • Hijackr, Mock your URLRequest

Limitations

  • TODO