新手学appium-如何支持中文输入

desired_caps = {}
        desired_caps['platformName'] = 'Android'
        desired_caps['platformVersion'] = '4.3'
        desired_caps['deviceName'] = '192.168.56.101:5555'
        '''desired_caps['app'] = PATH(
            '../../../sample-code/apps/ContactManager/ContactManager.apk'
        )'''
        desired_caps['appPackage'] = 'com.jiudao.ccare'
        desired_caps['appActivity'] = '.StartActivity'
        #支持中文输入要添加的代码~
        desired_caps["unicodeKeyboard"] = "True"
        desired_caps["resetKeyboard"] = "True"

 

posted @ 2015-05-08 15:32  Mr.Dantes  阅读(1346)  评论(0编辑  收藏  举报