mirror of
https://github.com/appium/appium.git
synced 2026-01-13 05:40:01 -06:00
* fix: fix urls in docs (#14910) * docs: Update generated docs [ci skip] (#14913) Co-authored-by: runner <runner@Mac-1606273407156.local> * feat: Add Mac2Driver (#14911) * docs: Add Mac2Driver documentation (#14914) * chore: add scripts for doing releases (#14918) * docs: Update push-file.yml (#14920) * chore: fix a link in appium.io (#14929) * fix links * fix * docs: Update generated docs [ci skip] (#14930) Co-authored-by: runner <runner@Mac-1607067954655.local> * docs: removed deprecated method (#14934) assert.equal was deprecated — since v9.9.0 - use strictEqual() instead. * docs: add links to mac2 driver in caps and settings (#14942) * cods: add links to mac2 driver in caps and settings * tweak naming * chore: remove authorize-ios from package (#14946) * chore: add 1.19.1 in changelog (#14947) * feat: add --keep-alive-timeout CLI arg to adjust server keepalive and connection timeout * rename release-candidate.sh to release * chore: Switch to GitHub CI (#14978) * docs: changelog for Appium v1.20 (#14985) * docs: swap out hamcrest.org reference * docs: fix example comment (#14995) changed the app name in a comment for the notepad example from AlarmClock to Notepad * docs: update README with english tutorial version to learn Appium with Python (#14999) * update README * Update README.md * remove duplicated lib/parser.js * install fakedriver Co-authored-by: Appium Triager <maintainers@appium.io> Co-authored-by: runner <runner@Mac-1606273407156.local> Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com> Co-authored-by: Dan Graham <dpgraham.85@gmail.com> Co-authored-by: Ilija Boshkov <ilija.boshkov@gmail.com> Co-authored-by: runner <runner@Mac-1607067954655.local> Co-authored-by: roman-olshevskiy <56480723+roman-olshevskiy@users.noreply.github.com> Co-authored-by: Jonathan Lipps <jlipps@gmail.com> Co-authored-by: BoldAsLove <john.wojner@gmail.com> Co-authored-by: Maria Clara dos Santos Bezerra <clarinhab@gmail.com>
Python Sample Code
Setup
pip install -r requirements.txt
Run tests
Run all tests
py.test test
To run them on Sauce Labs, make sure that you have the following environment variables set:
SAUCE_LABS
SAUCE_USERNAME
SAUCE_ACCESS_KEY
Run an arbitrary file
py.test test/test_ios_selectors.py
TestCase
unittest based
- test/test_android_create_session.py
- test/test_ios_create_session.py
pytest based
- Rest of the above
Tutorial
Portuguese 🇧🇷
The brazilian testing community has a complete and free tutorial teaching from 0 to advanced how to use Appium with Python to do software automation.
If you can read Portuguese from Brazil, see the tutorial below:
Automação de teste de software com Appium e Python - Por Maria Clara Bezerra (Github)
English 🇺🇸
Here is the translated version from portugues to english of the free tutorial from 0 to advanced of using Appium with Python for software automation.
Software automation with Appium and Python - By Maria Clara Bezerra (Github)