AppiumLibrary库打开关闭应用


AppiumLibrary库打开关闭应用


  • Open Application
  • Close Application

实例

*** Settings ***
Library    AppiumLibrary    

*** Test Cases ***
case01
    log    case01
    Open Application    http://127.0.0.1:4723/wd/hub   platformName=Android  
    ...  platformVersion=9.0   udid=emulator-5554   deviceName=Pixel 2 API 28  
    ...  appPackage=com.android.calculator2   appActivity=com.android.calculator2.Calculator

    Sleep    3    
    Close Application