Project Description
"TestApp" is a Mobile Flutter app designed to test the capacity of a Quality Assurance Engineer
- Java
- Git
- Github
- Maven
- Appium
- UIAutomator2
To get a local copy of the program running, follow these simple steps
- IDE, preferably Intellij but Eclipse should be fine too
- Java
- Android Studio
- Appium
- UIAutomator2
- Open a command line terminal (Git bash preferrably) and navigate to a directory where you would like to save the work folder using cd.
- Clone the repository with git clone https://github.com/wale-prog/TestApp-Credpal.git
- To get the current working tree, git fetch --all, then checkout to "dev" branch.
- You will need appium to be able to run these scripts and since it is build in JS, you will need to first install Node. Checkout this article for guidance.
- Next is to install appium using the Command Line Interface
npm install -g appium
this article can be helpful - Install UIAutomator2 driver using the Command Line Interface by running the following
appium driver install uiautomator2
this article can be helpful - Download and install Appium server GUI from here select appropriate version for your OS. This will start appium server.
- Start Appium server by opening the Appium server GUI and click on startServer.
- Finally, open the project in your preferred IDE and wait for maven to download all project dependencies
- navigate to the root directory and locate
TestApp.xml
file. Open, right-click anywhere within the file and selectRun
- navigate to the root directory and locate
- After the execution of the test, there will be two files generated.
- Report: it will be located at Reports/ It is an HTML file that contains the status of each test case run with screenshots of failed test cases.
- Logs: It will be located at src/test/java/utils/logs. It is a .log file that can be very useful to understand why there is an error and can proof invaluable in understanding how to fix errors.
👤 Olawale Olapetan
- GitHub: @wale-prog
- Twitter: @Wale_Petan
- LinkedIn: @walepetan
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
- Shout out to CredPal for the opportunity
This project is MIT licensed.