AndroidContact.py
import os import unittest from appium import webdriver from time import sleep import sys,time,re,datetime import HTMLTestRunner # Returns abs path relative to this file and not cwd PATH = lambda p: os.path.abspath( os.path.join(os.path.dirname(__file__), p) ) class ContactsAndroidTests(unittest.TestCase): def setUp(self): desired_caps = {} desired_caps['platformName'] = 'Android' desired_caps['platformVersion'] = '4.4.2' desired_caps['deviceName'] = 'emulator-5554' desired_caps['app'] = PATH('C:/Users/Administrator.GX66EM1QYVIYEBP/Desktop/ContactManager.apk') desired_caps['appPackage'] = 'com