How to use Rest Assured Framework in aiTest
How to use Rest Assured Automation Framework in aiTest.
Knowledge Base for aiTest
Appium is an open-source automation mobile testing tool, which is used to test the application. It is developed and supported by Sauce Labs to automate native and hybrid mobile apps. It is a cross-platform mobile automation tool, which means that it allows the same test to be run on multiple platforms. Multiple devices can be easily tested by Appium in parallel.Appium is used for automated testing of native, hybrid, and web applications. It supports automation test on the simulators (iOS) and emulators (Android) as well as physical devices (Android and iOS both). Previously, this tool mainly focused on IOS and Android applications that were limited to mobile application testing only. Few updates back, Appium declared that it would now support desktop application testing for windows as well. On Android, Appium proxies the command to a UIAutomator script running on the device. UIAutomator is a native UI automation framework of Android that allows you to run Junit test cases directly into the device using command line. Although it uses Java programming language, but Appium allows to run it from any WebDriver supported language.
JAVA_HOME
as an environment variable
SDK and go to Local-Android-sdk and set below variables into PATH environment variablesANDROID_HOME
as an environment variable - pointing to the directory where Android SDK should be setupPlatform_Tool
as an environment variableBuild_Tool
as an environment variableTool
as an environment variablehttps://github.com/appium/appium-desktop
Start Appium server on default porthttps://developer.android.com/studio
Create New Device and Launch Android Emulator in Android Studiohttps://github.com/appium/appium-inspector
https://developer.android.com/studio
appium driver install uiautomator2
git clone https://github.com/applied-ai-consulting/aiTest-Appium-Framework.git
adb devices
mvn clean install -target=local -DdeviceName=<emulator_name> -DdeviceVersion=<emulator_version>
from command line.mvn install
command from eclipse