Write Selenium and Appium tests in Python using the Page Object pattern. This Pythonic GUI and API test automation framework will help you get started with QA automation quickly. It comes with many useful integrations like - email, BrowserStack, Slack, TestRail, etc. This repository is developed and maintained by Qxf2 Services.
The PR consists of:
1) Weather shopper Mock Payment screen field validations tests: tests/test_weather_shopper_payment_app.py
2) added code in core_helpers/mobile_app_helper.py - to get the source code of the page.
3) added code in core_helpers/selenium_action_objects.py - to hide the keyboard.
4) .circleci/config.yml - added lines to install tesseract.
5) In conf/locators_conf.py - # mock payment screen field names defined as a list.
used this list to navigate the cursor on the field.
6) in conf/weather_shopper_mobile_conf.py added test data.
7) In page_objects/examples/weather_shopper_mobile_app/weather_shopper_payment_page.py added three new methods 1) image_to_string() - extract text from image
find_string() - to search substring from the text
preprocess_image() - to enhance the image quality.
The PR consists of: 1) Weather shopper Mock Payment screen field validations tests: tests/test_weather_shopper_payment_app.py
2) added code in core_helpers/mobile_app_helper.py - to get the source code of the page.
3) added code in core_helpers/selenium_action_objects.py - to hide the keyboard.
4) .circleci/config.yml - added lines to install tesseract.
5) In conf/locators_conf.py - # mock payment screen field names defined as a list.
used this list to navigate the cursor on the field.
6) in conf/weather_shopper_mobile_conf.py added test data.
8) In requirements.txt - pytesseract package
To run the test
python3 -m pytest -s tests/test_weather_shopper_payment_app.py --app_name weather_shopper.apk --app_path /usr/local/android-studio/bin --app_package com.qxf2.weathershopper --remote_flag y