- Android Studio
- MVN command line
-
Create an Emulator in the Android Studio with the help of AVD Manager
-
Open the Terminal and Hit below command
cd ~/Library/Android/sdk/emulator
-
Copy the Name of the your last created emulator [This will help in creating the shell file]
-
Switch to the shell file folder in side our project using terminal
cd {location of the QA Android AppLaunch Check Automation project/ShellFiles}
-
Using textEdit/Notepad enter below command
cd ~/Library/Android/sdk/emulator ./emulator -avd NameofYourEmulator
-
Same
NameofYourEmulator
will your file with.sh
extension
- Copy any file from the
/src/test/java/com/sportsGuru
which is the testcase pacakge - Enter the desired Name of the TestCase or follow the convention
TestCase_NameofYourEmulator
- Follow the nameing convetion from the below image
=======
- Android Studio
- MVN command line
-
Create an Emulator in the Android Studio with the helo of AVD Manager
-
Open the Terminal and Hit below command
cd ~/Library/Android/sdk/emulator
-
Copy the Name of the your last created emulator [This will help in creating the shell file]
-
Switch to the shell file folder in side our project using terminal
cd {location of the QA Android AppLaunch Check Automation project/ShellFiles}
-
Using textEdit/Notepad enter below command
cd ~/Library/Android/sdk/emulator ./emulator -avd NameofYourEmulator
-
Same
NameofYourEmulator
will your file with.sh
extension
- Copy any file from the
/src/test/java/com/sportsGuru
which is the testcase pacakge - Enter the desired Name of the TestCase or follow the convention
TestCase_NameofYourEmulator
- Follow the nameing convetion from the below image
<test name="TestCase_EmulatorNameYouHaveJustCreated">
<classes>
<class name="com.sportsGuru.**TestCase_NameofYourEmulator**"/>
</classes>
</test>
<<<<<<< HEAD
adbPath =/Users/{/AndroidSdk}/platform-tools/adb
appPackage=com.dream11sportsguru <<==={Your .apk Package Name}
appActivity=com.dream11sportsguru.MainActivity <<==={Your .apk activity Name}
folderPathWhereApplicationJunkFileWillBeStored={Any Location of your choice we have created inside the project folder}/window_dump.xml