This is a template for make Mobile tests using the Appium, and Robot Framework creating a tests suite.
MIT License
This is a template for make mobile tests using Robot Framework creating tests suite.
npm install appium -g
npm install appium-doctor -g
appium-doctor --ios
appium-doctor --android
pip install robotframework
or
pip3 install robotframework
pip install --upgrade robotframework-appiumlibrary
or
pip3 install --upgrade robotframework-appiumlibrary
cp env.example.robot env.robot
instruments -s
Ps.: The build to run tests in iPhone Emulator is different from the used in the device.
yarn start
robot -d ./logs tests
robot -d ./logs tests/feature_name
robot -d ./logs tests/feature_name/suite.robot
-d ./logs
for organize log files.Below is a list of the files by directory.
Directory | Files in folder |
---|---|
app |
ios or android File to run your tests (apk, ipa or app). |
config |
env.robot All files used to configure your Robot tests such as desired capabilities. |
logs |
log.html Test reports in html, and screenshots. |
src/components |
components.robot All components of the application used in tests. |
src/libs |
lib_name.py All Python files used to provide support in tests. |
src/pages |
page_name.robot All pages of the application using Page Object Pattern. |
src/tests |
base.robot Import of the files used in tests and base of the execution test cases. |
src/tests/<feature-name> |
suite_tests_name.robot Execution test cases. |
Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.
git checkout -b feature/amazing-feature
)git add .
)git commit -m 'feat(package-filename>): Inserting a Amazing Feature !
)git push origin feature/amazing-feature
)Distributed under the MIT license. See LICENSE
for more information.
Yury Alencar - Github - [email protected]