Robot Framework library for MobileWright mobile testing framework
Project description
Robotframework-MobileWright
Robot Framework library for MobileWright — mobile test automation for iOS and Android.
Wraps the mobilecli HTTP JSON-RPC server so you can drive iOS / Android devices from .robot files.
Compatibility
| Version | |
|---|---|
| Mobilewright (RF lib) | 0.1.0 |
mobilecli server |
>= v0.3.69 |
| Python | >= 3.9 |
| Robot Framework | >= 6.0 |
The library follows its own SemVer cycle, independent of the upstream mobilecli version. Each release is tested against the version above.
Setup
You need a running mobilecli server (it talks to the device via ADB or iOS instruments):
npm install -g mobilecli
mobilecli server start --listen localhost:12000 --cors -d
Install
pip install robotframework-mobilewright
Quick start
*** Settings ***
Library Mobilewright server_url=ws://localhost:12000/ws
Suite Setup Connect To Device
Suite Teardown Close All Connections
*** Test Cases ***
Login
Launch App com.example.myapp
Fill Element testid=username admin@test.com
Fill Element testid=password secret
Tap Element label=Submit
Wait Until Element Is Visible text=Welcome timeout=10s
Locator syntax
| Strategy | Example |
|---|---|
label= |
label=Submit |
testid= |
testid=login-btn |
text= |
text=Hello World |
type= |
type=UIButton |
role= |
role=button |
placeholder= |
placeholder=Search |
Chain with >>: type=ListView >> text=Item 1
Index selector: index=first (default) / index=last / index=N
Docs
Full keyword reference: docs/Mobilewright.html
Generate locally:
python -m robot.libdoc Mobilewright docs/Mobilewright.html
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_mobilewright-0.1.0.tar.gz.
File metadata
- Download URL: robotframework_mobilewright-0.1.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53012036812342787f9e2082de000210c04363e96c210d1d65efb8b0b5eb5152
|
|
| MD5 |
b2282cc12e200b0a9bdf0fa355e0cef4
|
|
| BLAKE2b-256 |
03d41361b8dda692672afc71c8b58d5515f15abcfa793123927d46c752fa91fc
|
Provenance
The following attestation bundles were made for robotframework_mobilewright-0.1.0.tar.gz:
Publisher:
publish.yml on MarketSquare/robotframework-mobilewright
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotframework_mobilewright-0.1.0.tar.gz -
Subject digest:
53012036812342787f9e2082de000210c04363e96c210d1d65efb8b0b5eb5152 - Sigstore transparency entry: 1443759149
- Sigstore integration time:
-
Permalink:
MarketSquare/robotframework-mobilewright@6424430ef6ebc673cade681530bcdab2d930609f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MarketSquare
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6424430ef6ebc673cade681530bcdab2d930609f -
Trigger Event:
push
-
Statement type:
File details
Details for the file robotframework_mobilewright-0.1.0-py3-none-any.whl.
File metadata
- Download URL: robotframework_mobilewright-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e6d0c294efc98f06b2c80456c602896d2ceb114727acd3ed5e3ea26592929a8
|
|
| MD5 |
48a62da7a065cfccd5dbb7e5da32f086
|
|
| BLAKE2b-256 |
3d7ea2b3719c71a289061d3ca02df500761c386aefb84ec7a00147006725f9d0
|
Provenance
The following attestation bundles were made for robotframework_mobilewright-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on MarketSquare/robotframework-mobilewright
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robotframework_mobilewright-0.1.0-py3-none-any.whl -
Subject digest:
3e6d0c294efc98f06b2c80456c602896d2ceb114727acd3ed5e3ea26592929a8 - Sigstore transparency entry: 1443759682
- Sigstore integration time:
-
Permalink:
MarketSquare/robotframework-mobilewright@6424430ef6ebc673cade681530bcdab2d930609f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MarketSquare
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6424430ef6ebc673cade681530bcdab2d930609f -
Trigger Event:
push
-
Statement type: